
SENSe Subsystem
The SENSe Subsystem configures Event Detection in the HP E1459A Module. The HP E1459A has an event detector for each 16 bit Port to detect positive or negative edge transitions and whether new data is available:
DAV | New data is available on the specified digital input port(s). |
NEDGe | Negative Edge transition occurred on a specified digital input |
| channel(s). |
PEDGe | Positive Edge transition occurred on a specified digital input |
| channel(s). |
For details on using the SENSe Subsystem, refer to Chapter 2.
Syntax | [SENSe:]EVENt |
|
| :PORTn:DAVailable? | |
| :PORTn:DAVailable:ENABle <state> | |
| :PORTn:DAVailable:ENABle? | |
| :PORTn:EDGE? | |
| :PORTn:EDGE:ENABle <state> | |
| :PORT:EDGE:ENABle? | |
| :PORTn:NEDG? | |
| :PORTn:NEDG:ENABle <mask> | |
| :PORTn:NEDG:ENABle? | |
| :PORTn:PEDG? | |
| :PORTn:PEDG:ENABle <mask> | |
| :PORTn:PEDG:ENABle? | |
| :PSUMmary:DAVailable? | |
| :PSUMmary:EDGE? |
[SENSe:]EVENt:PORTn:DAVailable?
Returns the status of the DAVailable Event for Port n as either a (unsigned) 0 or a 1.
Parameters
Parameter Name | Parameter Type | Range of Values | Default |
|
|
|
|
PORTn | numeric | 0, 1, 2, 3 (PORT = PORT0) | PORT0 |
|
|
|
|
|
|
|
|
Comments • 1 indicates the event did occur; 0 indicates the event did not occur.
•The event must be enabled using the [SENS:]EVEN:PORTn:DAV:ENAB command.
•The event is cleared by reading the data on Port n with the MEAS:DIG:DATAn? command.
Example SENS:EVEN:PORT 2:DAV? | Returns status of DAV Event for Port 2 |
EVEN:PORT 1:DAV? | Returns statusof DAV Event for Port 1 |
52 HP E1459A SCPI Command Reference