Digital I/O

cancel
Showing results for 
Search instead for 
Did you mean: 

Help in synchronizing a syringe pump with a solenoid valve

Hello,

 

I'm trying to control a solenoid valve and synchronize it with a syringe pump. The syringe pump is currently controlled by a LabView program and has an RS-232 outlet and TTL I/O. I would like to stop the syringe pump and close the solenoid valve through LabView. How am I supposed to do this?

 

Thanks

0 Kudos
Message 1 of 9
(5,586 Views)

What make/model is the pump?

 

You state it has TTL I/O and it is currently being controlled by a LabVIEW program. Does the command set for the pump allow you to control the I/O? If so, send a command to turn on an output right after sending the command to stop the pump. You would need some interface circuitry between the output port and the pump since I doubt the ouput has enough current/voltage to power the valve.

 

Once we know the make/model we can probably give you more details.

 

-AK2DM

 

 

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 2 of 9
(5,579 Views)

It's a New Era Pump System Inc, model no. NE-1000. Currently the program doesn't control the TTL I/O. I'm currently controlling the pump using an RS-232 connection.

 

What kind of circuitry should I get for connecting the two? I'm planning to get the miniature solenoid valve here: http://www.mcmaster.com/#miniature-solenoid-valves/=q8r27

 

Sorry, I'm a complete newbie in these areas. Thank you so much for the help.

0 Kudos
Message 3 of 9
(5,530 Views)

The pump has a TTL output that you can set high or low within the program of your pump, see the last paragraph of this page:

http://www.syringepump.com/NE-1000.htm

 

I'm not sure if there is also a command that can be sent in the RS-232 data to toggle this output directly, you will have to look through the pump's programming manual.

 

I looked at the page for your solenoid, I need to know what coil voltage you will be using in order to give details on how to apply power to it.

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 Kudos
Message 4 of 9
(5,525 Views)

I will be using the 24 DV voltage for the power supply.

 

I looked at the manual of the pump and I didn't really find anything to toggle this output directly from RS-232. How do I send the command to control the TTL output through LabView then?

0 Kudos
Message 5 of 9
(5,504 Views)

Hello,

 

To send serial commands from LabVIEW you can use VISA.   If you would like to see an example of how to perform serial reads and writes in VISA, you can see the Basic 2 Port Serial Write and Read.vi example in the Example Finder.  The example finder can be found by going to Help»Find Examples from LabVIEW.  This example is in Hardware Input and Output»Serial 

Caleb W

National Instruments

0 Kudos
Message 6 of 9
(5,488 Views)
If you find that your pump does not have enough current/voltage then you may want to look into purchasing a refurbished pump with enough output for what you need. Their not as expensive as new ones and work just as well. Check out the selection of syringe pump here.
0 Kudos
Message 7 of 9
(4,943 Views)

Hi, there

Is there any update and/or solution to this? I am facing the similar problem and really appreciate for your help. Thanks

0 Kudos
Message 8 of 9
(4,560 Views)

Hi supernanny,

 

There are actually several answers offered above.  You can send out and receive serial communication on a COM port of your PC using VISA in LabVIEW.  You can also send a digital output pulse to turn on the solenoid if necessary from a DAQ device.  Have you tried the above solutions/suggestions?  If yes, are you having any success or troubles with the methods?

 

Best,

Adam
Academic Product Manager
National Intruments
0 Kudos
Message 9 of 9
(4,542 Views)