Continuous sweep mode (CSM)#
With CSM, the sensor timing is set up to generate a continuous stream of sweeps, even if more than one sweep per frame is used. The interval between the last sweep in one frame to the first sweep in the next frame becomes equal to the interval between sweeps within a frame (given by the sweep rate).
It ensures that:
While the frame rate parameter can be set to approximately satisfy this condition, using CSM is more precise.
If only one sweep per frame is used, CSM has no use since a continuous stream of sweeps is already given (if a fixed frame rate is used).
The main use for CSM is to allow reading out data at a slower rate than the sweep rate, while maintaining that sweep rate continuously.
Note that in most cases,
double_buffering must be enabled to allow high rates without delays.
Examples of where CSM is used are the Vibration measurement app and the Phase tracking app. In both cases, it is desirable to have a continuous stream of sweeps at a fixed rate with a configurable frame rate.
CSM is enabled through the sensor configuration parameter
frame_ratemust be set to unlimited (None).
sweep_ratemust be set (> 0).
inter_sweep_idle_statemust be set equal to