Documentation Home Page ◇ RT-LAB Home Page
Pour la documentation en FRANÇAIS, utilisez l'outil de traduction de votre navigateur Chrome, Edge ou Safari. Voir un exemple.
Installing/Uninstalling RT-LAB on an OPAL-RT Simulator
Page Content
This section describes the installation of RT-LAB target components on an OPAL-RT simulator running with the OPAL-RTLinux (x64-based) real-time operating systems.
It is primordial that the RT-LAB version currently in use on the Windows host PC is also installed on each target system intended to be used for simulation. To deploy the RT-LAB version on the target system, the following scenarios are possible:
An RT-LAB version is already installed on target systems, which is usually the case. For this situation, the installation process is simplified since it can be performed from the RT-LAB GUI.
No RT-LAB version is already installed on target systems, which typically is the case after the OS has been freshly installed. In this situation, a terminal access or SSH connection to the target system will be required.
Typically, OPAL-RT simulators already have an RT-LAB installed version, which simplifies the installation. This section only applies to users that want to install a new version of RT-LAB.
A license is needed to execute simulations on a target. For more information, read Activating a License on the Target Node.
Installing RT-LAB
Installing from the RT-LAB GUI
When an installation on the target is needed, RT-LAB will often prompt you to install the new version of the software on the target.
Simply accept to upgrade the target node automatically.
Otherwise, it is also possible to perform the target installation on demand:
Open RT-LAB.
Right-click on the target you want to install RT-LAB.
Select Install/RT-LAB from the popup menu.
Installing from the Network on an OPAL-RTLinux (x64-based) Target Node
To install without going through the RT-LAB GUI, which is required when a target does not already have a version of RT-LAB installed, perform the following
Open a Windows Explorer and go to the directory:
C:\OPAL-RT\RT-LAB\vX.X.X.X\target\rt_linux64
Type
cmd
in the path field and press Enter to open a Windows command line interface in the current directoryTransfer the RPM file to the target using the following command, where
[version_name]
and[target_ip_address]
are respectively substituted for the RT-LAB version and target IP address:scp -r rtlab-rt_linux64-[version_name].rpm root@[target_ip_address]:/home/root
Enter the root password when promptedNow establish an SSH connection to the target computer with the following command, where
[target_ip_address]
is substituted for the target IP address:ssh root@[target_ip_address]
If prompted for authenticity acceptation, answer yes. Also enter the root password when prompted.On the SSH prompt, type the following command to install RT-LAB, where
[version_name]
is substituted for the RT-LAB version:rpm -ivh --force /home/root/rtlab-rt_linux64-[version_name].rpm
Close the SSH connection with:
exit
Uninstalling RT-LAB
Uninstalling from the RT-LAB GUI
To uninstall from the RT-LAB GUI:
Open RT-LAB.
Double-click the target to open the Target Editor.
Open the Software Page.
Select the version to uninstall.
Click Uninstall.
Uninstalling from the Network on an OPAL-RTLinux (x64-based) Target Node
To manually uninstall:
Open a Windows command line (i.e., Start>Run> cmd)
Now establish an SSH connection to the target computer with the following command, where
[target_ip_address]
is substituted for the target IP address:ssh root@[target_ip_address]
If prompted for authenticity acceptation, answer yes. Also enter the root password when prompted.On the SSH prompt, type the following command to uninstall RT-LAB, where
[version_name]
is substituted for the RT-LAB version:rpm -e rtlab-rt_linux64-[version_name]
Please note that you can list the installed RT-LAB versions by typing the following command:
# rpm -qa | grep rtlab
OPAL-RT TECHNOLOGIES, Inc. | 1751, rue Richardson, bureau 1060 | Montréal, Québec Canada H3K 1G6 | opal-rt.com | +1 514-935-2323
Follow OPAL-RT: LinkedIn | Facebook | YouTube | X/Twitter