Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Using a DAQ to convert a digital signal (0-5V) to a analog voltage (0-1V) with hardware triggers

I'm using a PCIe-6374 DAQ, I'm trying to configure a simple validation setup. I have a TTL digital signal coming into my DAQ, and I just want the DAQ to respond to this digital signal by outputting an analog voltage. 0V in, 0V out. 5Vin, 1V out. I've been able to run this in software using the nidaqmx python library, but the response is far too slow. I believe I need the triggering to be happening on a hardware level. Using NI MAX, I've been able to trigger a single analog response from a single digital pulse, but I cannot find anyway to have the drop in the digital signal "trigger" a drop in the analog output. My latest approach is to create an analog waveform (of just a constant 1V) and to try to use a pause trigger from the digital signal to interrupt the analog output. However, I cannot find how to configure a hardware pause trigger using NI MAX, Matlab, or Python.

Thank you for any guidance or suggestions. While I would hope this setup would not require the use of LabVIEW, it would be useful to know if this kind of configuration requires LabVIEW to set.

0 Kudos
Message 1 of 4
(460 Views)

@silasIRT wrote:

I have a TTL digital signal coming into my DAQ, and I just want the DAQ to respond to this digital signal by outputting an analog voltage. 0V in, 0V out. 5Vin, 1V out.


It might be easier to just use a Level Shifter.  No DAQ required then.

 

Or another option is to drive a FET with the digital signal to connect to 1V with a pull-down to ground.


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 2 of 4
(446 Views)

I appreciate that, but this is just a test setup to validate the all the hardware is working. The next steps will require the DAQ's analog output to be a modulating signal. I just want to show first that the binary case of the output being on or off, works with the hardware it's driving.

0 Kudos
Message 3 of 4
(440 Views)

Get a series resistor and a 1V zener to step down the signal to 0-1V range.

What device does this 1V feed into? how strict is the 1V requirement?

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(436 Views)