From: W. Trevor King Date: Wed, 17 Oct 2012 17:07:23 +0000 (-0400) Subject: calibration: set .num_arefs in CalibrationSetting._arefs_set. X-Git-Tag: 0.6~25 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=34093150da3826712e04ada84bfe52eee40e5bb0;p=pycomedi.git calibration: set .num_arefs in CalibrationSetting._arefs_set. --- diff --git a/pycomedi/calibration.pyx b/pycomedi/calibration.pyx index 7a7eb5f..67eed07 100644 --- a/pycomedi/calibration.pyx +++ b/pycomedi/calibration.pyx @@ -530,6 +530,7 @@ cdef class CalibrationSetting (object): self.setting.arefs[i] = x for i in range(length, _comedilib_h.CS_MAX_AREFS_LENGTH): self.setting.arefs[i] = 0 + self.setting.num_arefs = length arefs = property(fget=_arefs_get, fset=_arefs_set) def _caldacs_get(self):