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