View Full Version : Basic help with labview in Begin VI
nickhilgupta
17-01-2013, 17:29
We are a new team in FRC and it is up to me to do the programming in labview. can someone help me get started. I want to get two joysticks. connect each one to one of the motors. just to get started. so i can connect it to my robot and maybe, just use the joysticks to move my robot. Please you really simple language to explain. Thanks in advanced.
propionate
17-01-2013, 18:22
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.
nickhilgupta
17-01-2013, 18:54
I will ask if i have questions. Thanks. you were really helpful
sandbag747
18-01-2013, 15:57
If you go to frcmastery.com you can find a bunch of tutorials that got me started pretty well
nickhilgupta
19-01-2013, 23:59
Thanks. that looks like a nice website.
cartwrig
26-02-2016, 04:22
Hmmm...anyone know where http://www.frcmastery.com went?
Thanks,
- Rob
Programming Mentor, that's still trying to learn!
It looks like it's up now. It might have been down for a brief period.
What are you running into that you'd like to have us take a look at?
vBulletin® v3.6.4, Copyright ©2000-2017, Jelsoft Enterprises Ltd.