3
Features and Functions
52
Keysight U2600A Series User’s Guide
SCPI Example 1, Enable interrupt at bit 301 and
-> *RST;*CLS
// Clears the register to start from
known state
-> SENS:DIG:INT:ENAB ON, (@301)
// Enable interrupt for bit 0
-> ...
// Interrupt occurs in bit 301
-> *STB?
// Query Status Byte Register
<- +0
// Interrupt occurred but STB doesn't
see it yet
-> STAT:INT:ENAB 1
// Enable the bit so STB can see it
-> *STB?
// Query STB again
<- +1
// Now STB sees that an interrupt has
occurred
-> STAT:INT:EVEN?
// Find out which interrupt source
<- +1
// “1” means the interrupt source is
from bit 301
-> STAT:INT:EVEN?
// Once read the event is cleared
<- +0
// 0 now. If there is another interrupt, it
will be set to 1 again
NOTE
Refer to
U2600A Series Programmer’s Reference
under the topic
“
[SENSE:]DIGital:INTerrupt[:ENABle]
” for more example on interrupt
function.
Содержание U2600A Series
Страница 1: ...Keysight U2600A Series USB Isolated Digital Input Output Modules User s Guide...
Страница 2: ......
Страница 3: ......
Страница 14: ...14 Keysight U2600A Series User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK...
Страница 16: ...16 Keysight U2600A Series User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK...
Страница 30: ...1 Getting Started 30 Keysight U2600A Series User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK...
Страница 72: ...5 Dismantle Procedures 72 Keysight U2600A Series User s Guide THIS PAGE HAS BEEN INTENTIONALLY LEFT BLANK...