From: Frank Mori Hess Date: Mon, 30 Jun 2003 15:25:16 +0000 (+0000) Subject: added adc_pregain_offset_fine for 6036e X-Git-Tag: r0_7_21~73 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=b69e3de979670a34ba6f7ba5e0ec64d1324d222c;p=comedilib.git added adc_pregain_offset_fine for 6036e --- diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index c91ee7e..1cc88a9 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -759,12 +759,13 @@ static int cal_ni_pci_6036e(calibration_setup_t *setup) /* this is for the ad8804_debug caldac */ init_ni_caldac_layout( &layout ); - layout.adc_pregain_offset = 0; /* guess */ + layout.adc_pregain_offset = 0; layout.adc_postgain_offset = 4; + layout.adc_pregain_offset_fine = 8; layout.adc_gain = 2; layout.dac_offset[ 0 ] = 6; - layout.dac_gain[ 0 ] = 7; /* guess */ - layout.dac_gain_fine[ 0 ] = 11; /* guess */ + layout.dac_gain[ 0 ] = 7; + layout.dac_gain_fine[ 0 ] = 11; layout.dac_linearity[ 0 ] = 10; layout.dac_offset[ 1 ] = 9; layout.dac_gain[ 1 ] = 3;