From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

ni 6111 problems

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
0 Kudos
Message 1 of 2
(6,653 Views)
0 Kudos
Message 2 of 2
(6,635 Views)