Teledyne LeCroy X-STREAM OSCILLOSCOPES Remote Control User Manual
Page 32

P
A R T
O
N E
:
A B O U T
R E M O T E
C O N T R O L
26
ISSUED: February 2005
WM-RCM-E Rev D
The listener and talker addresses for the controller and the X-Stream DSO are:
L
O G I C
D
E V I C E
L
I S T E N E R
A
D D R E S S
T
A L K E R
A
D D R E S S
External Controller
32 (ASCII
64 (ASCII @)
X-Stream DSO
32 + 4 = 36 (ASCII $)
64 + 4 = 68 (ASCII D)
PERFORM AN *IST POLL
You can also read the state of the Individual STatus bit (IST) returned in parallel polling by sending the *IST?
query. To enable this poll mode, you must initialize the X-Stream DSO as for parallel polling by writing into the
PRE register. Since *IST emulates parallel polling, apply this method wherever parallel polling is not supported
by the controller. In the following example, the command INE 1 enables the event “new signal acquired” in the
INR to be reported to the INB bit of the status byte STB. The command *PRE 1 enables the INB bit to set
the IST bit whenever it is set. The command CHDR OFF suppresses the command header in the
oscilloscope’s response, simplifying the interpretation. The status of the IST bit is then continuously monitored
until set by the oscilloscope:
CMD$ = “CHDR OFF; INE 1; *PRE 1”
CALL IBWRT (SCOPE%, CMD$)
DO
CMD$ = “*IST?”
CALL IBWRT (SCOPE%, CMD$)
CALL IBRD (SCOPE%, RD$)
LOOP UNTIL VAL (RD$) = 1