LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to determine what program is currently running on the compactRIO?

Solved!
Go to solution

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

0 Kudos
Message 1 of 2
(2,879 Views)
Solution
Accepted by topic author barkeram

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.

0 Kudos
Message 2 of 2
(2,868 Views)