Agilent Technologies 8935 Series Instrukcja Użytkownika Strona 53

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 329
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 52
Chapter 2 53
Methods For Reading Measurement Results
Background
The following programs demonstrate a recommended technique for
querying and entering data from the Test Set. This technique will
prevent the Test Set from getting into a ‘hung’ state such that power
must be cycled on the Test Set to regain manual or programmatic
control.
There are a variety of programming constructs which can be used to
implement this technique. In the programming examples presented, a
function call is implemented which returns a numeric measurement
result. The function call has two pass parameters; the query command
(passed as a quoted string) and a time-out value (passed as a integer
number).
The time-out value represents how long you want to wait, in seconds,
for the Test Set to return a valid measurement result. If a valid
measurement result is not returned by the Test Set within the time-out
value, the function returns a very large number. The calling program
can check the value and take appropriate action.
The program examples are written so as to be self-explanatory. In
practice, the length of: variable names, line labels, function names, etc.,
will be implementation dependent.
Przeglądanie stron 52
1 2 ... 48 49 50 51 52 53 54 55 56 57 58 ... 328 329

Komentarze do niniejszej Instrukcji

Brak uwag