From: David Schleef Date: Wed, 22 May 2002 22:53:01 +0000 (+0000) Subject: updates for 6035e X-Git-Tag: r0_7_19~22 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=51468b10f23c97e5c181df36a29912b1a0601b8e;p=comedilib.git updates for 6035e --- diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index 404e5f3..4ec41a0 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -70,7 +70,7 @@ static struct board_struct boards[]={ { "at-mio-16e-1", STATUS_SOME, cal_ni_at_mio_16e_1 }, { "pci-mio-16e-1", STATUS_DONE, cal_ni_pci_mio_16e_1 }, { "pci-6025e", STATUS_SOME, cal_ni_pci_6025e }, - { "pci-6035e", STATUS_GUESS, cal_ni_pci_6035e }, + { "pci-6035e", STATUS_SOME, cal_ni_pci_6035e }, { "pci-6071e", STATUS_SOME, cal_ni_pci_6071e }, { "pxi-6071e", STATUS_GUESS, cal_ni_pxi_6071e }, { "at-mio-16e-10", STATUS_GUESS, cal_ni_at_mio_16e_10 }, @@ -384,12 +384,20 @@ int cal_ni_pci_mio_16e_1(calibration_setup_t *setup) int cal_ni_pci_6035e(calibration_setup_t *setup) { - // 6035e (old) - postgain_cal( setup, ni_zero_offset_low,ni_zero_offset_high,1); + postgain_cal( setup, ni_zero_offset_low,ni_zero_offset_high,4); + cal1( setup, ni_zero_offset_high,0); - cal1( setup, ni_reference_low,3); + cal1( setup, ni_zero_offset_high,8); + + cal1( setup, ni_reference_low,2); + if(do_output){ - // unknown + cal1( setup, ni_ao0_zero_offset,6); + //cal1( setup, ni_ao0_zero_offset,10); /* linearity? */ + cal1( setup, ni_ao0_reference,11); + cal1( setup, ni_ao1_zero_offset,9); + //cal1( setup, ni_ao1_zero_offset,1); /* linearity? */ + cal1( setup, ni_ao1_reference,5); } return 0; }