View Single Post
  #20   Spotlight this post!  
Unread 21-01-2009, 01:17
dgraves702 dgraves702 is offline
Registered User
FRC #0702 (Bagel Bytes)
Team Role: Mentor
 
Join Date: Jan 2009
Rookie Year: 2002
Location: Los Angeles
Posts: 7
dgraves702 is an unknown quantity at this point
Re: How do i find a variable and use it on Labview

Quote:
Originally Posted by Alan Anderson View Post
I'm not really sure why you want to use variables. You might be thinking too much in terms of procedural programming (like C or even BASIC) instead of treating LabVIEW as a dataflow programming method -- which it is.

In LabVIEW programs, wires are essentially the variables. They're what "hold" values as they move from where they're produced to where they're used.
Exactly. All you need to do is wire the output from your Get Axis VI from the Joystick Palette to the Set Speed VI (or equivalent if you are using your Drive motors) from the Motors Palette. You don't need to use variables at all.
Reply With Quote