Academic Hardware Products (myDAQ, myRIO)

cancel
Showing results for 
Search instead for 
Did you mean: 

How to set an application built using the C API 3.0 for myRIO to run at startup on a myRIO-1900

Solved!
Go to solution

Is it even possible to set such an application to run on startup? If it is how would you go about doing it?

I compiled a program using the NI eclipse distribution and API and can run the program from Eclipse or by running it while SSH into the myRIO. The only documentation I could find relating to it is: http://digital.ni.com/public.nsf/websearch/B37FA04A1CB84B6C862571A30060EF03?opendocument&Submitted&&...

 

The link is a little outdated so I am not sure how relevant it is today. I changed the lines in lvrt.conf to:

RTTarget.ApplicationPath=/c/ni-rt/startup/startup.rtexe
RTTarget.LaunchAppAtBoot=True

 

None of the settings seem to do anything. I also tried launching the program like a script using rc.local which doesn't seem to be used the same way as it is in Ubuntu. My compiled pogram does not come with the extension .rtexe although I can add it later which might not be the same thing.

 

I made sure that the "disable startup programs" was unchecked on the myRIO webserver.

 

Thanks

0 Kudos
Message 1 of 4
(3,855 Views)

Hi neap,

 

You might have more luck posting on the NI Linux RT forum, since that's where questions related to the NI Eclipse distribution and API are generally answered. 

0 Kudos
Message 2 of 4
(3,821 Views)

Thanks. There are so many forums.

0 Kudos
Message 3 of 4
(3,818 Views)
Solution
Accepted by topic author neap

Just in case someone has a similiar question:

 

https://decibel.ni.com/content/message/144527#144527

0 Kudos
Message 4 of 4
(3,787 Views)