Output to trigger 120VAC Solenoid valve

Hi,
I have 4 solenoid valves 120VAC, working at 6.1 watts, requiring 0.05 amps. I want to control them from labVIEW via a DAQ hardware device. 
My doubt is if there are hardware devices out there which give that much output to trigger a solenoid valve ON/OFF?
If NO, is there any way that I can achieve this?
Thank you.
Solved!
Go to Solution.

Solid state relays (SSR's) are a good way to go, they can trpicially be driven by most DIO lines and create no inductive spike when turned off. They also come in zero-crossing turn on/off styles for a clean power on/off transition on the AC side.
If you do end up using a coil based relay, be sure to a reverse biased diode (1N4004 work well) to prevent damage to the DIO line when turned off (aforementioned inductive spike).
-AK2DM
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Messages

  • PFI Pin Trigger for a Solenoid Valve

    I am currently trying to trigger a solenoid valve based on an analog input (level=5 and slope=falling). I need to do this as fast as possible (5 micro-s delay at most). I talked to some people at NI and they recommended using a reference trigger and routing the signal to a PFI pin. I attempted this but it is triggering on the rising edge even though I clearly stated falling edge in the code of the program. I am confused. The code seems like it should work, however it does not. I would appreciate any help.
    Thanks,
    M^2
    Attachments:
    Solenoid_Trigger_PFI.vi ‏35 KB

     Hi M^2,
     The DAQmx Export Signal.vi you have in there is routing a Reference Trigger event to the PFI9 line. I'm not sure this is what you are wanting to do.
    Your application sounds like the following:
      1. Acquire a analog input when a trigger condition is met. This trigger condition is a falling edge of the analog input signal.
    The VI you attached should work, I made a slight change to the source of the trigger condition and removed the DAQmx Export Signal. The analog signal to be monitored should be wired to pin 20, the source is "/Dev1/APFI0". Where Dev1 is whatever name your daq card is known by to MAX.
     I hope this helps! Please consider the suggestion made by falkpl as well, that would definetly cause the trigger slope to be exactly reversed.
     Best regards,
    MatthewW
    Applications Engineer
    National Instruments
    Attachments:
    Solenoid_Trigger_APFI0.vi ‏32 KB

  • Trigger Solenoid Valve (Digital Output)

    I was wondering wether it is possible to use a trigger to send a signal to a digital output. I currently have to send a signal to a solenoid valve when the slope of the data I am acquiring starts to become negative. I know LabVIEW can do triggered data acquisition but can it send a signal to a digital output based on a trigger (falling edge)? I already know what code the signal should send. However, i tried trigger.vi without success. I am relatively new to LabVIEW and would really appreciate any help.
    Attachments:
    Moses_SBE_SSE_Triggered_Continuous_Acquisition.vi ‏76 KB

    Hi M^2,
    If all your trying to do is a software timed trigger as shown in the vi that
    you provided, theres a few things that I would change.  First off, I would
    create the digital output channel and start it prior to the loop.  Second,
    I would initialize the value of the digital output to high (I was using an
    inverse logic LED output) prior to the loop.  Then after the trigger is
    found, write the digital output to the opposite (low).  In addition, I
    changed the DAQmx read to 1 channel with N samples (1D DBL).  This seemed
    more appropriate if you’re just using one analog input channel. 
    I've gone ahead and uploaded the code I modified.  This is setup to my
    parameters.  Basically, I triggered when my thermocouple voltage rising
    edge went over 0.29V.  You will need to change these settings back to what
    you need for your application.  Also, I wanted to note that once the
    digital output is changed low when the trigger is found it will remain low
    until changed high again.
    I hope this helps,
    Paul C.
    Message Edited by Paul C. on 08-16-2007 03:34 PM
    Attachments:
    Moses_SBE_SSE_Triggered_Continuous_Acquisition (REVISED).vi ‏81 KB

  • Solenoid valves control

    Hey everyone 
    I've designed pressure system(dp cell) with a manifold of 8 ports at each of which solenoid valve. What I'm trying to do is to control the valve through labview so the open 1 at the time,  stay open for 30 seconds then  close and another one is opened and so on. I've attached the data sheet of the valves. I'm using Cdaq 9178 with NI:9203 and Ni :9472.  
    The valves are normally closed and the fluid passing through them is silicon oil. 
    I've been trying to look at different examples but I got confused. 
    I should be grateful for any advice or suggestion you give. (I started using labview only  few weeks ago).
    Best Regards
    Rajab
    Solved!
    Go to Solution.
    Attachments:
    PU220AD (1) (2).pdf ‏578 KB

    Hi ToeCutter
    I've attached an example that I think suits my application, However when I try to edit the type Def to change the number of valve the code went blank.  
    I using Ni9472 (dig. output to energies the valves through Solid state relay.  The valves should open sequentially at equal time interval let say(4 valves, each one should stay open 25 sec.). 
    The code is some thing like that:
    1. Open V1 (25sec)(through Ni 9472) and start pressure measurement  ( through analog input using Ni 9203)
    2. Close V1 and open V2. the pressure is continuously measured
    and so on for the rest of the valves 
    could you please suggest the best way to do that.?
    Is it better to write one vi to control the valves and  separate one to write the measurements. AS for my overall data acquisition system.  I'm planning to measure pressure temperature, flow rate of my  flow rig with one VI ( using Ni 9203)
    to give you the full picture of my date acquisition system: 
    All the instrumentation should be triggered (using trigger out from one of the devices) to give simultaneous measurements,( the valves are part of my pressure measurements only).  So once the first device is on the rest of the devices will be triggered as well as the valves control vi. 
    Best Regards 
    Rajab 
    Attachments:
    example3.vi ‏67 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

  • 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.

  • Solenoid Valve with Labview

    Hey everyone,
    Im brand new to LabView and I am in need of some assitance. Ive attached a picture of my block diagram setup. I need help with making the LabView code in order to help run this setup. I want to use LabView to activate my photoelectric sesnor, which when tripped will activate my solenoid valve immediately. The maximum allowable time between the photoelctric sensor being tripped to the valve opening cannot be greater than 50 milliseconds. I would also like to active my high speed camera 1 second prior to the electric sensor being activated. I have included the parts I am using in a list below. Thanks for all the help in advance.
    Solenoid Valve: SV-282 from Omega
    Photoelectric Sensor: Comet 14101A6517
    Output cDAQ: NI-9472 (powered by external power supply "NI PS-15 24V")
    Input cDAQ: NI-9421
    Camera: Phantom v7.3 (connected through ethernet)
    In summary: with labview, activate camera, activate photo sensor which when tripped will open solenoid valve immediately.
    Shervin Aslani
    Attachments:
    IMG_20130730_142033.jpg ‏2537 KB

    You're at the fun stage of the project!  You can start to write instrument drivers while (at the same time) learning how to program a state machine.
    I LOVE starting projects   I hate the tedium of finishing them... until they're done, then I love it again.
    Jim
    You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice

  • Solenoid valve interface with labview

    Hi, currently i have a solenoid valve (NVZ110) with 24Vdc , "+" & "-" terminals) and I have:
    CFP-DIO-550
    CFP-AO-200
    CFP-AO-210
    CFP-AI-112
     My question which module should I use to open and close the valve? Also, I couldn't find a tutorial on how to create a simple vi to control this valve using LabView. Does someone have a simple example VI?
    Solved!
    Go to Solution.

    Here is the manual:
    http://www.ni.com/pdf/manuals/371324c.pdf
    The 550 only accomdates DC outputs, that may explain why the valve is not actuating. Hopefully you did not wire a 24VAC source to the 550, it may be damaged if you did.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • Solenoid valve

    how can i let output signal from PIC16F887(5v)  shut off the solenoid valve with 24v? . i dont want to connect the solenoid from another power source. i want the same 5V DC for the PIC to be amplified uo to 24 volts. because when the solenoid is connected to the power,it will shut off as it is normally open type. what is the best component can step up the voltage to 24v?
    example: FET,TRANSISTOR,OUPTOCOUPLER, LINE DRIVER,RELAY,.....

    duplicate post
    Please stop the thread spamming. I have no idea why you are asking about PIC products on the NI boards.

  • Control solenoid valve

    I am a labview beginner. I try to use labview to control our gas permeation system. Firstly, labview acquire pressure data from PR4000 readout . When pressure is down to certain value then the data goes through NI 6501 I/O device then universal relay card to switch solenoid valve. Then labview coninue acquire pressure data from transducer .
    I hope somebody can give me some advice for writing this program. Or what kind of existing VI programe can I use to modify it?
    Thanks

    Howdy MYLONG!
    One of the best resources to find LabVIEW example programs is in the LabVIEW Example Finder.  You can access it in LabVIEW by going to Help>>Find Examples...
    For examples on outputting data to the NI 6501 I would recommend looking in the Hardware Input and Output>>DAQmx>>Digital Generation folder.
    If you are using serial communication to talk with your PR4000 then look in the Hardware Input and Output>>Serial folder for examples.
    Regards,

  • 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

  • NI 9472 with 9171 to control a 24V Solenoid Valve

    1) I am trying to connect a solenoid valve to a NI digital module 9472 with a USB DAQ Chassis 9171. I have verified the voltage signals and used NI Max to turn the valve on and off. Now I am trying to find a VI to do this operation i.e. turning on and off one solenoid valve.
    I found some example code such as: Digital - SW - Timed Output.vi (attached). I modified the code a little bit to interface the digital channels from the module. Such as in the DAQmx tasks, I have created a "task in" channel to read the signal from specic port from 9472, and as the very same port as the i/o lines . But I keep getting an error  -200463 message: 
    "Specified read or write operation failed, because the number of lines in the data for a channel does not match the number of lines in the channel.If you are using the Digital Waveform datatype, make sure the number of lines in the digital waveform matches the number of lines in the channel. If you are using boolean data, make sure the array dimension for lines in the data matches the number of lines in the channel.
    Number of Lines in Channel: 1; Number of Lines in Data: 8"
    I am very new to Lab view, so any help in this will be greatly appreciated. 
    Vikram

    Hi vdey,
    There is a similar thread that handles that error code when using a DAQmx write. Please take a look at the following link:
    http://forums.ni.com/t5/LabVIEW/Daqmx-read-error-200463/td-p/911975

  • Can the M Series PCI 6221 control 24 VDC solenoid valves like the NI 9477?

    Hi,
    I am working on a project where three solenoid valves requiring 24 VDC and 8 Watts must be controlled by a PCI 6221 multifunction DAQ.
    I read on the NI website that an external power supply and the NI 9477 can be used together to actuate solenoid valves.  Since I already have the PCI 6221,
    I was wondering if an external power supply would allow the PCI 6221 to power the valves.
    Sincerely,
    Tristram Jordan

    Hey,
    Is there any way to control solenoid valves using the PCI 6221 DAQ card? Is it possible for the DAQ card to control a driver circuit for the valves?
    If there isn't an alternate way to control the valves, which DAQ do you recommend purchasing to control 3 solenoid valves and a pressure transducer?
    I am not familiar with the compactDAQ. Does the digital output module need to connect to a DAQ card within the computer? If not, how does it communicate with the computer?
    Sincerely,
    Tristram Jordan

  • 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

  • VI to control solenoid valves with NI 9472 and 9171

    Hello,
    I am working on a prototype composite manufacturing project wherein I am trying to connect four 24 VDC solenoid valves to a NI digital module 9472 with a USB DAQ Chassis 9171. The solenoids will be used to control several pneumatic air pistons. I have so far used NI Max and an NI example code "Digital - SW-Timed Output" to turn one valve on.
    Now I am looking for some help to build a VI accomplish following things:
    1. How do modify the existing VI to make it turn off the solenoid too. As the way I have it now is when I execude the code, the solenoid is continously on.
    2. If I connect 4 such solenoids, and want to turn them on in a pattern such as "TFFF,FTFF,FFTF,FFFT"?
    3. I would want to put a delay time between the 4 operations say 30 s, as a user input in the front panel.
    4. I want this whole operation to repeart "n" times, as another user input. 
    5. Last thing, any changes I make to the VI, and save it form File -> Save/Save as, it reverts back to the original version. I am working from the default NI system folder where all the examples for "Digital Output" are saved. Also whenever I try to copy it to another location, it wont run as it keeps on searching for the other accessory VIs. I have tried to save it as a project, but even that doesnot help. 
    I have enclosed screen grabs of the VI which works for one solenoid, and the original VI (it wont let me save the modified VI properly).
    I am very new to coding with NI, so any help/guidance will be greatly appreciated. Thanks.
    Vikram
     

    Hi vdey
    I hope you are doing great. Regarding your questions about the  digital outputs generation, I did my research using the same example of Digital -SW Ouput VI.
    I did not change anything of the code except for some few changes.
    Ok, first question
    Using this VI example I am able to control the outputs and when I used one of the booleans controls I am able to turn on and off the different outputs of the modules.
    Second question
    If you want to create an automatic pattern with the outputs of the module, I think you can use a array with Booleans premade it by you combined with a state machine.
    Third question.
    Again, with a state machine you can use a delay function and instead of using a constant for the input you can create a control for it.
    Fourth Question
    Maybe you can try with a  Foor loop with a control attached to the N terminal to control the times you want to do this action.
    Fifth Question
    Try to copy the folder where are located these examples and save this new folder in a new location and try to work over this new copy.
    I am attaching somes links that could be useful to you;
    Sintax of multiple channels
    http://digital.ni.com/public.nsf/allkb/9A2AF5E10E0C893386256FE8006807DF?OpenDocument
    Tutorial States Machines
    http://www.ni.com/tutorial/7595/en/
    Warm Regards.
     

Maybe you are looking for

  • Creating a report as a navigation path for other pages

    Hi, I would like to create a report which presents a list of an application's pre-defined reports (each report is created in a separate page). This report should include the following columns: 1) Report Number (1, 2 , 3, ...) 2) Report Name 3) Report

  • Flash 8 pro hangs

    I just purchased Flash 8 pro for home after using MX at work. When I try to select anything in 8; change preferences, publish settings, color mixer, anything.. it just stalls for minutes. The file I am creating was started in MX and works great in MX

  • Widescreen HD resolution help please

    Hi I have a project I want to render out from Maya but I'm confused what format/settings to render out! I have both Premier and after effects and the final output is intended for HI Definition widescreen TV on CD/DVD as I want the best possible quali

  • Final Cut Studio Academic Upgrade to FCS 2??

    So, I just recently bought the Final Cut Studio 5.1 set, but seeing as how I'm a broke college kid, I bought the academic. Can I still upgrade to Final Cut Studio 2? Do I just buy the 499 upgrade? Just a little curious. Thanks in advance

  • Change ISO image of Solaris 10 install CD

    Hi all Is possible change iso image for Solarix 10 at may local machine? I want to add there patch, driver or change initial parameters. How can I do it? Please give me advise. Thanks Robert