Using identical hardwareIt is possible to deploy the executable on a duplicate image via the
Replication and Deployment (RAD) Utility. If you need to deploy to a Linux Real-Time target outside the LabVIEW Development environment, this is the recommended method. Instructions for how to install and use RAD are included in the previous link.
If the executable has been compiled for the correct target.You can use FTP/SFTP to download files onto your real-time controller:
- Place the executable in the appropriate directory for the real-time OS:
- Phar Lap and VxWorks: c:\ni-rt\startup\
- NI-Linux RT: /home/lvuser/natinst/bin
- Open the config/ini file for your OS in a text editor:
- Phar Lap and VXWorks: c:\ni-rt.ini NI-RT.ini
- NI Linux RT: /etc/natinst/share/lvrt.conf
- Note: It may be easier to transfer the file to a host, edit it, and transfer it back to the target.
- Add the following lines to the config/ini file:
- Phar Lap and VXWorks:
- RTTarget.ApplicationPath=c:\ni-rt\startup\startup.rtexe
- RTTarget.LaunchAppAtBoot="True"
- NI Linux RT:
- RTTarget.ApplicationPath=/home/lvuser/natinst/bin/startup.rtexe
- RTTarget.LaunchAppAtBoot="True"
- Note: startup.rtexe should be changed to be the name of your executable file
Note: You have to modify the NI-RT.ini or lvrt.conf file to ensure the startup executable starts at boot-up. When a startup application is deployed from the LabVIEW Project, LabVIEW sets the flags automatically.