|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools |
Rating:
|
Display Modes |
|
|
|
#1
|
||||
|
||||
|
how to program a pneumatic cylinder in labview
could someone tell me how to program cylinders in labview?
I will have multiple cylinders, but programming one will do. We plan on using buttons to fire them. |
|
#2
|
||||
|
||||
|
Re: how to program a pneumatic cylinder in labview
The Cylinders should be controlled by solenoids. Use the Solenoid Open vi to open one and use the Solenoid Get/Set vi's to control it. You can wire a joystick button directly into a Solenoid Set vi to control it if you wish.
|
|
#3
|
|||
|
|||
|
Re: how to program a pneumatic cylinder in labview
so when programming to operate the canisters, you dont need to use the compressor? i tried the solenoid open -> solenoid get/set -> close. i then have joysitck open-> joystick get-> button 1-> connected to solenoid set. will this fill the canister, and how do i go about programming for the pistons? if you can, can u post a picture of what it looks like? thx!
|
|
#4
|
||||
|
||||
|
Re: how to program a pneumatic cylinder in labview
What I described was for controling just a solenoids. To operate the compressor, you need to use the Compressor Open vi, specify a relay channel and the pressure switch channel, the you need to start it with the Compressor Start vi. Make sure you have all the pneumatics set up correctly. If it is, it will fill the canisters by itself until it's up to pressure.
|
|
#5
|
|||
|
|||
|
Re: how to program a pneumatic cylinder in labview
so if i add a compressor start, it will automaticlly start the compressor and fill the canisters when i deploy? then i dont need an actual control for it???or is it better if i wire it to a button on the joystick? is it possible you can post a picture of the basic structure? it would help me out a lot
|
|
#6
|
||||
|
||||
|
Re: how to program a pneumatic cylinder in labview
Sure. The compressor should be wired into a spike relay on the electrical panel, which should be wired into one of the relay ports on the sidecar. The pressure switch should be wired into a digital I/O on the sidecar. The attached image shows code that will start the compressor, fill up the canisters, and stop itself once the canisters get full. Once the pressure gets low again, it will run until it is full.
Now you can code solenoids and the cylinders will have air from the compressor to run. Also, here's another post of mine showing both the compressor and two solenoids being used: http://www.chiefdelphi.com/forums/sh...367#post813367 |
|
#7
|
|||
|
|||
|
Re: how to program a pneumatic cylinder in labview
hey can you post a picture of how you would control the solenoids?
|
|
#8
|
|||||
|
|||||
|
Re: how to program a pneumatic cylinder in labview
How's this? Just use Solenoid Set.vi and give it either a boolean or enum to set the solenoid to either on or off.
|
|
#9
|
|||
|
|||
|
Re: how to program a pneumatic cylinder in labview
great thanks!
|
|
#10
|
|||
|
|||
|
Re: how to program a pneumatic cylinder in labview
Here's a site that I've found that has helped out team a lot. Team 358 has a bunch of simple of examples.
http://team358.org/files/programming...2009-/LabVIEW/ |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| How do you program joystick buttons in LabVIEW? | darkpheonix | NI LabVIEW | 10 | 13-04-2014 10:20 |
| How to program relay in labVIEW? | frcchile | NI LabVIEW | 1 | 16-01-2009 13:36 |
| Pneumatic Cylinder | yanksrock777 | Technical Discussion | 2 | 20-02-2007 11:01 |
| Pneumatic cylinder size | bruss6 | Pneumatics | 8 | 16-02-2007 16:37 |
| Pneumatic Cylinder Length | billy | Technical Discussion | 2 | 10-01-2003 08:30 |