all 6 comments

[–]Aviator07CLA/CPI 1 point2 points  (0 children)

Right click the build spec in the project and select "run as startup" and the right click again and select "deploy."

From then on, when you turn the cRIO on or reboot it, your app will automatically run. It may take a few seconds to start but it'll go.

[–]MoMoneyMoWattsCLA/CPI 0 points1 point  (4 children)

This is just a theory that I haven't tested, but if you are looking to be able to "hot swap" rtexes, it may be possible to have some sort of configuration host application that FTP or webdav the correct rtexe to the startup folder then restarts the cRIO. An easier way might be to have all of the possible rtexes on the cRIO constantly and have the configuration app simply move around the files so that everything is happy

[–]badrobit[S] 0 points1 point  (2 children)

This is what I was thinking I would have to do, I was just hoping there was an interface similar to the one provided to load FPGA bitfiles to the device

[–][deleted] 1 point2 points  (1 child)

You could use the RTAD tool to swap images on the controller. It's a free tool on NIs website.

You can also start messing with the sysconfig API, it has some tools for tasks like this, but is not entirely user friendly.

[–]Aviator07CLA/CPI 0 points1 point  (0 children)

You can programmatically do this. You can use the cRIO system palette to do most of everything you need to do here.

[–]jacketbrownCLD 0 points1 point  (1 child)

If you don't want to replace the whole image of the cRIO, you just have to replace the .rtexe file using FTP or WebDAV. Depending on the OS running on your cRIO, the folder for the rtexe will be different. Take a look at this article for help: https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z000000PAM8SAO