Go to Post What is this "tired" of which you speak? Did it come in the KOP? - EricH [more]
Home
Go Back   Chief Delphi > Technical > Control System > FRC Control System
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 06-01-2009, 17:55
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
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?
Reply With Quote
  #2   Spotlight this post!  
Unread 06-01-2009, 18:36
BLAQmx's Avatar
BLAQmx BLAQmx is offline
Software Engineer
no team (National Instruments)
Team Role: Engineer
 
Join Date: Sep 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 100
BLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of lightBLAQmx is a glorious beacon of light
Re: Using Run in Labview

The run button will run that VI and all subVIs called by that VI.
__________________
NI FIRST Community: Where to go for LabVIEW, Wind River, cRIO-FRC, and NXT support.
Reply With Quote
  #3   Spotlight this post!  
Unread 06-01-2009, 19:20
BornaE's Avatar
BornaE BornaE is offline
Registered User
FRC #0842 (Formerly 39)
Team Role: Engineer
 
Join Date: Jan 2007
Rookie Year: 2007
Location: Gilbert, Arizona
Posts: 359
BornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant futureBornaE has a brilliant future
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 View Post
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?
__________________
-Borna Emami
Team 0x27
Reply With Quote
  #4   Spotlight this post!  
Unread 06-01-2009, 20:02
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
Re: Using Run in Labview

Quote:
Originally Posted by BLAQmx View Post
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.
Reply With Quote
  #5   Spotlight this post!  
Unread 07-01-2009, 11:40
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,582
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Using Run in Labview

Quote:
Originally Posted by cabbagekid2 View Post
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.
Reply With Quote
  #6   Spotlight this post!  
Unread 07-01-2009, 13:05
cabbagekid2 cabbagekid2 is offline
Registered User
#0368 (Kika Mana)
 
Join Date: Jun 2001
Rookie Year: 2000
Location: Honolulu, HI
Posts: 85
cabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura aboutcabbagekid2 has a spectacular aura about
Re: Using Run in Labview

Thanks Joe!
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Using LabView to Teach Students.. Sykan NI LabVIEW 1 22-09-2008 12:14
Using the CMU cam in LabView VeedotJaydot Technical Discussion 1 10-09-2008 16:39
Students build SEGWAY in 3 months using Labview and the cRIO neutrino15 Programming 31 27-04-2008 22:08
Question about using labView in FRC itsme LabView and Data Acquisition 7 19-01-2007 15:22
Using the Example LabVIEW Apps Amin National Instruments LabVIEW and Data Acquisition 1 24-01-2006 08:51


All times are GMT -5. The time now is 16:43.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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