Using Run in Labview

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?

The run button will run that VI and all subVIs called by that VI.

Since you need the communications to run, you need to always run the robotmain.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.

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

Thanks Joe!