I
APPENDIX A
EXAMPLE 1:
USE OF THE INTERACTIVE
GPIB PROGRAM ’IBIC’
This example assumes the use of an lBM PC, oracompatiblecomput-
er, equipped with a National Instruments GPIB interface card. It also
assumes that the GPIB-driver is left in the default state so that the
device name "dev4" corresponds to the GPIB address 4 which is as-
sumed to be the address of the oscilloscope. All text entered by the
user is underlined.
ibic<CR>
program announces itself
: ibfind<CR>
enter board/device name: dev4<CR>
dev4: ibwrt<CR>
enter string: "tdiv?"<CR>
[0100] ( cmpl
count: 5
dev4: ibrd<CR>
enter byte count: 10<CR>
[0100] ( cmpl
count: 10
54 44 49 56 20 35 30 45
2D 39
dev4: ibwrt<CR>
enter string: "cl:cpl?"<CR>
[0100] ( cmpl
count: 7
dev4: ibrd<CR>
enter byte count: 20<CR>
[2100]
( end cmpl
count: 11
43 31 3A 43 50 4C 20 44
35 30 0A
dev4: q<CR>
for quitting the program
TDIV 50E
-9
CI:CPL D
50~I,
199