HP E1459A Edge Event Detection Flowchart
Unmask all 16 bits of Port. | [SENSe:]EVENt:PORTn:NEDGE:ENABle <mask> | |
| ||
(Either Positive, Negative, | [SENSe:]EVENt:PORTn:PEDGE:ENABle <mask> | |
or both.) | ||
|
INPutn:DEBounce:TIMe <time>
Optionally, set the
Debounce Time
Enable the Edge Detection | [SENSe:]EVENt:PORTn:EDGE:ENABle <state> |
|
|
Wait for the Event to Occur. | [SENSe:]EVENt:PSUMmary:EDGe? |
| |
Do one of the following: |
|
1. Poll the Port Summary Register | STATus:OPERation:PSUMmary:CONDition? |
2.Poll the Status Subsystem
3.Use SRQ to interrupt STATus:OPERation:PSUMmary:ENABle <mask>
STATus:OPERation:ENABle 512 *SRE128
Read the data and clear the | [SENSe:]EVENt:PORTn:NEDGe? |
| |
event detector register | [SENSe:]EVENt:PORTn:PEDGe? |
Figure
Using the HP E1459A Module 35