beautypg.com

Sense:]event:port n:edge:enable, Sense:]event:port n:nedge – HP E1459A User Manual

Page 56

background image

HP E1459A SCPI Command Reference

55

[SENSe:]EVENt:PORT

n:EDGE:ENABle?

Returns the state of the Edge Event Enable for Port n as a (unsigned) 0 or a 1.

Parameters

Comments

A 0 means the Edge Event is not enabled; a 1 means it is enabled.

[SENSe:]EVENt:PORT

n:NEDGe?

Returns the value of the Negative Edge Detect Register for all 16 bits of Port n.

Parameters

Comments

The value returned is in the range of -32768 to +32767. A 0 in any bit position

indicates a negative edge event was not detected for the corresponding bit of
that port; a 1 in any bit position indicates a negative edge event was detected
for the corresponding bit of that port.

When an edge event is detected, the Edge Detect Status is set true. Refer to the

[SENSe:]EVENt:PSUM:EDGE? and [SENSe:]EVENt:PORTn:EDGE?
commands.

Reading this register for all events that have occurred will clear the event

detector register.

*RST Condition: disables the Edge Event.

Parameter Name

Parameter Type

Range of Values

Default

PORT

n

numeric

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

PORT0

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