SampleOnce('Expression','Sample')
Arguments
|
'Expression' |
Measured value |
|
'Sample' |
Parameter which determines when the function should follow the measured value 'Expression' for exactly one sample. 'Sample' can be a condition itself or be determined by a different function. |
Description
This function is a sample-once-function. The result of the function follows 'Expression' for the duration of one sample when a rising edge occurs on 'Sample'. For all other timestamps the result is NaN if 'Expression' is a numeric signal and an empty string if 'Expression' is a text signal.