05-08-2018 07:53 AM
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.
Solved! Go to Solution.
05-08-2018 10:11 AM
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
05-10-2018 04:44 AM
Thanks a lot, VincentTang! I also think you are right. So this is what I have done.