time2 ReadTimeDateB_Short(void) { DelayOff(); QueryOpenB(); if (Input() != SER_GOODCHECK) return GetTime2Error(); DelayOff(); QueryTimeB(); if (Input() != SER_GOODCHECK) return GetTime2Error(); return GetTime2(ReadTimeB(), true); }
ulong2 ReadSerialCanB(uchar ibCan) { uchar r; for (r=0; r<MaxRepeats(); r++) { DelayOff(); QueryOpenB(); if (Input() == SER_GOODCHECK) break; if (fKey == true) return GetLong2Error(); } if (r == MaxRepeats()) return GetLong2Error(); ShowPercent(25); return QuerySerialB_Full(); }