06-09-2017 12:46 PM
I'm trying to set an executable (.rtexe file) as the startup application on a CVS 1458RT. I have copied the .rtexe and .aliases to /home/lvuser/natinst/bin/ and have edited the ni-rt.ini file as:
RTTarget.ApplicationPath=/home/lvuser/natinst/bin/SCam_startup.rtexe RTTarget.LaunchAppAtBoot=True
However, when I reboot the controller by power-cycling it, the application does not start running. Is there anything I need to do?
I know the preferred method of doing this is using a labview project, etc., but I only have FTP access to this remote controller, and someone there that can only power-cycle the controller.
Thanks,
Soheyl
06-09-2017 01:38 PM
Not my area of expertise, but are you sure the permissions are right on the executable? I'm not sure what the FTP server does by default, but it might not set the executable ("+x") bit by default.
06-09-2017 03:54 PM
I just checked and it has all the permissions (777).
06-12-2017 02:25 PM
Hi there,
Have you followed this KnowledgeBase article for deploying a RT exe? It sounds like your process is almost correct, but there is a difference in the folders you used versus the ones mentioned in the article. I should also note that your target is an NI Linux Real-Time target, so you will need to follow the instructions for that instead of instructions for Pharlap/VxWorks targets.
If following that KnowledgeBase article doesn't work, there are also some good suggestions here.