Run the RTU (Remote Terminal Unit) Player
- Last UpdatedJul 05, 2024
- 2 minute read
Run the RTU (Remote Terminal Unit) Player (RTUPlayer.exe) from a command line.
Note: The Synergi Pipeline Simulator (SPS) simulation software needs to be running before
the RTU Player can be started. If the SPS simulation software is not running when
the RTU Player is started, SPS will print an error message to the console. The error
reported by SPS will read:
OpenFileMapping() failed, id {id information}, err 2
Error: Syntax problem.
Unable to map shared memory segment.
To run the RTU Player from a command line
-
Open a Windows Command Prompt.
-
Execute the following command to change the directory to the location of the installed RTUPlayer.exe:
cd %DNAInstallRoot%\Tools\bin
-
Execute the following command to launch the RTU Player:
-
To launch the RTU Player by specifying the RTU Composer-generated configuration file, enter the following, and press Enter:
-
RTUPlayer.exe -config <the simulation configuration filename>
Note: The simulation configuration files must be located in the %DNADataRoot%\Tools\config\VirtualRTU folder. If the command line -config parameter is not used, the simulation configuration file for the RTU Player will look for a simconfig.xml file in the %DNAInstallRoot%\Tools\config\VirtualRTU configuration folder.
-
-
To launch the RTU Player by specifying the port to run the Web Application Program Interface (API) under, enter the following, and press Enter:
-
RTUPlayer.exe -port <the port number to use>
Note: If the command line -port parameter is not used, the default port number specified in the RTUPlayer.json file is used.
-
-
To launch the RTU Player by specifying the model name and number, enter one of the following, and press Enter:
-
RTUPlayer.exe -modelname <the name of the model> -modelpath <the folder path to the model>
-
RTUPlayer.exe -modelname <the name of the model>
-
RTUPlayer.exe -modelpath <the folder path to the model>
Note: If the -modelname or -modelpath parameters are not specified, the default model settings from the RTUPlayer.json file are used.
-
-
-
Optional: Execute the following command to display the help information for the RTU Player application:
RTUPlayer.exe -h