|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
||||
|
||||
|
Re: LabView button for a double-acting cylinder
OK...
So, because I don't have any other idea how to do it, I was going to wire (electrically) the two red/black sides of the two solenoids to two seperate connections. Either two of the "pneumatic bumper" relays or two Spike relays. Where do I put those two connections, in this LabView code, and how does it differentiate which one to energize/fire? |
|
#2
|
||||
|
||||
|
Re: LabView button for a double-acting cylinder
You keep track between loops which one was the last one to fire. You can have something like the code I posted before keep inverting a boolean value, and depending on that value, power the solenoid (in a case statement).
Like, if value is true, power A and not B. If value is false, power B not A. And then you use the button code to change the value back and forth between true and false. It hard part it wrap your mind around is using a momentary button as a latching switch.. |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| how to program a pneumatic cylinder in labview | star_lancer | NI LabVIEW | 9 | 10-02-2012 19:18 |
| Joystick Button Programming in Labview Help Needed | domoarigato | NI LabVIEW | 11 | 28-01-2009 10:55 |
| Get Button subVI for LabVIEW | ShotgunNinja | NI LabVIEW | 1 | 18-01-2009 21:08 |
| Reset Button for Vex RC's | irishninja | FIRST Tech Challenge | 5 | 18-06-2006 15:56 |
| double acting constantly has exaust air? | Ben Lauer | Pneumatics | 14 | 17-02-2004 18:28 |