Hi,
I am using a NI 6111 under Win XP + RTX.
Using the DDK example aoex1, there is an offset of about 0.4 volts on channel 0. (Channel 1 is fine)
I thought that the card needed calibrating until I ran NIs Measurement & Automation software.
This indicates an error of the order of 40 millivolts.
However after running this software, the DDK example then produces the correct output voltage.
This persists until I power down the PC and restart it. Then the 0.4 volts offset reappears.
I wrote a small program using nidaq.
AO_Configure(1,0,0,0,10,0);
AO_VWrite(1,0,5.0);
If I run this prior to running aoex1, I get the correct output.
It is the AO_VWrite call that fixes the error.
My conclusion is that the example code does not setup the card properly.
I have two of these cards in two separate PCS, both exhibit identical behaviour.
I'd be grateful for any pointers
Russell Thamm