APPENDIX a
IBM PC OR AT (NATfONAL INSTRUMENTS GPIB-PC INTERFACE)
The following program sends a command stxing from an IBM PC OI p;T computer and displays
the instrument reading string on the cornpurer CRT The computer must be equipped with the
Nztiiond Instruments GF’BPC IEEE+%8 inferface and the DOS 20 or 3.0 operating s.ystem. The
GPIB-PC software must be instaXed and ronfigured as described in the instruction manual.
B-2
1. From the front panel, set the primary address of the Model 199 to 26.~ 1
2. With the power off, connect then Model 199 to the IEEE-488 interface installed in the IBM
computer.
3. Type in BASICA on the corn@% keyboard to get into the IBM interpretive BASIC language.
4. Place the~interface software disk in the default drive, type LOAD”DECL” : and pr%s the return
J-Y.
5. Add the lines below to the declaration file; also modify the address in lines 1 and 2, as described
in the GPIB-PC instruction manual.
6. Run the program and type in the desired comnitid string. For example, to place the in&u-
ment in the ACV function and autorange, type in FlRQX and press the return key.
7. The instrumetit reading~stzing will then appear on the computer screen. A typical scample is:
NACV+0.000000E+O.
2. In order for Translator to function properly, a <CR> <LFp sequence must~be added to the
end of any Translator wution string sent tothe instrument. See line 65 above for an example.