Period¶
-
double IProcessingBlock.Period { get; set; }¶
Gets or sets the period between each execution of the processing block.
- Value
double – Period in seconds.
- Throws
InvalidArgumentException
– Value passed is non-positive, infinite or NaN.UnsupportedException
– Period is not supported for built-in processing blocks.InvalidOperationException
– Top-controller state is not “Config”.CommunicationErrorException
– Protocol error.ConnectionLostException
– Connection to controller lost.RebootedException
– Controller has been rebooted since this object reference was retrieved, invalidating this reference.IncompatibleException
– Incompatible firmware version loaded.System.ObjectDisposedException
– Object is disposed.
- Remarks
The period is quantized using the sample period of the axiscontrol/controller on which the processing block is created. The resulting period in samples is rounded to the nearest integer multiple greater than or equal to the requested period. The period is used only when the execution type is Asynchronous.