Reading Instrument
When debugging a program, you may want to know if an instrument
Errors
error has occurred. Some instruments can display error messages on
their front panels. If your instrument cannot do this, you can put the
following code segment in your program to read and display error
messages.
10 !
20 ! The rest of your
30
! variable declarations
40 !
50 DIM
60 INTEGER Err-num
70 !
80 ! Part of your program
90
! that generates errors
100 !
110 !
200 REPEAT
210
OUTPUT
220
! Query instrument error
230
ENTER
240
! Read error message
250
260
! Print error message
270 UNTIL Err-num = 0
280 ! Repeat until no errors
290 !
300 !
The
rest of your program
310 !
1-76 Getting Started Programming
Содержание 8360 B Series
Страница 231: ...HP IB Henu See Also CONNECTORS HP IB Getting Started Programming in Chapter I H 2 Operating and Programming Reference ...
Страница 363: ...NF N 2 w z P w D I oa 0 i B 6 7 On s5 n 20 a g 9 i T2 ...
Страница 406: ...2b Menu Maps Menu Maps 2b 1 ...
Страница 407: ...t t m ALC Bandwidth Select Module Sense Low High Auto AUTO Front Rear None ALC MENU ...
Страница 412: ...rMENU SELECT 1 Fault Fault Info1 Info2 Fault Info3 Clear Fault S E R V I C E M E N U 6 ...
Страница 469: ...5 Instrument History This chapter is left blank until this manual requires changes Instrument History 5 l ...