Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a way to get the current value of a DAQmx output?

I'm trying to get the current output value of a DAQmx analog output.  In the old traditional DAQ, you could use the read function on an output line to see what the current output is.  I can't figure out a similar way to do this in DAQmx.  Is this possible?  It seems like I could just look at some register in the hardware to see what it is currently outputting?

Thanks,

Mike
0 Kudos
Message 1 of 2
(2,968 Views)

Hi Mike-

If you're using an E Series or M Series device you can read a similar "loopback" using internal routes in DAQmx.  This is more reliable than simply reading an AO last value register because you will actually be using the AI hardware to measure the signal that your AO channel is generating.

To do this, you can monitor an analog input channel in DAQmx using the channel strings described in this KB.  Note that the same internal channel names are supported for M Series devices even though that article only specifically mentions E Series devices. 

Hopefully this helps-

Tom W
National Instruments
0 Kudos
Message 2 of 2
(2,954 Views)