LJM Stream Functions [LJM User's Guide]
To stream an unlimited number of scans from a device:
- Start a stream using LJM_eStreamStart
- In a loop, read from the device stream using LJM_eStreamRead
- Optionally, use LJM_SetStreamCallback instead of LJM_eStreamRead
- End the stream using LJM_eStreamStop
To stream a finite number of scans, use LJM_StreamBurst.
- LJM_StreamBurst is a convenience function that internally performs
LJM_eStreamStart
,LJM_eStreamRead
, andLJM_eStreamStop
.
To check the status of the operating system's TCP receive buffer, use LJM_GetStreamTCPReceiveBufferStatus.
To output a periodic waveform from the device, use LJM_PeriodicStreamOut.
To output an irregular waveform, use LJM_InitializeAperiodicStreamOut and LJM_WriteAperiodicStreamOut.