From 28ea3d0529423af82b6b7f718e8f96c9a1fe06eb Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Mon, 13 Oct 2003 19:22:07 +0000 Subject: [PATCH] fix coarse/fine ai pregain offset caldacs for pci-6025e --- comedi_calibrate/ni.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index 4d1c775..496894f 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -922,9 +922,9 @@ static int cal_ni_pci_6025e(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; -- 2.26.2