Agilent Technologies N9344C Instrukcja Obsługi Strona 32

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 224
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 31
24 Programmer’s Guide
3 Status Registers
— The transition registers are preset to register if the condition goes
from 0 to 1 (false to true, or a positive transition).
— This can be changed so the selected condition is detected if the bit
goes from 1 to 0 (true to false, or a negative transition).
— It can also be set for both types of transitions occurring.
— Or it can be set for neither transition. If both transition registers are
set to 0 for a particular bit position, that bit will not be set in the event
register for either type of change.
Status Register Examples
Each bit in a register is represented by a numerical value based on its
location. See figure below. This number is sent with the command to
enable a particular bit. If you want to enable more than one bit, you
would send the sum of all the bits that you want to monitor.
Example
1 To enable bit 0 and bit 6 of standard event status register, you would
send the command *ESE 65 because 1 + 64 = 65.
2 The results of a query are evaluated in a similar way. If the *STB?
command returns a decimal value of 140, (140 = 128 + 8 + 4) then bit 7
is true, bit 3 is true and bit 2 is true.
Przeglądanie stron 31
1 2 ... 27 28 29 30 31 32 33 34 35 36 37 ... 223 224

Komentarze do niniejszej Instrukcji

Brak uwag