|
Re: Programming buttons help!
Quote:
Originally Posted by rhoads2234
if you want it to only rotate 90 degrees, you will have to have some sort of sensor (limit switch, encoder or potentiometer) Be careful if you use a potentiometer- they have a limited range.
As for how to get a button to send signal to a motor,
use the "get" VI for a joystick and unbundle the button output (I recommend unbundle by name)
wire one of the buttons you want to use to a case structure (to the question mark) and in the true statement put a set speed for your motor. Create a constant for the speed.
wire the other button to another case structure and do the same thing, but your constant should be 0 this time.
|
Is there a tutorial section on this? I have looked at Tip Jar and have a confusion about how to use and connect VI's. We are interested in using the following type Joystick button control.
Will it allow me to use the triggers on the joysticks to move the chain forward and backwards and use the top button to move the dumper forward and back? Where do I put this code and how do I hook it to the Main?
I found out that the dumper is using the Keyang motor and the chain is using the globe motor and the drive motors are the CIMS.
Thanks for all help.
__________________
2009 West Michigan District Winner
Thanks to Team 216 and Team 1918
2009 Traverse City Semifinalist
Thanks to Team 1596 and Team 47
2009 Traverse City UL Safety Award Winners
Attending 2009: West Michigan, Traverse City, & State
Last edited by chinckley : 17-02-2009 at 15:50.
Reason: added motor types
|