Driver Development Kit (DDK)

cancel
Showing results for 
Search instead for 
Did you mean: 

Loading CalDaqs on ni 6111

Can anyone provide me with the information that I need to load the CalDaqs from EEPROM on an ni6111?
 
I have the ESeries manual which appears to adequately document the procedure but the 6110/6111 manual has no details on:
 
- EEProm map
- CalDacs map
 
Is the 6111 compatible with any of the E-Series boards?
 
thanks
Russell Thamm
0 Kudos
Message 1 of 2
(6,658 Views)

I'm attaching an example program which reads the EEPROM and writes to the CalDAQs on E Series.  The example shows three different types of CALDAQs.  The 6111 has an 8804 CalDAQ and stores a simple Gain and Offset value for each AO channel.  The adresses are as follows.

  tCaldacInfo 6111AOGainCaldacs[2] =
   {
      {kAD8804,1,1},         // channel 0, loadline 1, dacNumber 2
      {kAD8804,3,1}          // channel 1, loadline 1, dacNumber 4
   };

   tCaldacInfo 6111AOOffsetCaldacs[2] =
   {
      {kAD8804,2,1},         // channel 0, loadline 1, dacNumber 3
      {kAD8804,4,1}          // channel 1, loadline 1, dacNumber 5
   };

The EEPROM for the 6111 is somewhat different, but looking at the code, you can read from it in the same way.  The relevant EEPROM adressed for the 6111 are:
395 Factory ch0 gain (AO)
394 Factory ch0 Offset (AO)
393 Factory ch1 gain (AO)
392 Factory ch1 Offset (AO) 
0 Kudos
Message 2 of 2
(6,653 Views)