Sets the path of the configuration file.
Gx6188SetConfigurationFile (szPath, pnStatus)
Name |
Type |
Comments |
szPath |
PSTR |
Buffer to contain the returned file location (null terminated) string. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The board does not need to be initialized to use this function. The configuration file is used during initialization to retrieve simulation information and during normal operation to save and retrieve exclusions. This function must be called prior to calling Gx6188Initialize or Gx6188InitializeVisa.
The following code selects a new file location for the configuration information:
SHORT nStatus;
Gx6188SetConfigurationFile(“C:\\MyProject\\GxSw.ini”, &nStatus);
Gx6188Initialize, Gx6188InitializeVisa, Gx6188GetConfigurationFile, GxSWGetErrorString