From 60d73ea2eb522730a3df4d110146a6f4ca7b1289 Mon Sep 17 00:00:00 2001 From: David Schleef Date: Fri, 7 Jun 2002 17:54:27 +0000 Subject: [PATCH] Update for 6024e --- comedi_calibrate/ni.c | 22 ++++++++++------------ 1 file changed, 10 insertions(+), 12 deletions(-) diff --git a/comedi_calibrate/ni.c b/comedi_calibrate/ni.c index d9ae8eb..c4975c7 100644 --- a/comedi_calibrate/ni.c +++ b/comedi_calibrate/ni.c @@ -487,19 +487,17 @@ int cal_ni_pci_6023e(calibration_setup_t *setup) int cal_ni_pci_6024e(calibration_setup_t *setup) { - /* There seems to be a bug in the driver that doesn't allow - * access to caldac 10, and possibly others. */ - postgain_cal( setup, ni_zero_offset_low,ni_zero_offset_high,1); - //cal1( setup, ni_zero_offset_high,10); - //cal1( setup, ni_zero_offset_high,0); - cal1( setup, ni_reference_low,3); + postgain_cal( setup, ni_zero_offset_low,ni_zero_offset_high,4); + cal1( setup, ni_zero_offset_high,0); + cal1( setup, ni_zero_offset_high,8); + cal1( setup, ni_reference_low,2); if(do_output){ - cal1( setup, ni_ao0_zero_offset,5); - //cal1( setup, ni_ao0_zero_offset,4); // nonlinearity? - //cal1( setup, ni_ao0_reference,6); - cal1( setup, ni_ao1_zero_offset,8); - //cal1( setup, ni_ao1_zero_offset,7); // nonlinearity? - //cal1( setup, ni_ao1_reference,9); + cal1( setup, ni_ao0_zero_offset,6); + //cal1( setup, ni_ao0_zero_offset,10); // nonlinearity? + cal1( setup, ni_ao0_reference,11); + cal1( setup, ni_ao1_zero_offset,9); + //cal1( setup, ni_ao1_zero_offset,1); // nonlinearity? + cal1( setup, ni_ao1_reference,5); } return 0; } -- 2.26.2