Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   FRC Control System (http://www.chiefdelphi.com/forums/forumdisplay.php?f=176)
-   -   Using Run in Labview (http://www.chiefdelphi.com/forums/showthread.php?t=71421)

cabbagekid2 06-01-2009 17:55

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?

BLAQmx 06-01-2009 18:36

Re: Using Run in Labview
 
The run button will run that VI and all subVIs called by that VI.

BornaE 06-01-2009 19:20

Re: Using Run in Labview
 
Since you need the communications to run, you need to always run the robotmain.vi

Quote:

Originally Posted by cabbagekid2 (Post 793978)
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

Re: Using Run in Labview
 
Quote:

Originally Posted by BLAQmx (Post 794013)
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

Re: Using Run in Labview
 
Quote:

Originally Posted by cabbagekid2 (Post 794112)
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

Re: Using Run in Labview
 
Thanks Joe!


All times are GMT -5. The time now is 22:58.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi