Pni TCM Instrukcja Użytkownika Strona 72

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 77
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 71
PNI Sensor Corporation DOC#1014688 r06
TCM User Manual July 2013 Page 67
/ / go back t o l ooki ng f or t he l engt h byt es.
mSt ep = 1 ;
}
el se
{
/ / Ti cks i s a t i mer f unct i on. 1 t i ck = 10msec.
i f ( Ti cks( ) > mTi me)
{
/ / Cor r upt ed message. We di d not get t he l engt h we wer e
// expect i ng wi t hi n 1/ 2sec of r ecei vi ng t he l engt h byt es. Cl ear
// ever yt hi ng i n t he i nput buf f er si nce t he dat a i s unr el i abl e
mSer i al Por t - >I nCl ear ( ) ;
mSt ep = 1 ;
/ / Look f or t he next l engt h byt es
}
}
br eak ;
}
def aul t :
br eak ;
}
}
Przeglądanie stron 71
1 2 ... 67 68 69 70 71 72 73 74 75 76 77

Komentarze do niniejszej Instrukcji

Brak uwag