Delay Class

(Automation::Delay)

A signal delay operator. More...

Header: #include <Delay>
Inherits: ArgumentableOperator<T>

Public Functions

Delay(const CDPPropertyBase &in)

Reimplemented Public Functions

virtual void Configure(XMLPrimitive *operatorXML) override
virtual std::string GetNodeTypeName() const override
virtual unsigned int Process() override

Additional Inherited Members

Detailed Description

A signal delay operator.

This CDP operator can be used to buffer and delay signal output value by a configurable amount of time.

F.e. Delay with DelayTime=0.005 can be used to delay signal by 5 milliseconds.

Arguments

Argument nameDescription
DelayTimeTime in seconds to buffer and delay the input signal before sending it to output NB! If DelayTime is negative the operator will not calculate output and will return STATUS_SIGNAL_FAULT instead.

DelayTime argument can be routed from another signal, parameter or property.

Example

Below is an example plot with Sine signal (cyan) and the same signal with Delay operator applied (orange):

See also Argument.

Member Function Documentation

Delay::Delay(const CDPPropertyBase &in)

Constructs a Delay with input in.

[override virtual] void Delay::Configure(XMLPrimitive *operatorXML)

Reimplemented from CDPBaseObject::Configure().

[override virtual] std::string Delay::GetNodeTypeName() const

Reimplemented from CDPNode::GetNodeTypeName().

[override virtual] unsigned int Delay::Process()

Reimplemented from CDPOperatorBase::Process().

Returns STATUS_OK.