LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Read function for analog output

Solved!
Go to solution

Hi I am new to programming with NI DAQ. I am using NI USB-6003 with python. First I am trying with C.

 

I am using the WriteAnalogScalarF64() to write on the analog output. But what is the command to read what value is being output?

ReadAnalogF64() gives error, so I think it only applies to the analog inputs. What I need is a function that gives me what is the value set at analog output.

 

Thanks.

0 Kudos
Message 1 of 3
(2,199 Views)
Solution
Accepted by topic author mdaliaamir

Hello, 

 

If I am not mistaken, I don't believe there is a function to read from the analog output. It is likely better to create a loop-back connection and hook up the analog output to the analog input of another pin on the same NI USB-6003 and read the analog input pin with the ReadAnalogF64 function.   

 

Regards,

Vincent

0 Kudos
Message 2 of 3
(2,183 Views)

Thanks a lot, VincentTang! I also think you are right. So this is what I have done. 

 

0 Kudos
Message 3 of 3
(2,162 Views)