Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

Setting External Reference Voltage code in C

I need to set external reference voltage to PCI-6733, and I use the code of C reference. In my understanding, I need to use

DAQmxSetAODACRefExtSrc() to set the pin of external reference source and use DAQmxSetAODACRefVal() to set the value of external reference voltage.

Following is my code:

DAQmxSetAODACRefExtSrc(taskHandle,"/Dev2/ao0:7","/Dev2/EXTREF");

DAQmxSetAODACRefVal(taskHandle,"/Dev2/EXTREF",10);

 

I use the pin  "EXTREF" to set external reference. I can pass the compiler, but nothing changes. Can anyone help?Thanks for the help in advance

 

AO_channel

0 Kudos
Message 1 of 1
(1,104 Views)