Skip to main content
Skip table of contents

LJM_AUTO_IPS_FILE

LJM_AUTO_IPS_FILE is an LJM configuration that describes the absolute or relative file path of the LJM auto IPs file.

To read, pass LJM_AUTO_IPS_FILE to LJM_ReadLibraryConfigStringS to get a string containing the file path.

To write, pass LJM_AUTO_IPS_FILE and string containing a file path to LJM_WriteLibraryConfigStringS, or use LJM_LoadConfigurationFile.

The constant LJM_AUTO_IPS_FILE can be used interchangeably with the string "LJM_AUTO_IPS_FILE".

Default Location

Windows Vista and later:

C:\ProgramData\LabJack\LJM\ljm_auto_ips.json

Windows XP:

C:\Documents and Settings\All Users\Application Data\LabJack\LJM\ljm_auto_ips.json

Mac OS X and Linux:

/usr/local/share/LabJack/LJM/ljm_auto_ips.json

Remarks

To set LJM_AUTO_IPS_FILE to the default location, set it to "default" or an empty string.

LJM will attempt to create the file specified by LJM_AUTO_IPS_FILE if it does not exist.

Example

Set the Auto IPs file to the default location

C
int error = LJM_WriteLibraryConfigStringS(LJM_AUTO_IPS_FILE, "default");

For more LJM configurations, see Library Configuration Functions.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.