Anritsu Site Master S331D Uživatelský manuál Strana 116

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 132
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 115
WriteToPort (SendScalePointer, 9);
// Expecting 1 byte back (give the unit 5 seconds to respond):
// 0xFF = success
// 0xE0 = parameter failure (invalid value)
// 0xEE = time-out (insufficient # of bytes received by SPA)
if(!ReadFromPort(1, ResponseBytes, 5))
{
return FAILURE;
}
else
{
if ( *ResponseBytes != 0xFF )
{
return FAILURE;
}
else
{
return SUCCESS;
}
}
} /* SetSPAScale */
110 Site Master PM
Zobrazit stránku 115
1 2 ... 111 112 113 114 115 116 117 118 119 120 121 ... 131 132

Komentáře k této Příručce

Žádné komentáře