Sets how LJM_eStreamRead will return data.
Below, ScansPerRead is a parameter of LJM_eStreamStart.
LJM_STREAM_SCANS_RETURN_ALL = 1 (default)
LJM_STREAM_SCANS_RETURN_ALL_OR_NONE = 2
The constant LJM_STREAM_SCANS_RETURN can be used interchangeably with the string "LJM_STREAM_SCANS_RETURN".
LJM_STREAM_SCANS_RETURN does not affect currently running or already initialized streams.
To read LJM_STREAM_SCANS_RETURN, use LJM_ReadLibraryConfigS.
To write LJM_STREAM_SCANS_RETURN, use LJM_WriteLibraryConfigS or LJM_LoadConfigurationFile.
LJM_STREAM_SCANS_RETURN affects the behavior of LJM_eStreamRead.
[C/C++] Set the LJM_STREAM_SCANS_RETURN mode to LJM_STREAM_SCANS_RETURN_ALL_OR_NONE.
char ErrorString[LJM_MAX_NAME_SIZE]; int LJMError = 0; LJMError = LJM_WriteLibraryConfigS( LJM_STREAM_SCANS_RETURN, LJM_STREAM_SCANS_RETURN_ALL_OR_NONE ); if (LJMError != 0) { LJM_ErrorToString(LJMError, ErrorString); printf("LJM_WriteLibraryConfigS error: %s\n", ErrorString); }
For more LJM configurations, see Library Configuration Functions.