Example
This program will automatically prompt the user through the steps
required to perform an input resistance test. The program will pause
to
allow the user to get the reading from the multimeter.
The example is written using:
a n HP-IB select code of 7, primary address of
09,
and
secondary address of 05 for the HP E1426A
COMPatible programming language
an HP Series
2001300
Computer with HP BASIC
Execute:
OUTPUT 7 0 9 0 5 ; "*CLS"
OUTPUT 70905;"*RSTn
FOR C h a n n e l = l TO 4
PRINT " C o n n e c t t h e m u l t i r n e t e r t o s c o p e c h a n n e l " S V A L S ( C h a n n e 1 )
PRINT "1 MOhrn"
OUTPUT 70905;"CHAN"CVALS ( C h a n n e l )
6 "
:COUP DC"
PAUSE
PRINT "50 Ohm"
OUTPUT 70905;"CHANW6VALS ( C h a n n e l ) 6": COUP DCF"
PAUSE
NEXT C h a n n e l
OUTPUT 70905;"*RST"
1 3 0
END
Nov 15. 1990
Verification Tests
4-7