|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
Re: Buttons
Thank you Mark!
|
|
#2
|
|||
|
|||
|
Re: Buttons
As of right now our buttons are set up as momentary. What we want it to do is when we push a button a cylinder goes out and when we push that same button it retracts. From a programming side I guess I'm asking how exactly a person would do this.
|
|
#3
|
|||||
|
|||||
|
Re: Buttons
Quote:
It's about halfway down the page. I think that's what you want. |
|
#4
|
||||
|
||||
|
Re: Buttons
Quote:
Program Files >> National Instruments >> LabVIEW 8.6 >> examples >> FRC >> Driver Station Inputs >> Joystick Button Latching >> Joystick Button Latching.vi |
|
#5
|
|||
|
|||
|
Re: Buttons
How can I do easier for the driver by making it 2 buttons. For example making one increment and the other one decrement. Lets assume that we have 7 positions:
Position1: to take the tube from the ground Position2: 30 inches Pos3: 38 inches Pos4: 67 inches Pos5: 75 inches Pos6: 104 inches Pos7: 112 inches Let button increment be Button 2 on Joystick 2 and Let button decrement be Button 3 on Joystick. What I want is when I push button 2 if the lifting mechanism in Pos (x-1) I want it to heightened to Pos (x). And for the button 3 if the lifting mechanism in Pos (x) I want it to lowened to Pos (x-1). Those position thing is just an example and what I am asking for is how to use one button repetitively ? Thanks in advance!! |
|
#6
|
|||
|
|||
|
Re: Buttons
https://picasaweb.google.com/lh/phot...t=d irectlink
What does this symbol mean and where can I find it? |
|
#7
|
|||||
|
|||||
|
Re: Buttons
That is a Feedback Node.
You'll find it on the Programming->Structures palette The icon on the palette is just the arrow, but the whole thing shows up when you paste it onto the block diagram. |
|
#8
|
|||
|
|||
|
Re: Buttons
So now if I wanted to use that button toggle action example on a solenoid how would I set that up? or if you know an example.vi that would be great.
|
|
#9
|
|||||
|
|||||
|
Re: Buttons
Assuming you use the double solenoid that came in the 2010 or 2011 Kit of Parts, you'd combine the Double Solenoid Example with the Button Toggle example.
Essentially, you need to put a Solenoid Set into each of the Button Toggle Cases
|
|
#10
|
|||
|
|||
|
Re: Buttons
Well that makes sense haha thanks for all the help Mark.
|
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|