Log in

View Full Version : Using Run in Labview


cabbagekid2
06-01-2009, 17:55
I haven't seen this come up yet...

When you click on the arrow to run your Labview program on the cRIO, does it matter which VI you have open when you click the RUN button? I've seen some of the framework manuals mention that you click RUN from the Robot Main.VI (in order to download that VI and all SubVIs) but does anyone know if it will still work if you click RUN from....the Teleop.VI? Or will only the Teleop.VI download and nothing else?

BLAQmx
06-01-2009, 18:36
The run button will run that VI and all subVIs called by that VI.

BornaE
06-01-2009, 19:20
Since you need the communications to run, you need to always run the robotmain.vi

I haven't seen this come up yet...

When you click on the arrow to run your Labview program on the cRIO, does it matter which VI you have open when you click the RUN button? I've seen some of the framework manuals mention that you click RUN from the Robot Main.VI (in order to download that VI and all SubVIs) but does anyone know if it will still work if you click RUN from....the Teleop.VI? Or will only the Teleop.VI download and nothing else?

cabbagekid2
06-01-2009, 20:02
The run button will run that VI and all subVIs called by that VI.

Just to clarify, are you saying it will run the teleop VI and all subVIs, but it will not run any VIs that are not subs, such as robot main, and any autonomous VI.

Joe Ross
07-01-2009, 11:40
Just to clarify, are you saying it will run the teleop VI and all subVIs, but it will not run any VIs that are not subs, such as robot main, and any autonomous VI.

Correct. Like Borna said, since the driver station communication is handled in the Robot Main.vi, just running teleop itself won't work.

cabbagekid2
07-01-2009, 13:05
Thanks Joe!