From 54530d0efb9c1be68a032aa024281f9d0a9843e7 Mon Sep 17 00:00:00 2001 From: Frank Mori Hess Date: Tue, 1 Jul 2003 20:57:15 +0000 Subject: [PATCH] fixes for pci-6071e --- comedi_calibrate/ni.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index 1cc88a9..ada29ba 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -83,7 +83,7 @@ static struct board_struct boards[]={ { "pci-6034e", STATUS_UNKNOWN, NULL, ni_setup_observables, -1, -1 }, { "pci-6035e", STATUS_DONE, cal_ni_pci_6035e, ni_setup_observables, 0x1af, 0x1b0 }, { "pci-6036e", STATUS_GUESS, cal_ni_pci_6036e, ni_setup_observables, -1, -1 }, - { "pci-6071e", STATUS_SOME, cal_ni_pci_6071e, ni_setup_observables, 0x1a9, 0x1aa }, + { "pci-6071e", STATUS_DONE, cal_ni_pci_6071e, ni_setup_observables, 0x1a9, 0x1aa }, { "pxi-6071e", STATUS_GUESS, cal_ni_pxi_6071e, ni_setup_observables, -1, -1 }, { "at-mio-16e-10", STATUS_GUESS, cal_ni_at_mio_16e_10, ni_setup_observables, 0x1a7, 0x1a8 }, { "pci-mio-16xe-50", STATUS_SOME, cal_ni_pci_mio_16xe_50, ni_setup_observables, 0x1b5, 0x1b6 }, @@ -786,9 +786,9 @@ static int cal_ni_pci_6071e(calibration_setup_t *setup) } init_ni_caldac_layout( &layout ); - layout.adc_pregain_offset = 0; - layout.adc_pregain_offset_fine = 8; + layout.adc_pregain_offset = 8; layout.adc_postgain_offset = 4; + layout.adc_unip_offset = 7; layout.adc_gain = 2; layout.dac_offset[ 0 ] = 6; layout.dac_gain[ 0 ] = 11; -- 2.26.2