Features and Functions
3
Keysight U2600A Series User’s Guide
51
Figure 3-6
Flowchart for interrupt function operation
Firstly, it is recommended to clear the register prior to enabling the interrupt
function. Use the SCPI command “
*CLS
” to clear the register.
Secondly, choose the trigger source (for example bit 301) using the SCPI
command “
SENS:DIG:INT:ENAB
ON,(@301)
”.
Then, enable the
Interrupt Operation Register
so that it will alert the
Status Byte
Register
whenever an interrupt has occured.
Finally, check the status in
Status Byte Register
with the SCPI command “
*STB?
”.
If bit 0 of STB returns “
1
”, it means that an interrupt has occurred. If bit 0 of STB
returns “
0
”, continue to check its status. The user may do something when an
interrupt has occured, for example output a signal from the DIO device.
Clear the register
Select interrupt
trigger source
Enable
Interrupt
Operation Register
*STB?
Return 1 from
bit 0 of *STB?
Do Something
No
Yes
Summary of Contents for U2600A Series
Page 1: ...Keysight U2600A Series USB Isolated Digital Input Output Modules User s Guide...
Page 2: ......
Page 3: ......
Page 14: ...14 Keysight U2600A Series User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK...
Page 16: ...16 Keysight U2600A Series User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK...