Exfo FTB-500 (Window XP) Instrukcja Użytkownika Strona 390

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 389
COM Properties and Events
380 FTB-500
Properties
ReadBinary
Description With this method you can retrieve data from the
device output queue in a binary format.
Syntax object.ReadBinary
Parameter(s) None.
Response(s) An array of bytes.
Notes This method must be used in conjunction with
the Write method. Always ensure that a query
has been previously sent before attempting to
read a response from the output queue.
To properly set the data format, send the
following command (using the Write method):
FORM:DATA<wsp>PACKED
The retrieved data does not need to be converted
to a numeric format before you can use it in
calculations, for example.
To help you know the actual length of the
retrieved data, it has the following structure:
The first byte contains the # character.
The byte that immediately follows contains
the number of subsequent bytes that you
have to check to know the total length.
Przeglądanie stron 389
1 2 ... 385 386 387 388 389 390 391 392 393 394 395 ... 404 405

Komentarze do niniejszej Instrukcji

Brak uwag