CFP 1808 connection to solenoid valve

I am new with labView and i need help connecting a solenoid valve to a cFP 1808 module I/O. ow can i connect the valve to the module coul any one give some steps? A diagram could help. Thank you 

Related post under another username, continued here:
http://forums.ni.com/ni/board/message?board.id=110​&thread.id=9143
-AK2DM
~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~

Similar Messages

  • 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 you please tell me in detail how to connect a CFP-1808 and a CFP-RLY-425 with a ethernet conection to the labview please

    Hi,
    I am doing a research in creating a controlled environment, and i require using labview and NI equipment to control the environment. I am currently using a CFP-1808 as a bank, and using a relay module to connect it to the labview software.
    Can you give me detailed information on how i will be able to do that.
    regards,
    Robert

    Hi Robert,
    Have you had an opportunity to take a look at the cFP-1808 Quick Start Guide? And the Operating Instructions for the cFP-RLY-425? Also the Compact FieldPoint FAQ is an excellent resource.
    Hopefully those can get you on your way, 
    Fred V -- Product Support Engineer -- LabVIEW R&D -- National Instruments

  • Daisy Chain cFP-1808 Network interface module

    Hello,
    I am trying to find some documententaion that explains how to Daisy Chain 2 NI cFP-1808, which is Network interface modules for the Compact Fieldpoint platform. http://sine.ni.com/nips/cds/view/p/lang/en/nid/202210
    I am also trying to find out what are the performance hits when adding 1 or more cFP-1808 to a system.
    Also has anybody had experience doing this and what did you observe?
    Thanks
    Dan

    Use an ethernet switch to connect as much as you want.
    The filedpoint system is low-speed I/O with 10Mbit ethernet you should see no performance hit imho.
    André
    Regards,
    André
    Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)

  • 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

  • How to build a current loop with cFP-1808 and analog input module AI-110?

    I am trying to build a current loop to measure temperature via and a resistance thermometer a transmitter that converts the signal to current. I am using cFP-1808 with the power supply PS-5 directly connected to it.
    For the current measurement I am using AI-110 but I am having trouble with getting current in my loop. I have looked in he manual of the AI-110 module and am using the set up for a "loop with an external power supply", counting the PS-5 as external. That is to say, I have connected the negative transmitter terminal to Vsup on the AI-110, and the positive side to Vin. Now, however, I am stuck. I don't get any signal in my loop.
    Can I use the PS-5 to power my AI-110 module or do I need to use another external power supply? In this case, how do I connect this?
    Thanks for any help!

    Clara G:
    I overlooked that in your 1st post you were connecting the other end of the transmitter to Vin, you actually need to connect it to Iin on the AI-110.
    Regarding the use of the PS-5 to power the cFp and supply power to the loop, I do not know if that will work or not.
    Suggest that you switch over to Iin terminal and use the separate 24V supply to power the loop. If that works, them maybe try the PS-5 for both the cFP and loop power.
    -AK2DM
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
    "It’s the questions that drive us.”
    ~~~~~~~~~~~~~~~~~~~~~~~~~~

  • RS 232 port to communicate between cFP 2100 and Multiple cFP 1808

    Hello All,
    I am using one cFP-2100 (controller) and two cFP-1808 (network contoller) for a project.
    All the three devices have Ethernet port, so i can connect to a network switch for communicating with the Host PC.
    My question is:
    All the three devices have Serial Ports (RS 232) too, Can i use those ports to communicate between the three devices (1 controller and 2 Net. controllers) and use the ethernet port in the controller (2100) only for communicating with a Host PC?
    If this is possible, how to do the RS 232 cabling ?
    Regards
    John

    Hi bjsprem,
    You can connect network modules to the controller with serial.   This KB shows how to do this.  Hope this helps!
    --Starla T. 

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

  • 3way solenoid valve control

    Problem Description :
    Hi
    I want to control 3way solenoid valve position using Labview. Soleniod
    valve is now connected to computer through PCI-6514. What I want to do
    is
    as follows
    1) Set time to be in position1 from front panel (range 1-5 sec)
    2) Set time to be in position2 from front panel (range 1-5 sec)
    3) Keep changing the position 1&2 until hit stop button
    To achieve this, how can I build block diagram ? Use DAQ assistant ? Or if you can tell me which part of the Labview manual to take a look at for a start, that would be appreciated.
    Thank you!

    See attached. Since I don't have a PCI-6514, you will have to do that part on your own. Look for examples in the examples folder or the NI website. This is very basic stuff. If possible, take a Labview class or you will be asking these simple questions forever.
    - tbob
    Inventor of the WORM Global
    Attachments:
    TimedControl.vi ‏75 KB

  • Getting cFP-1808 Data to cFP-2120 Controller

    Hello,
    We have an existing cFP-2120 Controller with the following embedded system software.  We are on LabView 7.1.1 on the Windows Host.
    LabView Realtime
    7.1
    NI-Watchdog
    2.1.2
    NI-VISA
    3.2
    NI-Serial RT
    2.5.4
    NI-IrDA RT
    1.0.1
    Datsocket for LabView Realtime
    4.2
    FieldPoint Drivers
    5.1.0
    FieldPoint VI Manager
    3.1.0
    We have purchased a cFP-1808 Ethernet/Serial backplane and additional I/O modules to extend the I/O on this system (as the I/O on the existing controller's 8-slot backplane is already full with 3 AI-111, 3-DI-301 and 2-RLY-420 modules).  We were told and I have seen documents that suggest that we should be able to read data from the cFP-1808 on the cFP-2120.
    Unfortunately, however, we can only read data on the first module (an AI-111) and up to the second module's channel 11 (a DI-301).  The data reads fine within NiMAX, but not from the controller.  No channels after that channel can be read either.  The module has been swapped and the backplane swapped as well.
    The cFP-1808 is on the same subnet, etc.  The Ethernet info is:
    cFP-2120 Controller, 10.0.0.242
    cFP-1808 Backplane, 10.0.0.142
    Subnet Mask(s) 255.255.255.0
    As I said, some of the data can be read up to a certain channel and the I/O data can be read within MAX.  So, it's not really an Ethernet config issue.  So please, *no replies on the Ethernet config* or hardware setup.
    We are also trying the Optomux (extended) Commands via the serial connection (direct via null modem cable), but have not had much luck there either.
    If we can not extend the I/O in this way, then how else would be with such an existing controller?
    Thanks,
    Tom Held
    Miller Engineering
    Information Technologies Group

    Please allow me to answer my own post here.
    We were able to read data on modules residing on a cFP-1808 I/O backplane from a cFP-2120 controller.  This was done using "logos" protocol and the Datasockets functions.  The format of the URL is as such
    logos://10.0.0.10/FP/4DI/12
    where,
    10.0.0.10 is the configured IP address of the cFP-1808
    FP is constant for FieldPoint
    4 refers to the number "4" module in the bank
    DI is a designation of a digital input module (in our case a DI-301 module), and
    12 is the number "12" input channel
    We were under the incorrect impression that Datasockets could not be used on an embedded/controller system.  To the contrary, this does work.
    There are recent documents released by Idaho National Labs and other government studies in SCADA security that suggest that the Datasockets protocol is not secure.  Therefore, we have made some reassurances by isolating this communication behind a firewall.  Only a single Windows XP host can communicate with the network segment which contains both the cFP-2120 controller and the cFP-1808 I/O backplane.
    We were never able to get the Extended Optomux functions to work between cFP-2120 controller and cFP-1808 I/O backplane (using respective serial ports and null modem adapter).  This would be a secured method as well, if it could be made to work.
    Tom Held

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

  • 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

Maybe you are looking for