10-24-2013 02:12 PM
From the host PC, is there a way (preferably programmatically) to tell what is currently running on the CompactRIO? For example, suppose in the Project, under the crio tree, I open foo.vi and press the run button - can I run a VI on the PC that queries whether foo.vi is running or not? Or if I make a build specification for foo.vi, can I run a VI on the PC that will verify it is indeed running?
My initial thought was something like Open Application Reference (specify IP address of crio) > Open VI Reference (specify foo.vi) > Exec.State property, but no luck.
Thanks
Solved! Go to Solution.
10-24-2013 02:42 PM
I answered my own question - see
http://forums.ni.com/t5/LabVIEW/Loading-and-Running-a-VI-on-a-cRIO-from-a-PC/td-p/796657
On the Real-Time CompactRIO Properties > VI Server, you must check the box for TCP/IP protocol, which by default is unchecked.
Also, when you make a Build Specification for a VI and set it to run on startup, you can still enter the VI name (not c:\ni-rt\startup\startup.rtexe) as the VI Path on the Open VI Reference.