LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Constant Voltage output from DAQ

I am currently stuck. I need to have a DAQ interface through LabVIEW and output a constant Voltage. not a signal. Basically, I need it to activate a relay once I activate it in LabVIEW. is this even possible? I have both a Digital IO DAQ and an Analog IO DAQ.

0 Kudos
Message 1 of 7
(2,391 Views)

Hi Jordan,

 

which DAQ devices are we talking about?

Do you use DAQmx devices?

 

Generic answer: yes, it's possible. The DAQ device needs to supply enough current to drive your relay - or you use an amplifier...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 7
(2,384 Views)

What relay and what boards are you using?  You might have an issue with output current not being strong enough for the relay.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 7
(2,383 Views)

I am using an Altronix Phenolic or Fiberglass Relay Module 6/12VDC 120Ma DPDT. 

0 Kudos
Message 4 of 7
(2,374 Views)

Hi Jordan,

 

what about the questions on your DAQ hardware?

 

Any datasheets of the relays?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 7
(2,339 Views)

You want to "activate a Relay", i.e. you want to deliver a digital signal, "Relay On"/"Relay Off".  You can generate this with a D/A converter, but it is much simpler and more logical to do this with a Digital I/O port.

 

However you generate this (digital) signal, you need to use it to activate a Relay, which means it must generate sufficient current to drive the relay.  Many DAQ devices, particularly DIO devices, have rather low Current drive, while many electro-mechanical devices, such as Relays, require modest Currents.  This can often be accomplished by a one-transistor circuit and an external 5v Power Supply.  Talk to an Electrical Engineer (beyond my expertise!).

 

Bob Schor

0 Kudos
Message 6 of 7
(2,306 Views)

got it! thank you so much for the help. I utilized the DAQ assistant to send a logic high of 5V to the relay when I need it to activate

0 Kudos
Message 7 of 7
(2,298 Views)