02-07-2024 08:53 AM
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.
02-07-2024 09:47 AM - edited 02-07-2024 09:49 AM
@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.
02-07-2024 09:52 AM
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.
02-07-2024 09:54 AM
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?