Added at-mio-16e-1
authorDavid Schleef <ds@schleef.org>
Sat, 11 May 2002 06:42:14 +0000 (06:42 +0000)
committerDavid Schleef <ds@schleef.org>
Sat, 11 May 2002 06:42:14 +0000 (06:42 +0000)
comedi_calibrate/ni.c

index 2797d61b989e93c2183bd7d1277d5aede0b97e1d..6de1817825afeb8bd32fe893f34709b9dfdae757 100644 (file)
@@ -354,7 +354,18 @@ int cal_ni_pci_mio_16xe_10(calibration_setup *setup)
 
 int cal_ni_at_mio_16e_1(calibration_setup *setup)
 {
-       return cal_ni_at_mio_16e_2( setup );
+       postgain_cal(ni_zero_offset_low,ni_zero_offset_high,1);
+       cal1(ni_zero_offset_high,0);
+       cal1(ni_reference_low,3);
+       cal1(ni_unip_offset_low,2);
+       if(do_output){
+               cal1(ni_ao0_zero_offset,4);
+               //cal1(ni_ao0_zero_offset,5); /* nonlinearity? */
+               cal1(ni_ao0_reference,6);
+               cal1(ni_ao1_zero_offset,7);
+               //cal1(ni_ao0_zero_offset,8); /* nonlinearity? */
+               cal1(ni_ao1_reference,9);
+       }
 }
 
 int cal_ni_pci_mio_16e_1(calibration_setup *setup)