From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
09-28-2015 10:35 AM
I have an issue with setting a VI as start up as start up on my cRIO-9063. I can deploy fine, but I have not idea how to set the VI as start up.
A little more info. I have been deploying source distributions to a cRIO-9075 using Labview 2012. From that experience I am used to changing a config file, and then the VI starts on start up. That is the same as the most current documentation I can find (Here). As a result, I am thinking interms of the cRIO-9075 while trying to set up my cRIO-9063.
I can see that the file structure has changed, and the ni-rt.ini file I used to edit no longer exist. My source distribution has deployed succesfully, but I can not figure out how to get it run on start up. I am coding using Labview 2015 with the Real-Time module. I DO NOT have application builder. Any help would be greatly appreciated.
09-28-2015 11:46 AM - edited 09-28-2015 11:48 AM
Hey iambaconman,
The link you provided I believe only applies to the LabVIEW Development environment on a Windows OS. In order to build and execute your code as a start application on the target you'll need to use both the Application Builder and the LabVIEW Real-Time Module. It sounds like you have the Real-Time module, as you metioned you can deploy, but you would still need Application Builder in order to build your VIs into a target specific RT application. Once you have application builder you can create an RT application that calls the different VIs in your source distribution that is already distributed to the target.
09-28-2015 01:02 PM
Hey Tim A.,
In Labview 2012 it was an option to specify a VI to run on start up only using the real time module. My mistake on the link(I have been looking all over the NI website for this answer), but this link (http://digital.ni.com/public.nsf/allkb/CD3C7A3F58CBBAAA862570F8007D8D06) should be correct. It should detail setting up for a Real time system only using the Real time module.
Was this feature totally removed from Labview 2015?
Thanks,
09-28-2015 01:19 PM
Thanks for sharing the link. I think you added an extra ")" but otherwise it works without issue.
The feature hasn't been removed to my knowledge. It just isn't recommended. The document you have linked includes the path to the ini file /etc/natinst/share/ni-rt.ini. So it should still work in the way that you expect for previous RT OSs.
Please keep in mind that there isn't any guarantee this functionality will exist in later versions. We still recommend that you use a startup application instead.
09-29-2015 05:02 PM
Hey iambaconman,
So it turns out that there is a change. That token is now implemented in a different file: /etc/natinst/share/lvrt.conf. If you add the same token and path configuration under the [LVRT] section it should work. I tested this on my end and it worked without issue.
I'm updating the KB now to reflect these changes.
09-29-2015 11:40 PM
KB should now be updated with the appropriate steps needed for NI Linux RT 2015.
http://digital.ni.com/public.nsf/allkb/CD3C7A3F58CBBAAA862570F8007D8D06