9481 solenoid

Hi i'm using a NI 9481 relay module to control two 12v solenoid valves. I simply want to be able to to have two buttons on the front pannel each with a text display showing "flowing" "no flow" respectiveley depending obviously on the position of the switch. 
I have a DAQ Assistant on the block diagram which is wired to read 7 different parameters using the following modules:
9211 - 4x thermocouples
9221 - speed 1, torque 1
9215 - speed 2, torque 2, flow
9203 - pressure 1, pressure 2, pressure 3
So basically i want to monitor a hydraulic system in terms of temp, pressure, flow, and pump speed when i operate two valves 'manually' via the front pannel

Answered my own question
right click on button or switch in front panel, visible items, boolean text. "off" "on" is then displayed when the switch/button is thrown/pressed. i simply edited this to show "flow" "no flow" for my valves

Similar Messages

  • Solenoid causing LabVIEW crash?

    Hi
    I am using LabVIEW 8.6 with an NI-9481, 4 channel relay module (amongst others) to control a solenoid valve which opens and closes a hydraulic circuit. The relay module controls a 24V DC supply to the solenoid.
    The solenoid valve is opened and the hydraulic circuit operates. Once a condition is reached, the solenoid valve is closed by LabVIEW,shutting down the hydraulics. A few seconds later, the computer restarts.  To try to remedy this problem a diode was fitted, parallel to the solenoid to protect the circuit from back EMF's generated by the collapsing magnetic field in the solenoid.  This reduced the problem but has not solved it.
    Can anyone suggest any remedies? Could the back EMF pulse be the reason for the computer resetting itself? Or could there be another reason?
    Any help would be greatly appreciated.
    Many thanks.
    John
    Solved!
    Go to Solution.

    Could you be having a "blue screen of death"?  Just this morning I had to solve a problem with the PC restarting itself.  The error messages when Windows restarted told me nothing.  I found a tip on the forum how to turn on the blue screen message.  Go to My Computer/Properties/Advanced/Startup and Recovery Settings, and uncheck the box that tells the PC to restart itself.  Once I did that, I saw I had a blue screen related to the serial driver for a USB/Serial port converter.  That led me down the path to updating the driver and all seems to be working fine for the moment.  Now why the blue screen what able to know which driver caused the problem, but Windows didn't know when it restarted, that just shows the idiocy of windows.
    If you have a blue screen, this will show it and maybe give a clue as to whether you have a crash due to a driver issue or some power failure.

  • Digital wave 9481

    Hi i'm trying to generate two square waves from a 9481 card which have the same amplitude and frequency but are 180 degrees out of phase. This is to alternate power to two solenoid valves. 
    I have what looks like the correct waveforms in the DAQ assistant but i now want a start stop button on the front pannel and a counter that will stop the waves when it gets to 5000 cycles.
    can anybody help at all?

    Yes, we can. How much experience do you have with LabVIEW, and show us what you have written so far.
    Mike...
    Certified Professional Instructor
    Certified LabVIEW Architect
    LabVIEW Champion
    "... after all, He's not a tame lion..."
    Be thinking ahead and mark your dance card for NI Week 2015 now: TS 6139 - Object Oriented First Steps

  • How do I use the NI 9481 to switch a load on for 30s and off for 30s?

    I am attempting to turn a load on and monitor voltages using Signal Express and a cDAQ. I have a NI 9481 Relay module but I am having a problem figuring out how to set it up. I need to have the relay close for 30 seconds and open for 30 seconds.

    Hi M.Fish and welcome to the NI Discussion Forums!
    Try looking at this forum post as it may lead you in the right direction. http://forums.ni.com/ni/board/message?board.id=70&message.id=7113&requireLogin=False
    PBear
    NI RF

  • 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

  • Help needed to use USB 9481 relay device

    I am new to LabVIEW so any help would be appreciated.
    I am attempting to start and stop an instrument with the USB-9481 relay device. On my instrument, connecting pins 1 and 2 will start the machine, and connecting pins 4 and 5 will stop the machine. How do I program LabVIEW to connect pins 1 and 2, wait a determined time, disconnect the connection, and then connect pins 4 and 5? No power needs to be supplied since the 12V is already being supplied by pins 2 and 4.
    Thanks so much.

    Hi Josh, No problem.  I took a look in the NI 9481 Operating Instructions and found this information to be quite useful:
    As far as the DAQ Assistant goes, you can only have 1 DAQ Assistant per device, so you will need to add channels to the DAQ Assistant by pressing the '+' button near the top left (just below the Play button). This device is pretty simple, and I'm sure you'll be using it in no time.
    Message Edited by Otis [DE] on 05-03-2006 03:20 PM
    Otis
    Training and Certification
    Product Support Engineer
    National Instruments
    Attachments:
    9481-Instructions.JPG ‏83 KB

  • I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I am looking to control a 4-way hydraulic solenoid valve. Do I need a PID control toolset, or can i control the system through my 16E4 daq card and scxi chasis

    I think you're asking 2 different questions.
    The PID control toolset is for using PID loops for control; it's just software.
    The DAQ card and scxi chassis are hardware. If you have the appropriate signal conditioning cards in your chassis to control/monitor your solenoid valve, then you can run a PID loop.
    I believe the simple answer is: the PID control toolset is the best way to do control, but there are simple PID VI's (even on this website) that you can download and use for simple control.
    Mark

  • How to connect Solenoid Manifold using DeviceNet

    Hello,
    I am about to buy a solenoid valve manifold  that has an internal controller (I can send the manual of this module if needed) that will be interfaced through DeviceNet. A couple of question:
    1. Will the PCI 8532 do the job to control this manifold.
    2. Since I am completely new to this field, can you please refer me to any reading/relevant LabView/NI material that will make it happen.
    Thank you.
    Cheers,
    Tzahi.

    Hi Tzahi, 
    The devicenet help is online, you also can download the driver for free and look through the example and help. 
    Also, we support the different modes of implicit communication. From the help:
    Poll—Master/slave I/O connection in which the master sends a poll command to a slave, and then receives a poll response from that slave.
    Strobe—Master/slave I/O connection in which the master sends a single strobe command to all strobed slaves, and then receives a strobe response from each strobed slave.
    COS—Master/slave I/O connection in which the master or slave writes data when the data is different. When the data does not change, the master or slave writes the data at a fixed interval.
    Cyclic—Master/slave I/O connection in which the master or slave writes data at a fixed interval. 
    Jesse Dennis
    Design Engineer
    Erdos Miller
    Attachments:
    EX260DN.pdf ‏558 KB

  • Solenoid valve baseline

    Hi, I know there is a lot of info on solenoid valves on the forums, but I am looking to establish myself a starting point. I need a solenoid valve (or any valve that can be controlled, really) that will allow me to open and close the valve fairly rapidly (less than 1 second) so I can control the level of liquid in a container. There will constantly be liquid on one side (the top side of the valve when in vertical position), and the valve will open for a short amount of time until a few mL are dispensed and then close. I read alot about needing a DAQ or a relay board, but is there anything out there that I can just plug into the wall to power and then have a usb or other wire run to my PXI to easily open and close it? I have PXI card slots 4130,2564,8232,4065,8101.
    For example, could I just use something like the coleparmer valve below and just supply 24V from the PXI 4130 to open it and then remove voltage to close it?
    http://www.coleparmer.com/Product/Cole_Parmer_Low_Flow_Direct_Lift_Proportioning_Solenoid_Valve_0_02...
    http://www.grainger.com/Grainger/RED-HAT-Solenoid-Valve-6WTP4?Pid=search
    Solved!
    Go to Solution.

    The PXI-4130 is capable of sourcing 20V at 2 amp which should be more than adequate to drive the valve (the current requirements are missing from the spec sheet on the website) but it's kind of like bringing a bazooka to a fist fight. The PXI-2564 is better suited becuase its' a simple bank of contacts but you will need an external 24 V supply.
    Going USB could add a whole other layer of complexity depending on the device driver. If you have labview and access to the hardware you listed then this type of application is relatively simple to create.
    Here is a great article on implementing a closed loop on/off controller: https://decibel.ni.com/content/docs/DOC-16199.
    And to answer your orignal question...yes, solenoids usually work as you described - apply power to open, remove it to close.
    Philip
    CLD

  • 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 Control 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
    Solved!
    Go to Solution.
    Attachments:
    IMG_20130730_142033.jpg ‏2537 KB

    I'm confused as well.  Why are you sending a signal to a sensor???  Provide power to the sensor all the time and read the digital output from it. Then, send a signal to the solenoid to activate whatever physical action you require when the sensor is triggered.
    EDIT:  One more thing.  Since LabVIEW lacks any sort of time machine functionality you're going to have a fundamental problem activating your camera 1 second PRIOR to your trigger signal.   Usually the answer to that sort of problem is solved by recording the video data constantly in a ring buffer and then when you receive your signal you grab the data.
    Using LabVIEW: 7.1.1, 8.5.1 & 2013

  • 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

  • Errors with contolling solenoid pump using a NI USB-6525 SSR

    Hi
    We are using a NI USB-6525 SSR to control four 24V solenoid pumps at frequency of around 1-2 Hz. We were told that this device could control a number pumps at the same time, but we keep getting the following error messages after about 20 minutes. We are unsure if it’s the device or whether its the vi’s for controlling the pumps that are problem. Each pump is run by turning each relay on and off every 400 ms. Attached is an example vi for one of teh pumps. Each pump has a separate vi’s and there can be up to four pump vi’s running at one time. Any thoughts on what problem might be would be appreciated.
    Note we have tried fiddling with the USB cables to the computer, but the issue still appears.
    Thanks
    Attachments:
    example of error messages.docx ‏172 KB
    Seawater pump 1.vi ‏31 KB

    Hello, Diatom
    Have you checked the power settings for the USB ports on your PC? It's possible that Windows is powering down the ports after a set time because of the power management settings. You can view these settings in the advanced menu of the Power Options on your PC.
    Regards,
    Ryan

  • How to use labjack U12 to control solenoid directiona​l valve with Labview in hydraulic system

    Hi,
    I need to control a solenoid operated direactional valve in hydraulic system with Labjack U12. I am using three relays but need some help on the vi. like which instrument drive I need to use etc....
    The coil voltage for the solenoid valve is :  AC120V, 60Hz; AC110V, 50Hz 
    My goal is to control this solenoid valve open/close at certin time, am using Labview 2011. Any advise would be helpful.
    Thank you!

    Have you got the relays working yet.  Do some initial testing with LJlogger to make sure hardware is controlling the relays as expected.  If you need further help with this step, provide a link to electrical details for the relays and describe how you have the relays connected to the U12.
    As for your programming in LabVIEW, I suspect you are using digital I/O, so the simplest thing to do is call EDigitalOut() to set a particular line to output-high or output-low, or if you need to set a line to input (for open-collector style control) use a call to EDigitalIn().  Perhaps look at "e function example.vi" to get started, and for general information about using the LabJack U12 with LabVIEW see topic #84 from the LabJack forums.

  • Solenoid Valve control with DAQ

    Hello everyone,
    I would like to control 6 solenoid valves (6-24 VDC, 6W) and a small solenoid pump (12VDC) from a NI USB-6212 DAQ. I have been thinking about using a ULN2803 integrated circuit to increase the DO signal coming from the DAQ to 12VDC and use that to power the solenoids. Would this work?
    Any help would be greatly appreciated.
    Thanks!

    The 2803 will work, but you will need more than one since the max current through the die is 2.5A total. At 12V, your solenoids will draw 500mA each, that times 6 solenoids is 3A total. Also note that 500mA is the upper limit of the ouput drive, you may want to parallel two drivers together for each pump (just to be safe).
    I could not find the current rating of the pump so once you know that figure, plan on spreading your loads between the 2803's accordingly.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

Maybe you are looking for

  • 11.1.2.1 Planning application creation problem

    Hi, I have a problem creating a planning application. I've tried both the AppWizard and from Workspace. I am able to create a datasource that succesfully validates and when I apply the settings for the Planning application and press Execute it just h

  • Group/Ungroup in Pages version 1.2 not working

    Hi, In Pages version 1.2 I have a problem using group/ungroup. When I create two objects, for example circles, selected them both an touch one object to get the popup menu, there is no group option available. In both Numbers and Keynote this option i

  • Pismo System Issues

    So my laptop that my dad was using was stolen out of his hospital room so the old Powerbook G3 was taken out of retirement. After a day of use he returned it to me saying it was acting funny. When the system first boots up the dock is missing and I a

  • OC4J frequently shuts down

    Hi All, We are on OBIEE 10.1.3.4.1 When ever a user executes a answer's with data more than 500K rows and IE freezes and after a while the OC4J shuts down. It needs a restart of OC4J and sometimes restart of BI services. Can anyone please let me know

  • Code snippets

    To all the programmers out there, where do you keep your code snippets?