01-15-2016 03:13 AM - edited 01-15-2016 03:17 AM
Hello,
I'm developing an application on a sbRIO. Sometimes I want to disable the RT APP by setting RTTarget.LaunchAppAtBoot=False in the ni-rt.ini, so I can test in the development enviroment and use FPGA interface mode, etc.
If I reboot the sbRIO (Power off -> on) the RTTarget.LaunchAppAtBoot=False has been set to True again, without me manually editing ni-rt.ini.
What causes this behaviour?
Thank you.
Solved! Go to Solution.
01-15-2016 09:22 AM
In your LabVIEW project, is the RTEXE build specification configured as 'Set as Startup'? I believe the LabVIEW project will attempt to 'deploy' the project settings each time a VI from the project is interactively run on the target. So if that build spec retains that setting in the project, LabVIEW will overwrite your FALSE .ini token back to TRUE each time you run an interactive FPGA or RT VI in that project.
I haven't been able to verify this behavior, but I suspect if you choose the option 'Unset as startup', that will stop LabVIEW from re-enabling your startup application after you manual set the .ini token to FALSE. In general, this method for setting and unsetting the RTEXE as a startup application is probably more time efficient than manually editing the .ini file, and I've never had issues with the inconsistent behavior you are decribing when using this method.
Regards,
01-15-2016 10:30 AM
I tested it and you are right. Thank you sir.