Sense subsystem, Sense:]event:port n:davailable – HP E1459A User Manual
Page 53

52
HP E1459A SCPI Command Reference
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
:PORT
n:DAVailable?
page 52
:PORT
n:DAVailable:ENABle
page 53
:PORT
n:DAVailable:ENABle?
page 53
:PORT
n:EDGE?
page 54
:PORT
n:EDGE:ENABle
page 54
:PORT:EDGE:ENABle?
page 55
:PORT
n:NEDG?
page 55
:PORT
n:NEDG:ENABle
page 56
:PORT
n:NEDG:ENABle?
page 56
:PORT
n:PEDG?
page 57
:PORT
n:PEDG:ENABle
page 57
:PORT
n:PEDG:ENABle?
page 58
:PSUMmary:DAVailable?
page 58
:PSUMmary:EDGE?
page 59
[SENSe:]EVENt:PORT
n:DAVailable?
Returns the status of the DAVailable Event for Port n as either a (unsigned) 0 or a 1.
Parameters
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
Parameter Name
Parameter Type
Range of Values
Default
PORT
n
numeric
0, 1, 2, 3 (PORT = PORT0)
PORT0
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com