Although discrete parameters values look like command keywords,
do not confuse the two. In particular, be sure to use colons and
spaces properly. Use a colon to separate command mnemonics from
each other. Use a space to separate parameters from command
mnemonics.
Boolean Parameters.
Boolean parameters represent a single binary
condition that is either true or false. There are only four possible
values for a Boolean parameter.
Examples of Boolean parameters:
O N
Boolean TRUE, upper/lower case allowed
OFF
Boolean FALSE, upper/lower case allowed
1
Boolean TRUE
0
Boolean FALSE
Examples of Boolean parameters in commands:
100 OUTPUT
110 OUTPUT
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 !
T h e r e s t o f y o u r
3 0
! v a r i a b l e d e c l a r a t i o n s
40 !
50 DIM
60 INTEGER Err-num
70 !
80 ! Part of your program
9 0 ! t h a t g e n e r a t e s e r r o r s
100 !
110 !
200 REPEAT
210
OUTPUT
220
! q u e r y i n s t r u m e n t e r r o r
230
ENTER
240
! Read error
message
250
260
! P r i n t e r r o r m e s s a g e
270 UNTIL Err-num = 0
2 8 0 ! R e p e a t u n t i l n o e r r o r s
290 !
3 0 0 ! T h e r e s t o f y o u r p r o g r a m
310 !
Getting Started Programming
Summary of Contents for 8360
Page 97: ......
Page 138: ......
Page 150: ......
Page 318: ......
Page 336: ......
Page 352: ......
Page 360: ......
Page 397: ...2b Menu Maps Menu Maps 2b 1 ...
Page 398: ......
Page 399: ......
Page 400: ......
Page 401: ......
Page 402: ......
Page 403: ......
Page 404: ......
Page 405: ......
Page 406: ......
Page 435: ...Figure 3 3 Removing the Side StraPs and Feet NSTALLATION 3 ...
Page 461: ......
Page 463: ...5 4 Change B HP 8380 User s Handbook ...
Page 467: ...5 8 Change A HP 8360 User s Handbook ...
Page 481: ...optioll9l3RackFhgeKit 5 22 Change A HP 8360 User s Handbook ...