coarse and fine pregain offsets were switched for pci-6024e
authorFrank Mori Hess <fmhess@speakeasy.net>
Sat, 30 Aug 2003 02:08:21 +0000 (02:08 +0000)
committerFrank Mori Hess <fmhess@speakeasy.net>
Sat, 30 Aug 2003 02:08:21 +0000 (02:08 +0000)
comedi_calibrate/ni.c

index 718a640e1b291990e658db05b3c097df29cb88b4..4d1c77510f75667eebc9712f13852082d7675ec0 100644 (file)
@@ -903,9 +903,9 @@ static int cal_ni_pci_6024e(calibration_setup_t *setup)
        ni_caldac_layout_t layout;
 
        init_ni_caldac_layout( &layout );
-       layout.adc_pregain_offset = 8;
+       layout.adc_pregain_offset = 0;
        layout.adc_postgain_offset = 4;
-       layout.adc_pregain_offset_fine = 0;
+       layout.adc_pregain_offset_fine = 8;
        layout.adc_gain = 2;
        layout.dac_offset[ 0 ] = 6;
        layout.dac_gain[ 0 ] = 11;