Gx6188SetConfigurationFile

Purpose

Sets the path of the configuration file.

Syntax

Gx6188SetConfigurationFile (szPath, pnStatus)

Parameters

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.

Comments

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.

Example

The following code selects a new file location for the configuration information:

 

SHORT nStatus;

 

Gx6188SetConfigurationFile(“C:\\MyProject\\GxSw.ini”, &nStatus);

 

See Also

Gx6188Initialize, Gx6188InitializeVisa, Gx6188GetConfigurationFile, GxSWGetErrorString