Fluke PM6685R User Manual

Page of 276
GW-Basic for National
Instruments PC-IIA
Setting up the interface
All these programs start with a declaration containing three lines of setup information
for the interface. This declaration must be merged with the programs prior to running
them. The declaration is printed below, but it is also available as a file on the diskettes
delivered with your interface. The file name is DECL.BAS.
20 CLEAR ,60000! : IBINIT1=60000! : IBINIT2=IBINIT1+3 : BLOAD
“bib.m”,IBINIT1
30 CALL
IBINIT1(IBFIND,IBTRG,IBCLR,IBPCT,IBSIC,IBLOC,IBPPC,IBBNA,
IBONL,IBRSC,IBSRE,IBRSV,IBPAD,IBSAD,IBIST,IBDMA,IBEOS,IBTMO,IBEO
T, IBRDF,IBWRTF,IBTRAP,IBDEV,IBLN)
40 CALL
IBINIT2(IBGTS,IBCAC,IBWAIT,IBPOKE,IBWRT,IBWRTA,IBCMD,IBCMDA,
IBRD,IBRDA,IBSTOP,IBRPP,IBRSP,IBDIAG,IBXTRC,IBRDI,IBWRTI,IBRDIA,
IBWRTIA,IBSTA%,IBERR%,IBCNT%)
Programming Examples
GW-Basic for National Instruments PC-IIA, Setting Up the Interface 4-3