2.10.9 - WriteLibraryConfigStringS | LabJack
« Close

Datasheets and User Guides

App Notes

Software & Driver


2.10.9 - WriteLibraryConfigStringS

Write a string-based LJM behavioral configuration value.


LJM_ERROR_RETURN LJM_WriteLibraryConfigStringS(
                      const char * Parameter,
                      const char * String)


Parameter [in]
The name of the configuration setting, see the configuration parameters page. Not case-sensitive. Must null-terminate. For the full list of possible parameters, see Configuration Parameters.
String [in]
The config value string to apply to Parameter. Must null-terminate. Must be of size LJM_MAX_NAME_SIZE or less, including the null-terminator.


LJM errorcodes or 0 for no error.


To write a numerical configuration parameter, see LJM_WriteLibraryConfigS.

To load all the configuration values in a specified file, see LJM_LoadConfigurationFile.


[C/C++] Set LJM_DEBUG_LOG_FILE to "new_log_file.log"

int LJMError = LJM_WriteLibraryConfigStringS(LJM_DEBUG_LOG_FILE, "new_log_file.log");