LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

I want to control pneumatic valve using I/P convertor, so i need to generate current signal from my ni-daq 6009, so how can i do that???

How to generate current signal using DAQ 6009... And i also want to know how to calculate sampling time for any process loop???

0 Kudos
Message 1 of 9
(3,265 Views)

You will find some examples in LabVIEW (Menu Help > Search examples...) showing how to generate current with DAQ boards.

 

But as far as I know, you cannot use a USB-6009 for generating currents. So you will need to generate analog voltage and use some resistors.

0 Kudos
Message 2 of 9
(3,236 Views)

You will probably need an amplifier. The analog outputs can only source a few mA and the valve likely requires much more than that. If you have a controller with a 4-20 mA input, you will also need external active circuitry because the 6009 cannot produce that much current.

 

Lynn

0 Kudos
Message 3 of 9
(3,218 Views)

You could use an industrial signal converter similar to this:

http://uk.rs-online.com/web/p/signal-conditioning/4184843/

or you could get adventurous and use one of these:

http://www.analog.com/static/imported-files/data_sheets/AD420.pdf

I have used the latter before with a 6009 (I used digital lines to do SPI) and it was a successful project, I think it is still in use 5 years on.   You can easily fit one of these in the prototyping accessory NI sell for the 6009.

Good luck!

Michael.

 

0 Kudos
Message 4 of 9
(3,207 Views)

I tried with 250 ohm resistor but i got 18.73mA for 5V.......

I require 20mA for 5V.....

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

did you read my last post...

if you could do it with a resistor i would have suggested a resistor...

search op-amp current source on google...

and read the specs of your device especially analogue output...

0 Kudos
Message 6 of 9
(3,162 Views)

The analog outputs of the USB-6009 are rated for 5 mA, maximum. So the fact that you got 18 mA is an indication of how conservatively NI rates their devices.

 

You need an external circuit to drive a 4-20 mA device. There are ICs made specifically for such purposes or you can build your own with an op amp and a transistor.

 

Lynn

0 Kudos
Message 7 of 9
(3,143 Views)
Lynn
sorry if i sounded ranty in my last post but i get annoyed when people like us give sound advice and it seems to get ignored. look back and see how many times the question has been answered. we offer time to help people out i wish more people would read what we say!
Any advice for keeping calm?
Michael
0 Kudos
Message 8 of 9
(3,137 Views)

Michael,

 

Check some of the threads in the Breakpoint Forum. A few laughs can help.

 

Sometimes it seems that the same advice is accepted when the second or third person proposes it, usually in slightly different terms. When I get to the point of annoyance, I usually just drop out of that thread. Sometimes I jump in (as here) when it seems like the OP is not paying attention or several responses have made varying guesses about what the OP wanted. Unfortunately, there does not seem to be any universal technique for staying calm. Remember you are not obligated to continue to post in any thread.

 

Lynn

0 Kudos
Message 9 of 9
(3,126 Views)