How to Launch Relay Timer R8X from Command Line?

Relay Timer R8X is programmable timer software to control relay manually and automatically. It works with 8-channel relay controller boards of National Control Devices.

MainGUI

image

To control your relay with Relay Timer R8X, you need connect your relay board with your computer and Set Configuration in Relay Timer R8X to make sure the connection is available. You need to select the type of your relay board and the connection way.

Relay Timer R8X can be launched from command line with a specified configuration.

Format:

"Path to RelayTimer.exe" -c "Path to *.cfg"

"Path to RelayTimer.exe" -s "Path to *.sch"

Note:

The parameter "-c" is to launch Relay Timer R8X with the specified configuration file (*.cfg). Both the contents in Configuration dialog and Relay Setting dialog will be loaded. If the *.cfg file does not exist, it will be created in the specified path automatically. After editing the Configuration dialog and Setting dialog, the information will be saved to the created *.cfg file. When the command is run next time, all information will be loaded.

The parameter ”-s” is to launch Relay Timer R8X with the schedule setting file (*.sch). The content of Relay Setting dialog will be loaded. All information will be saved in the default configuration file. When Relay Timer R8X is launched by Icon on desktop or start menu, it loads the default configuration file. When you run this command, you need make sure the current default configuration file is same as when the *.sch file was saved.

Example I:

Click Windows Start -> Run cmd.exe to open command line window.

Type the command with parameters.

Relay Timer R8X - Command Line

Press ‘Enter’ key to launch Relay Timer R8X with the specified configuration file.

Example II:

Create shortcut for RelayTimer.exe in the installation folder.

Relay Timer R8X - Create Shortcut

Open ‘Properties’ of the shortcut.

Relay Timer R8X - Shortcut - Properties

Add the arguments shown as below.

Relay Timer R8X - Shortcut - Properties

Double click the shortcut to launch Relay Timer R8X with the specified configuration file.

Back to Relay Timer R8X homepage