Using the RF Multiplexers 35
Chapter 3
60 !
70
!Unmask the Event Status bit in the RF Multiplexer’s Status
80
!Register. Unmask the RF Multiplexer error conditions in its
90
!Standard Event Status Register.
100 OUTPUT 70915;"*SRE 32"
110 OUTPUT 70915;"*ESE 64"
120 !
130
!At this point, the RF Multiplexer is programmed for the
140
!intended application.
145
!
150 OUTPUT 70915;" . . .
160 OUTPUT 70915;" . . .
170 ENTER 70915; . . .
180 PRINT . . .
190 END
200 !
210
!When an error occurs, clear the RF Multiplexer to regain
220
!control. Execute a Serial Poll to clear the service request
230
!bit in the Status Register. Read all error messages in the
240
!RF Multiplexer error queue. Clear all bits in the RF Multiplexer
250
!Standard Event Status Register.
255
!
260 SUB Errmsg
270
DIM Message$[256]
280
CLEAR 70915
290
B=SPOLL (70915)
300
REPEAT
310
OUTPUT 70915; "SYST:ERR?"
320
ENTER 70915; Code, Message$
330
PRINT Code,Message$
340
UNTIL Code=0
350
OUTPUT 70915;"*CLS"
360
STOP
370 SUBEND
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание E1472A
Страница 3: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 9: ...8 Notes Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...
Страница 69: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com...