[SENSe:]EVENt:PORTn:EDGE?

Returns the status of the Edge Detect Event for Port n as either a 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 A 0 means an edge event was not detected; a 1 means an edge event was detected.

An edge event must have been enabled by the

[SENSe:]EVENt:PORTn:EDGE<state> command and a Positive edge mask and/or Negative edge mask must be enabled and set to a non-zero value.

The Edge Event Status is cleared by reading PEDGE and/or NEDGE status registers for that port.

[SENSe:]EVENt:PORTn:EDGE:ENABle <state>

Enables / disables an edge event interrupt for Port n.

Parameters

Parameter Name

Parameter Type

Range of Values

Default

 

 

 

 

PORTn

numeric

0, 1, 2, 3 (PORT = PORT0)

PORT0

<state>

numeric or discrete

0, 1, OFF, ON

OFF

 

 

 

 

 

 

 

 

Comments Refer to the [SENSe:]EVENt:PORTn:PEDGe:ENAB or [SENSe:]EVENt:PORTn:NEDGe:ENAB commands to configure the edge detect registers.

The Edge Event Status is cleared by reading PEDGE and/or NEDGE status registers for that port.

*RST Condition: not enabled.

Example EVEN:PORT 2:EDGE:ENAB ON

Enables Edge Detection on Port 2

54 HP E1459A SCPI Command Reference