WriteLibraryConfigS [LJM User's Guide]
Write a numerical LJM behavioral configuration value.
Syntax
LJM_ERROR_RETURN LJM_WriteLibraryConfigS(
const char * Parameter,
double Value)
Parameters
Parameter [in]
The name of the configuration setting, see configuration parameters page. Not case-sensitive. Must null-terminate. For the full list of possible parameters, see Configuration Parameters.
Value [in]
The config value to apply to Parameter
.
Returns
LJM errorcodes or 0
for no error.
Remarks
To write a string-based configuration parameter, see LJM_WriteLibraryConfigStringS.
To load all the configuration values in a specified file, see LJM_LoadConfigurationFile.
Example
Set LJM_SEND_RECEIVE_TIMEOUT_MS to 500 milliseconds
int LJMError = LJM_WriteLibraryConfigS(LJM_SEND_RECEIVE_TIMEOUT_MS, 500);