National Instruments GPIB-PCII Getting Started page 24

Hide thumbs Also See for GPIB-PCII:
Table of Contents

Advertisement

Installation and Elementary Programming Example
The same results can be obtained using standard NI-488 functions, as shown in
the following Microsoft QuickBASIC program.
REM $INCLUDE: 'C:\GPIB-PC\QBDECL.BAS'
DIM Reading AS STRING*30
CALL IBDEV(0,6,0,12,1,0,Fluke45%)
CALL IBCLR(Fluke45%)
CALL IBWRT(Fluke45%,"*RST; VDC; RANGE 2; TRIGGER 2; *TRG; VAL?")
CALL IBRD(Fluke45%,Reading$)
PRINT Reading$
CALL IBONL (Fluke45%,0)
END
A more detailed example program is given in Chapter 3, and several more
examples are presented in the NI-488.2 MS-DOS Software Reference Manual.
PCII/IIA and NI-488.2 MS-DOS
'open device
'clear device
2-6
© National Instruments Corp.
Chapter 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gpib-pciia181065-01181065-02

Table of Contents