04-14-2016 06:22 PM
Hi,
On cRIO systems, there is a file called NI-RT.ini that can be used to set the start-up application, set the time zone, etc. It is normally located at root. Is there a similar file for CVS-1458RT, and if so, where can I find it?
Thanks,
Soheyl
Solved! Go to Solution.
04-15-2016 09:08 AM
Hello,
If you go to /etc/natinst/share you will find ni-rt.ini and lvrt.conf. Timezone is in the [LVRT] section of ni-rt.ini (RTTarget.TimeZone="Etc/GMT+6" for example), and setting the start-up application is done in lvrt.conf.
Hope this helps!
Katie
04-18-2016 09:28 AM
That said, it is recommended you use NI software instead of manually modifying the ini file. You can use Measurement & Automation Explorer to set the time and time zone (Time Settings tab at the bottom of the UI), and the LabVIEW project to specify that the executable resulting from a specific build spec should be a startup application on the RT target.
04-18-2016 01:43 PM
True, but that is not always possible. Like when the modules are deployed in a remote area, with very spotty network connection. Connecting through MAX is almost impossible. It is much easier to FTP a small text file.
04-18-2016 02:12 PM
Good point. For those who don't know, the default transfer protocol for LinuxRT targets such as the CVS-1458RT is WebDAV. Here is an application note that explains how to transfer files to your real-time target using WebDAV.
http://digital.ni.com/public.nsf/allkb/4EBE45E8A816B19386257B6C0071D025
To use FTP to transfer files on these targets, you must first install the "Legacy FTP Server (deprecated)" to the target (using MAX). It is not installed by default on the default images.
-Christophe