Go to Post Engineers talk with math first, and grammar second. It is a fact of life. - Molten [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #2   Spotlight this post!  
Unread 26-05-2010, 21:33
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,754
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: First time Lab-viewer questions.

VI stands for Virtual Instrument. LabVIEW stands for Laboratory Virtual Instrument Engineering Workbench. These names are better left as acronyms today, but act as reminders of when LabVIEW was primarily used to build SW UIs for lab instruments.

To build a tank drive robot, I'd start by building the robot project and opening up the TeleOp VI from the project. I'd also open the Tank Drive Example project by going to View>>Getting Started. On the Getting Started window, click on Examples in the lower right. This will bring up a list of LV example projects which are very useful for seeing FRC specific LV code as well as for running the code, playing with parameters to fit it to your robot or test bench, and verifying that items work as expected. Note that you will need to set the IP address of the cRIO by right clicking on the properties of the target.

The example simplifies things by smashing the entire framework into a single VI, but looking at the Drive specific portions, pay attention to the fact that there are two joysticks being opened instead of one. In the framework, the joysticks are being opened and stored in the Begin VI. Next notice that there are calls to retrieve the axis from the joysticks -- similar to the original project. Finally, notice that the Arcade Drive VI was replaced with a Tank Drive.

If you find this too dense, ask more detailed questions.

If you have an error message saying that a VI is missing, please pay attention to the VI name. If the VI name is something that you wrote, it may be necessary to show LV where the VI is. This is normally caused by moving a LV project or source around but not moving all of the source, or by changing the relative paths.

Greg McKaskle
Reply With Quote
 


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
**FIRST EMAIL**/ Homework - FIRST & Time Warner Cable Partnership dlavery FIRST E-Mail Blast Archive 6 31-12-2009 14:16
[FTC]: Questions about first time at FTC World Championship Madison FIRST Tech Challenge 19 17-12-2009 17:25
Questions about first time trying 6WD. Darkswordsmith Technical Discussion 15 18-02-2006 21:21
AutoCAD Viewer Gadget470 OCCRA 2 25-09-2002 03:19
Questions from a first time team Sparky Championship Event 6 18-03-2002 16:58


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

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