« Close

Datasheets and User Guides

App Notes

Software & Driver

 

2.4.3 - eStreamStop

Stops LJM from storing any more data from the device. LJM will maintain any previously collected data in the buffer to be read. Stops the device from collecting data in stream mode.

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.

Example

See the LJM_eStreamStart page for an example using LJM_eStreamStop.