View Single Post
  #8   Spotlight this post!  
Unread 18-01-2017, 17:52
tiernan12992's Avatar
tiernan12992 tiernan12992 is offline
LabVIEW Coding Captain and Weirdo
AKA: Tiernan Pierce
FRC #4490 (TechRaiders)
Team Role: Programmer
 
Join Date: Jan 2016
Rookie Year: 2015
Location: Arkansas
Posts: 14
tiernan12992 is an unknown quantity at this point
Re: Basic help with labview in Begin VI

Quote:
Originally Posted by propionate View Post
Begin.vi
http://i.imgur.com/95HGp.png

Teleop.vi
http://i.imgur.com/bd4uG.png


Above are the links to the code for what is called "Tank Drive" (two joysticks controlling the robot at once, one for each side of the drive train).

You will need to discuss with your electrical team which PWM number they have used for the motors controlling your drive train, and what kind of speed controllers they used. Those two settings must be changed in the Begin.vi where the motors are "opened."

Notice in the teleop.vi that all I have done is add another joystick and change the robot drive VI to "Tank" instead of "Arcade."

If you have other questions, please ask.
Excuse me, but where do you get those terminals in the block diagram that are axis 2 (y)? I am searching everywhere and can't seem to find them.

For clarification, I am also a very new LabVIEW coder and still trying to figure things like that out. I just don't entirely know where to look or what the name of those things are.
Reply With Quote