Define an Alternate Startup Configuration File

If a Multi-Monitor setup is used for a number of different purposes, you can support each scenario with its own Startup Configuration File.

This is possible as the ViewX client supports the following command line argument:

Startup:<name.xml>

Where <name.xml> is the path and file name for a unique Startup Configuration File,

When you apply the command line to the target of a shortcut, you can use the shortcut to launch the ViewX client based on the specific settings defined in the associated Startup Configuration File.

Example:

The following command line is applied as the target of a desktop shortcut that is used to launch ViewX on a Multi-Monitor Setup in a control room.

C:\Program Files (x86)\Schneider Electric\ClearSCADA\SE.Scada.ViewX.exe /Startup:c:\configs\ControlRoom1.xml

Observe that the "Startup" argument points to the XML file named "ControlRoom1.xml". This means the desktop shortcut will launch the ViewX client according to the settings defined in the Startup Configuration File named "ControlRoom1.xml".

If you wanted to use the same Multi-Monitor setup for training, you could create another Startup Configuration File called "ControlRoomTraining.xml" (with appropriate limitations applied).

You could then create an alternate desktop shortcut that uses the following command line as its target:

C:\Program Files (x86)\Schneider Electric\ClearSCADA\SE.Scada.ViewX.exe /Startup:c:\configs\ControlRoomTraining.xml

To create a shortcut that defines an alternate Startup Configuration File:

  1. Using Windows Explorer, browse to:

    "C:\Program Files\Schneider Electric\ClearSCADA"

  2. Locate the SE.Scada.ViewX.exe file and right-click on it to display a context-sensitive menu.
  3. Select the Create Shortcut option to create a shortcut to ViewX. The shortcut item is added to the list of files in the ClearSCADA folder.
  4. Right-click on the shortcut item and select the Properties option from the context-sensitive menu.
    The Shortcut Properties dialog box is displayed.
  5. Modify the Target field by adding the following string to the link:

    /Startup:<name.xml>

    Where <name.xml> is the path and name of the Startup Configuration File you would like to use when ViewX is launched. Do not enter the angle brackets <>.

    For example, the target should be similar to:

    C:\Program Files (x86)\Schneider Electric\ClearSCADA\SE.Scada.ViewX.exe /Startup:c:\configs\ControlRoom1.xml

  6. Select the OK button to confirm the target and close the dialog box.
  7. In Windows Explorer, double click on the shortcut and verify that ViewX runs as expected.

Disclaimer

ClearSCADA 2017 R2