SampleOnce('Expression','Sample')
Arguments
|
'Expression' |
Signal or expression |
|
'Sample' |
Digital signal whose rising edges determine the sampling points |
Description
This function resamples an 'Expression' input signal at individual points determined by the rising edges of the 'Sample' digital signal. The result has one measuring point per rising edge and is invalid in the ranges in between.
Example
This function can be used to display a phase sensor signal (key phasor) in the time domain. Whenever the phase sensor jumps to TRUE, the original signal is sampled. By overlaying both representations, the times of the phase sensor are suitably represented. In the example below, a 180° phase shift can be detected when passing a resonance.
The following illustration shows the SampleOnce function applied to a vibration signal.
