Agilent Technologies 54645A Instrukcja Obsługi Strona 76

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 111
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 75
Service Request Enable Register (SRER)
Setting the Service Request Enable Register bits enable corresponding bits in
the Status Byte Register. These enabled bits can then set RQS and MSS (bit
6) in the Status Byte Register.
Bits are set in the Service Request Enable Register using the *SRE command
and the bits that are set are read with the *SRE? query.
Refer to figure 6-2.
Example The following example sets bit 4 (MAV) and bit 5 (ESB) in the Service
Request Enable Register.
OUTPUT 707;"*SRE 48"
This example uses the parameter “48” to enable the oscilloscope to generate
an SRQ interrupt under the following conditions:
When one or more bytes in the Output Queue set bit 4 (MAV).
When an enabled event in the Standard Event Status Register generates a
summary bit that sets bit 5 (ESB).
Trigger Event Register (TRG)
This register sets the TRG bit in the status byte when a trigger event occurs.
The TRG event register stays set until it is cleared by reading the register or
using the *CLS command. If your application needs to detect multiple
triggers, the TRG event register must be cleared after each one.
If you are using the Service Request to interrupt a program or controller
operation, each time the trigger bit is set you must then clear the event
register.
Status Reporting
Service Request Enable Register (SRER)
6-11
Przeglądanie stron 75
1 2 ... 71 72 73 74 75 76 77 78 79 80 81 ... 110 111

Komentarze do niniejszej Instrukcji

Brak uwag