From b69e3de979670a34ba6f7ba5e0ec64d1324d222c Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 30 Jun 2003 15:25:16 +0000 Subject: [PATCH] added adc_pregain_offset_fine for 6036e --- comedi_calibrate/ni.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) 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; -- 2.26.2