Switching pneumatic solenoid valves using USB 6008

Hi, 
I am a student working on a project in which I need to built a program to control/switch  pneumatic solenoid valves to oporate on a pneumatic cylinder using the USB 6008 I am very new to LabView and DAQ.
The solenoid has two ports, one for extending the stroke arm of the pneumatic cylinder and the other for collapsing the stroke arm.as the solenoids works off of a 12V supply I have bulilt a darlington pair as a firing circuit for it.
I have had built different programs but I'm only able to  send a signal to extend the stroke arm  and then manually switch the wiring to collaps the stroke arm. So I have problem building a program that sends a signal to my circuit in such a way that ports of the solenoids go ON and OFF after a certain time.
I really appreciate your help
Elmira
Elmira

Dear Lynn,
Thanks for the replay.
I'm gonna try to best describe my system this time;
I'm trying to creat pitch motion  using a pneumatic system including an air compressor, a solenoid valve and a cylinder.
The compressor is made by PowerFist and is capable of storing 5 gallons of air under a rated pressure of 125psi and can deliver 2.5cfm (cubic foot per meter) at 90 psi. The compressed air is sent directly to the solenoid valve. It operates using an electrical motor operating from a standard 110V power outlet.The cylinder has a stoke length of 19.7” and a bore size of 1.6” capable of operating under 130psi.
The solenoid valve used is  5-way 3-position. This means that there are five different ways the air flows inside the solenoid and the solenoid can set in three positions depending on the movement of the mechanical core inside. When air is transferred into the valve the mechanical core moves directing the air to the appropriate ports of the solenoid. The two outputs of the solenoid are sent directly to the pneumatic cylinder where extension and collapsing movements can be performed. the solenoid works off of a 12V supply so I'm using darlington pair transistor as the firing circuit .
Please see the attach for the pneumatic diagram.
Thank you
Elmira
Attachments:
pneumatic diagram.jpg ‏33 KB

Similar Messages

  • Using USB-6008 software timimg Generate waveform

    I am using USB-6008 device. Base on it's User Guide, this device on support software-timed and maximum update rate is 150 Hz.
    By place a time delay VI for 1ms, I have a 1.660Hz sine signal. Is this wrong for place a time delay VI for software timing?
    I would like to generate a 60 Hz signal by using software-timed VI on USB-6008 device. How should I do?
    Thanks a lot.

    DephinTW,
    The update speed of the USB-6008 is largely dependent on the speed of
    you computer as well as anything else on your USB bus. If you are using
    an older computer or have other USB devices on the bus, you may not
    achieve this rate. In order to output a 60Hz signal, the minimum output
    sampling rate is 120Hz. This corresponds to an 8.3 msec. delay between
    samples. Instead of using the "Wait" VI, you should try using the "Wait
    Until Next ms Multiple" VI. Place this in parallel with your
    generation. This will synchronize the output with multiples of the PC
    clock, rather than waiting for a fixed amount of time, irrespective of
    code and USB overhead.
    Hope this helps,
    Ryan V.
    National Instruments
    Ryan Verret
    Product Marketing Engineer
    Signal Generators
    National Instruments

  • I wish to control pneumatic proportional valve using NI 9263 but requires 5 mA control signal 0 to 10v

    I wish to control a pneumatic proportional valve using the NI 9263 analogue voltage output module.  The module can only supply 1 mA and the valve requires about 0 to 10 volt @ ~5 mA. I have considered using an OP amp in unity gain buffer.  Any suggestions / circuit examples ?
    regards Slopey

    We usually use an Analog Devices or Dataforth isolated 5B module 0-5Vdc input to 0-10VDC output. This seems to work nicely.
    Tim
    Johnson Controls
    Holland Michigan

  • What amplifier will recomended for my k-type theromocoupler using usb 6008

    I recently do a project about temperature control system using usb 6008, according to the spec, the minimum AI range is +/- 1V and the thermocouple giv the voltages in jz a mV, so what kind of amplifier will be recomamded? is there any amplifier chip set that available ?

    Analog Devices AD594/AD595 Monolithic Thermocouple Amplifiers (Type J / Type K)
    This would give you a conversion of 10mv per degree C using a single +5v supply you could get to a couple of hundred C
    I get 11 bits of resolution available for the +/- 4v range (11 because I can't see a negative supply available so we are only using one side of the differential range).
    That's a resolution of 2048 bits over 4v giving 0.001953 v per bit
    The devices above give 10 mv per degree C so you would have about 0.2 C resolution and a maximum temperature of around 450 degrees C an minimum temperature of 0 degrees C.
    The device draws about 1mW so you should have no problems with power consumption. (Hint Earth / Ground loops might be a problem).
    I should add that whilst I have used this device many hundreds of times, I have never applied it to the USB 6008.
    http://www.analog.com/en/prod/0%2C2877%2CAD594%2C00.html
    Message Edited by Conseils on 05-08-2007 08:51 PM
    Message Edited by Conseils on 05-08-2007 08:52 PM
    Attachments:
    46185785AD594_fbs.gif ‏17 KB

  • Opening & closing a solenoid valve using ni usb-6009

    Hi,
    I am very new to labview so any help would be apprciated.
    I am using the ni usb-6009 as a power source for my solenoid valve. The valve is 12vdc but because the max output voltage for the ni usb-6009 is 5v i have designed and build an op-amp circuit which will amplify the voltage. I want to create a vi that will give a +5v digital output when a push button is pressed and 0v when the push button is off. What would be the most efficient way of doing this? Thank you.
    Solved!
    Go to Solution.

    How much current does the solenoid draw? You say that you are powering the solenoid from the USB-6009 so just converting the voltage from 5V to 12V will not work - there is a current limit of 8.5mA on the 6009 which will not be enough to power the solenoid. You will need to use an external supply that can provide sufficient current to drive the coils of the solenoid and then use a transistor circuit to switch on the supply from the digital output of the 6009 (which can't draw more than 8.5mA).
    Once you've got your circuit right, you can use MAX Test Panels, the Data Acquisition Express VIs or the DAQmx palette in LabVIEW to control the digital output. There are lots of examples in LabVIEW on how to do this
    Certified LabVIEW Architect, Certified TestStand Developer
    NI Days (and A&DF): 2010, 2011, 2013, 2014
    NI Week: 2012, 2014
    Knowledgeable in all things Giant Tetris and WebSockets

  • Using VBAI to switch a solenoid valve

    I have a 12V, 1W solenoid valve that i would like to switch on and off using my inspection program. I am current using a arduino/transistor setup but it is too unreliable. I was wondering what products you offer that I would be able to use to switch that valve. 

    You can use those DAQ devices mentioned but you will get SW timed response since it uses Global Virtual Channels to read/write the DAQ device with a DAQ step in VBAI. You can also use a Vision device like:
    - 8237R which comes with GigE ports for acquiring from GigE cameras
    - 8255R which comes with IEEE-1394b ports for acquiring from Firewire a or b cameras
    - 8254R which comes with IEEE-1394a ports for acquiring from Firewire a cameras.
    - Any of the CameraLink board for acquiring from CameraLink cameras.
    - Any of the Smart Cameras we sell
    - EVS (Embedded Vision System) is an Real Time target that you can connect either a 1394 device or a Camera Link camera
    - CVS (Compact Vision System) is Real Time target that you can connect GigE cameras to .
    These Vision devices have dedicated I/O steps in VBAI that support hardware timed pulses based on a HW trigger, or can generate a pulse that stays high for a precise amount of time based on a pass/fail decision by VBAI. If you need HW timed precision for driving your device, I would recommend one of these devices. The GigE/1394 devices also can count the number of edges that occur on an input line and the 8237 can even configure a queue of pulses which can be useful if there are multiple parts between your visual inspection station and the ejection station. Check out this app note for details on this use case to see if you need something this advanced:
    http://www.ni.com/white-paper/14599/en/
    If you just need simple software timed I/O, I would recommend a simple USB DAQ device with Virtual Channels defined as mentioned earlier and use the DAQ step in VBAI.
    Hope this helps,
    Brad

  • How to actuate 20 solenoid valves using labview

    I want to perform an action of detaching materials from a fixture by actuating 20 pneumatic pistons controlled by 20 solenoid valves.
    If the valve is actuated the piston moves and stays in the location for 1 sec and then return back. Each of these cylinders should be able to be controlled separately.
    Kindly provide me with the necessary equipments i should buy.
    How can i control 20 solenoids using a DAQ card.  is it possible? 
    Also i need to accept around 20 Digital Signals too.
    Could you specify any card that will meet the spec.?
    Thank you in advance.
    Regards
    grugh
    Regards
    Grugh Mike
    Success is Everything !!

    With the equipment that you have, a good choice would be Opto-22 series for the G4 series of the Opto-22. Select the screw terminal base and an ODC module appropriate to your power/voltage requirements. this will use the TTL digital output to control a power solid state relay. If you look to the other signal conditioning products from NI, they will allow you to do the same thing as well.
    Stu McFarlane
    Viewpoint Systems, Inc.

  • Using USB-6008 on LIS331 Accelerome​ter

    Hi, I am looking to monitor my project with a LIS331 using the USB-6008 dac. Would this dac unit be acceptable with this accelerometer? 

    swong46,
    I would recommend using a USB 63xx series DAQ device. You might also be interested in the USB 8452, which is a dedicated I2C and SPI device. 
    I can also put you in touch with some of our sales engineers, who would be the most knowledable about your options. Shoot me a PM if you're interested, and I can give you a number to call.
    Kyle T.
    Applications Engineering
    National Instruments

  • Cannot use USB 6008 in Lab VIEW... is in Devices on Comp however

    I was in class the other night, and was running a VI.  We went to lab, and without shutting down labView, my partner plugged in my USB-6008 DAQ.  SInce that time, the 6008 will not show up.  I have a message about having no supported devices.  I am using DAQmx 8.0 that came with my student version, and have reinstalled the LabVIEW 8.0 and the DAQmx 8.0  I still cannot get LabVIEW to recognize the DAQ.  When I plug it in my hardware profiles recognize that it is hooked up, but LabVIEW will not.  Also I have uninstalled it, and plugged it in, reinstalled it using the auto hardware install wizard, and still nothing on LabVIEW.  The DAQ has the flickering green LED, and works on other laptops.  Also my flash drive works correctly in all of the USBs, so I do not think that could be the problem.  I just really would like to get this to work again, but as I said the DAQ is not recognized by MAX or DAQmx inside of LabVIEW.  Any help would be greatly appreciated...
    Thanks

    Hi,
    You might want to try MSI-Blast.
    Have a look at this thread.
    http://forums.ni.com/ni/board/message?board.id=170&message.id=108288&query.id=113978#M108288
    Patrick Allen

  • Why not use USB 6008?

    Hi,
    I have an application that requires me to sample 6 AI channels at 1 kHz.
    Processing every 20 ms.
    I also need to output a PWM on 3 channels.
    Normally I'd use PCI-DAQ cards.
    e.g. a PCI-6023E and a PCI 6601 (timer/counter).
    This costs about 700€.
    Why shouldn't I use a NI USB 6008 (145€)
    and two NI 6501 (99€).
    Is there a big difference in programming and performance?
    Are those devices all USB-2?
    Because If I sample at 10Khz, I do not suppose that all that
    data can go over a USB1-bus.
    Thx !

    Hi!
    My observation is that a 6008 will work for you if you only need to acquire 6 channels at 1 kHz and you can handle 11 bits of resolution (to use six channels you must be in single ended mode, which losses one bit of resolution on this board). The other possible disadvantage of the 6008 is that you will have to learn to use DAQmx Base, if you haven't done so yet. However, if you are familiar with DAQmx, this should not be too difficult.
    As for digital output, using two 6501's may not work for you. They will be software timed digital outputs, where it seems that you were looking for hardware timed outputs before (6601).
    Both of these devices are USB 2.0 Full-Speed, which can handle this amount of data.
    Good Luck with your project!
    Justin

  • Can I use USB 6008 with LabVIEW 6.1 RT?

    Hi there,
    I've been using LabVIEW 6.1 RT for my applications and so far I haven't felt the need to upgrade.
    However, I decided to try the USB 6008 and I'm learning the hard way that this device will only work with NI-DAQmx and apparently not with the latest NI-DAQ 7.4.2 (legacy)  In fact, I can't see the device in MAX 4.1
    Is there any way I can use the USB 6008 with my 6.1 RT version of LabVIEW ?  or should I send the thing back to NI ?
    I will appreciate your guidance on this issue.
    Thanks a lot,
    at

    Hi at -
    Allisso is right.  There is no way to use the USB-6008 with LV 6.1, because neither of its drivers (DAQmx and DAQmxBase) support that version of LV.  You'll have to either upgrade to a current version of LV or work with another device.  I recommend contacting your sales rep at NI for help.
    David Staab, CLA
    Staff Systems Engineer
    National Instruments

  • DC motor closed loop control through labview using usb 6008

    Hello
    i am doing a project in which i want to control the speed of a DC motor (PID control) through labVIEW 2010. I am having a DC motor, a drive unit that regulates the voltage to the motor by getting analog voltage from 0 to 3.3V ( it can be used for both directions) and i also have a NI usb 6008 board. The problem is that i can't feed the usb 6008 with the digital signal from my hall effect speed sensor. Is it posible with this setup to control the motor?? I can also try to use the pulse as analog input and trasform the frequency into rpm's. Then i am thinking of generating an analog signal to feed the motor drive. If you have any further suggestion of a probably better hardware setup would be more than helpfull to me.
    Sincerely
    Jason Chaloulos

    Hello Michael
    Thanks for the reply. I came across those topics before and all of them are trying to generate a PWM signal as output i want to use just an analog signal output so timing on the output is not that important i guess. i am struggling on getting the frequency from the digital input signal that my hall effect sensor generates. Since the maximum speed of the motor is 3000 rpm and with my tooth wheel the maximum  output frequency of the sensor will be 300Hz which i see its way less than the limitation of my ni board. Is there any tutorial documentation that might help me with this one ? Thank you in advance.
    Kind regards
    Jason

  • Rpm sensor diagram using usb-6008

    Hi All,
    Attached is my block diagram for the RPM sensor that I wan to create. What I'm trying to do is to get the analog input and do a pulse calculation within 60 seconds, and my RPM would be how many pulse * 60. I don't know whether I'm doing it right or not, but I have a feeling that I need to use the digital input rather than analog input. Any comment?
    Thanks
    Attachments:
    rpm sensor design.vi ‏70 KB

    Hello Dadsf,
    Welcome to the NI Discussion Forums!  From your post, you would like to be able to count the number of pulses from your sensor that occur during a period of time and convert this to RPM.  Let me know if I have interpreted this incorrectly.  Your USB-6008 manual indicates that the device has a built in counter that can be used to count falling edge signals.  If your sensor outputs digital signal this would be a good way to go.  You can take the number of pulses that occur over a certain period of time (perhaps between two loop iterations) to find the number of pulses per second.  The longer the period of time you acquire pulses for, the more accurate your average RPM will be.  This will be at an expense of how often the user is updated with a new RPM value.  Check out the links in my signature for some great information on how to get started with DAQmx and what all of the different terms in the DAQ Assistant mean. 
    I noticed that your DAQ Assistant was set to 1 sample on demand.  What this does is causes the USB-6008 to read a single sample from the analog input during each iteration of the loop.  I am not sure if that is the behavior you are looking for.  Another option would be to setup the task as continuous hardware timed analog input (change the Acquisition mode to Continuous Samples with you desired sample rate and the desired number of samples you would like to read at a time).  This will give you a waveform of data that should show the pulses over a period of time.  You could then count the number of pulses that occur over the length of the waveform.  This would be the equivalent of the number of pulses per second that could be converted to RPM.  This method requires a little more processing than the first method, but could give you a little better accuracy.  Post back if you need more info. 
    Regards,
    Browning G
    FlexRIO R&D

  • How can i control a solenoid valve using time as an input?

    i am trying to control 4 solenoids using labVIEW 8.2.1 and a DAQ 9172 box.I want to control the time period that the valve is on as well as the number of times certain valves are on.

    Also, what cards are you using? Is the solenoid controlled by an analog voltage? analog current? or digital voltage? It seems to me that you would need something like the NI 9263 AO card to control the solenoid position.
    Like Mike said, it is important to know what sort of time period you're trying to use. You can use the operating system time in LabVIEW to determine what value you will output to your solenoid using something like Time Elapsed VI. If the time periods you are looking to control with are too small you won't really be able to achieve that kind of control with a 9172, you may need to look into using a cRIO chassis instead that has hardware timed control. 
    Chris W

  • Audio sampling rate issue using USB 6008

    Hello,
             I'm trying to input audio into the analog ports of my DAQ 6008. I'm using labview 8.5, and generated the DAQ assistant (express), used array index to output the 4 microphone channels into the waveform chart IV (i.e. I'm display 4 charts for the four analog microphone inputs). 
    when I run it, the charts, on the screen, update every 1 sec it seems, which is MUCH slower than I would like to sample at (I perfer the max, of around 10K/s).   does anyone know why it's sampling so slow, and how I can improve this?
    thank you,
    dave

    i cannot use waveform graph instead of chart, becuase i'm gathering scalars, and waveform graph requires at least 1D array data.  Also, in DAQ assistant, how do I set these blocks your refering too?  The only sampling options i see are sampling type (i.e. continuous), samples (which doesn't matter for continuous sampling), and rate (which I've maxed out at 2.5k).
    In the DAQ assistant, the rate of data is being displayed at the correct rate, but in the front panel, and in the file I'm writing too, I'm see only about 1-2 data poins per sec....
    below is a copy of my VI  (note, the system automatically insets a dynamic to array converted.
    thank you!
    dave
    Attachments:
    audiosensory.JPG ‏209 KB

Maybe you are looking for