Edge Detected Event Detection; Polling The Port Summary Register; Polling The Status Subsystem; Srq Interrupt - Keysight E1459A User & Scpi Programming Manual

64-channel isolated input interrupt module
Table of Contents

Advertisement

Using the Keysight E1459A Module

Edge Detected Event Detection

The Keysight E1459A can respond to two types of events: Edge Events (either
negative edge, positive edge, or both) and Data Available. Figures 2-1 and 2-2
show the general flow of commands necessary to program the Keysight E1459A
to detect events. Figure 2-1 shows the flow for Edge Event Detection, Figure 2-2
shows the flow for Data Available Event Detection.
Three general methods of identifying and servicing an Keysight E1459A detected
event are:
When an Edge Event occurs, read the value of the port(s) with the
[SENSe:]EVENt:PORTn:NEDGe?
When a Data Available Event occurs, read the value of the port(s) with the
MEASure:DIGital:DATAn

Polling the Port Summary Register

The first, and easiest method, is to repeatedly poll the Port Summary Register
using either the
the
until an event occurs. Example 3 in this chapter demonstrates this procedure.

Polling the Status Subsystem

The second method is to set-up and repeatedly poll the Status Subsystem. You
can poll the port summary condition register with the
STATus:OPERation:PSUMmary:CONDition?
has occurred.
Alternately, set-up the port summary enable register to specify the type of
event(s) and port(s) to monitor; use the
STATus:OPERation:PSUMmary:ENABle<mask>
Status Operation Enable register; use the
Repeatedly poll the module with the *
becomes set.

SRQ Interrupt

The third method is to set-up the Status Subsystem and have the Keysight
E1459A Module interrupt (via SRQ) the system computer when an event occurs.
In general, you must set-up the port summary enable register to specify the type
of event(s) and port(s) to monitor; use the
34
– Polling the Port Summary Register
– Polling the VXI Status Subsystem
– SRQ Interrupt
command.
SENSe:EVENt:PSUMmary:EDGE?
SENSe:EVENt:PSUMmary:DAVailable?
or
[SENSe:]EVENt:PORTn:PEDGe?
command (for Edge Events) or
command (for Data Available Events)
command to determine when an event
command. Then enable bit 9 in the
STATus:OPERation:ENABle
STB?
command to determine when bit 7
Keysight E1459A/Z2404B User and SCPI Programming Guide
Edge Detected Event Detection
command.
command.

Advertisement

Table of Contents
loading

This manual is also suitable for:

Z2404a

Table of Contents