Open lorrandal opened 7 years ago
In fact, QmixPump.is_calibrating
is always True
after powering on the system, as reported by LCP_IsCalibrationFinished()
; we should ask Cetoni about this, it appears to be a bug in their code.
I assume it's a documentation problem on Cetoni's side:
LCP_IsCalibrationFinished()
would naturally produce a negative response right after powering up the system, because no calibration has been carried out at this point. After a successful calibration, the response would be positive.
So while Cetoni's docs say,
0 - Device is calibrating 1 - Device calibration has finished <0 - Error code
I believe the first line should rather read 0 | - Device has not yet been calibrated or is currently calibrating
.
is_calibrating
property exhibits an incoherent behaviour: it gives different results if it is called before or after the first calibration. eg:Function: