EXE Config

From OKOS Wiki
Jump to navigation Jump to search

See Also: Sample ODIS.exe.config File

The .exe.config file is an XML file created along with the ODIS application. The features referenced in the file are usually set once on installation and left in place. However, as the features may require modification, a user can edit some of the features as needed.

The file will have the same name as the ODIS program, e.g. if your are running ODIS-IC, there will be an "ODIS-3.exe" and an "ODIS-3.exe.config" file in the application directory.

Sections

The file has several subsections, only the appSettings section can be altered by the user.

appSettings

AppSettings, i.e. Application Settings, is used for configuration information and to identify the Token File to be used to activate the program. The settings are configured as key/value pairs.

the available keys are as follows:

Pulser Settings

PRType
This defines the type of digital Pulser/Receiver in the system.
PRIPAddress
This defines the IP Address for the DPR, if any.
PRIOHW
This defines the hardware interface if the DPR uses an I/O device.
PRPort
This defines the serial port used to communicate with the DPR, if any.

Server Settings

ServerIP
This defines the IP address used when ODIS is configured as a server.
ServerPort
This defines the port used by ODIS when configured as a server.
ServerID
A User-defined string identifying this instance of ODIS. Can be used to distinguish between ODIS servers if more than one system is present.
BroadcastIP
The IP Address used by the ODIS server to broadcast messages.

FocusPX Settings

For software that uses the Olympus FocusPX, the following properties will be present:

FocusPxIP
This is the IP Address on which to find FocusPX Devices.
FocusPXMaster
This defines the serial number of the Master FocusPX device if more than one are present.
FocusPX_Primary_Encoder_Type
The type of encoder input for the Primary encoder.
FocusPX_Secondary_Encoder_Type
The type of encoder input for the Secondary encoder.
Package
the firmware package to be loaded into the FocusPX.
Primary_Encoder_Motor_Axis
Which motor axis position is used for the Primary encoder.
Secondary_Encoder_Motor_Axis
Which motor axis position is used for the Secondary encoder.
Primary_Encoder_Divisor
divisor for the encoder value output, if different than the encoder resolution in Motors.xml

Other Settings

RestoreParameters
factory use only
TokenFile
The name of the token file used to activate ODIS. The name must match the Token file name exactly.