From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling Valve Using DAQ and 2N2222

Hello everyone, Hope You are good.
I am Using 6008 NI DAQ To Control 24v valve to switch on/off
When I connect the digital pin from the DAQ Directly to the base of the transistor The valve goes on .. and i can't control it

so my question is what is the right connection Should i use on 6008 NI to control the valve
and do i need resistance between the pin and the base .. and if the answer if yes what  is the value of the resistance should i use?

0 Kudos
Message 1 of 4
(2,289 Views)

Your question isn't a LabVIEW question, but rather an Electronics Circuit question, what circuit (presumably a 1-transistor circuit) should you use to get a TTL signal to drive a 24v relay.  Maybe "Ask Google"?

 

Bob Schor

0 Kudos
Message 2 of 4
(2,218 Views)

For questions specific to the NI USB-6008 you can check out the device's User Guide or Device Specifications, which has the device pinout on the last page.

Francine P.
Applications Engineering
National Instruments
0 Kudos
Message 3 of 4
(2,201 Views)

This might be of some help. https://www.electronics-tutorials.ws/blog/relay-switch-circuit.html

========================
=== Engineer Ambiguously ===
========================
0 Kudos
Message 4 of 4
(2,186 Views)