2007.03.20RT-LAB Electrical Applications 1 Opal-RT Technologies Use of the “Store Embedded” mode...
-
Upload
regina-lewis -
Category
Documents
-
view
216 -
download
0
Transcript of 2007.03.20RT-LAB Electrical Applications 1 Opal-RT Technologies Use of the “Store Embedded” mode...
2007.03.20RT-LAB Electrical Applications 1
Opal-RT TechnologiesOpal-RT Technologies
Use of the “Store Embedded” modeUse of the “Store Embedded” mode
Solution RT-LAB for PC-104Solution RT-LAB for PC-104
2007.03.20RT-LAB Electrical Applications 2
Resume
Introduction
Installing the target component of RT-LAB
Embedded system on QNX
Running procedure
Reset procedure
Removing the Embedded mode
2007.03.20RT-LAB Electrical Applications 3
Introduction
Embedded System mode An embedded system is where hardware and software combine to form a component of alarger machine. With RT-Lab, this mode allows the user to store the model onto a stand-alone system, such as one using the PC/104 format. Note: This function is only available for QNX and Neutrino platforms.
2007.03.20RT-LAB Electrical Applications 4
Installing the target component of RT-LAB Embedded system on QNX
Open a "My Computer" window and select the “C:\Opal-rt\RT-LAB8.x.x\target” directory
2007.03.20RT-LAB Electrical Applications 5
Installing the target component of RT-LAB Embedded system on QNX
Open another "My Computer" window. In the address field, enter ftp://user:[email protected]/ where user is a valid username for your QNX system (default is "ntuser"), pass is the corresponding password (default is "ntuser") and xxx.xxx.xxx.xxx is your compilation node’s IP address.
2007.03.20RT-LAB Electrical Applications 6
Installing the target component of RT-LAB Embedded system on QNX
1- Copy the RT-LAB installer script opinstall. Do this by dragging and dropping from one Window to the other.
2- Copy the RT-LAB archive file rt-lab_e.tgz (in C:\Opal-rt\RT-LAB8.x.x\target\qnx ).
3- Connect to the QNX node by telnet Start -> Run -> "telnet xxx.xxx.xxx.xxx" and login as user “root”
4- Execute the following commands to install the archive: # cd /# textto –l /home/ntuser/opinstall# chmod 775 /home/ntuser/opinstall# /home/ntuser/opinstall /home/ntuser/rt-lab_e.tgz# rm –f /home/ntuser/ rt-lab_e.tgz
2007.03.20RT-LAB Electrical Applications 7
Running procedure
Execution
1- For verification usage you should run RT-LAB model in a standard way (Compile, Load, Execute) if you succeed, reopen your model and press “Store Embedded” in the RT-LAB MainControl.
2- If the command is successful you will see this message : “Stored executable file and created startup script”
3- Reboot your target, this time the embedded mode will be enabled. You should see at your target screen, model execution information.
4- If you want to see the model’s console running on your host:•Open a RT-LAB Main Control•Right click on the” Connect button” a select the name of the target where your embedded model is running.•Right-click on “Use model console” in order to start the console of your model. 5- Each time you boot your target, the model execution will start automatically.
2007.03.20RT-LAB Electrical Applications 8
Reset procedure
1- Open the RT-LAB Main Control and connect to the target with the instructions above.
2- Press the “Reset” button on the RT-LAB MainControl.
2007.03.20RT-LAB Electrical Applications 9
Removing the Embedded mode
1- Open a Telnet session on your Target : on your host go to start menu-run-type “telnet ***.***.***.***”
***.***.***.*** represent the IP address of your target. The Login is “root”.
2-Type command as follow.