Using CitectSCADA > Compiling and Running a Project > Running the System > Using an Alternative INI File

Using an Alternative INI File

When CitectSCADA starts up, it reads default values from citect.ini. From v7.10, CitectSCADA expects the Citect.ini file to exist in the config folder in the User and Data directory selected during installation. If the file is not found in this location, it will not search elsewhere and will instead display an error.

If you need to store your INI file elsewhere, specify the path to it on the command line when starting citect32.exe and ctexplor.exe. If you are running multiple projects, you can specify an alternative ini file for each project. The new ini file name needs to be passed to the CitectSCADA system applications; i.e., to CtExlplor.exe and Citect32.exe as a command line argument.

To specify an alternative INI file for CitectSCADA :

  1. Click the icon that you use to start Citect Explorer or Runtime.
  2. Right-click to display the shortcut menu and select Properties.
  3. Click the Shortcut tab.
  4. Add the name of the INI file to the command line property of the appropriate icon using the -i option. For example, to start CitectSCADA v 7.20 using the initialization file my.ini, enter the following line:
				C:\Program files\Citect\CitectSCADA 7.20\bin\citect32.exe -ic:\citect\user\myproj\MY.INI

Note: The Computer Setup Wizard uses the same .ini as specified for Citect Explorer. You can specify different .ini files for both the Runtime and Explorer programs. However, if you initiate Runtime from the Explorer, it uses the ini that is specified for the Explorer.