eStreamStop [LJM User's Guide]
Stops the device from collecting data in stream mode and stops LJM from storing any more data from the device.
Syntax
LJM_ERROR_RETURN LJM_eStreamStop(int Handle)
Parameters
Handle [in]
A device handle. The handle is a connection ID for an active device. Generate a handle with LJM_Open or LJM_OpenS.
Returns
LJM errorcodes or 0
for no error.
Having trouble with stream? See our troubleshooting guide.
Remarks
This function writes to the following registers:
STREAM_ENABLE
Use LJM_eStreamStop
when the data streaming session is completed, or to temporarily pause new data from being stored. To begin streaming again, use LJM_eStreamStart.
When LJM_eStreamStop
is called, LJM will maintain any previously collected data in the buffer to be read. Starting a new stream will clear the buffer from the old stream.
Example
See the LJM_eStreamStart page for an example using LJM_eStreamStop
.