LJM_STREAM_RECEIVE_TIMEOUT_MODE
Sets how stream data collection should time out.
LJM_STREAM_RECEIVE_TIMEOUT_MODE_CALCULATED = 1
LJM calculates how long the stream timeout should be, according to the scan rate reported by the device.
LJM_STREAM_RECEIVE_TIMEOUT_MODE_MANUAL = 2
LJM will use the value of LJM_STREAM_RECEIVE_TIMEOUT_MS as the stream timeout.
The constant LJM_STREAM_RECEIVE_TIMEOUT_MODE
can be used interchangeably with the string "LJM_STREAM_RECEIVE_TIMEOUT_MODE"
.
Default
The default mode is 1.
Remarks
LJM_STREAM_RECEIVE_TIMEOUT_MODE
does not affect currently running or already initialized streams.
Relevant Functions
To read LJM_STREAM_RECEIVE_TIMEOUT_MODE
, use LJM_ReadLibraryConfigS.
To write LJM_STREAM_RECEIVE_TIMEOUT_MODE
, use LJM_WriteLibraryConfigS orLJM_LoadConfigurationFile.
LJM_STREAM_RECEIVE_TIMEOUT_MODE
affects the behavior of LJM_eStreamRead.
For more LJM configurations, see Library Configuration Functions.