09-29-2015 11:22 AM
I have a (working) project for my NI-9068 cRIO that I'm developing on Windows. As part of my build specification, I'm uploading some linux scripts to the 9068. What I want is to have those scripts flagged as exectuable (chmod +x) on the 9068 when they're deployed from LabVIEW. Is there a way I can set the file up in windows so that when it's uploaded that the bits are set? Alternatively, is there a way for me to fire some ssh commands to the 9068 when I click "deploy" or "run as startup" from the build specification?
thanks in advance.
09-29-2015 01:10 PM
Managing these bits in files exchanged with Windows is always a pain (not just on cRIO targets but on any mixed Linux/Windows environment). Usually either all of your files from Windows get +x (even if they aren't executable) or none of them (even if they are) on Linux.
Can you fix the permissions as an early step of your deployed VI? See http://zone.ni.com/reference/en-XX/help/371361H-01/glang/setting_permissions/ for what I have in mind.
You may get a good audience for this question at https://decibel.ni.com/content/groups/ni-linux-real-time if you repost this there.
09-30-2015 10:25 AM