Section Four A
BASICA/QuickBASIC GPIB-PC Function Calls
©National Instruments Corp.
4A-33
GPIB-PC User Manual
Device Example:
1.
Assign the unit descriptor associated with the device named
"FSDVM"
(Fluke Sampling Digital Voltmeter) to the variable
FSDVM%
.
100 BDNAME$ = "FSDVM"
' Device name
110
' assigned at
120
' configuration time
130 CALL IBFIND (BDNAME$,FSDVM%)
140 IF FSDVM% < 0 GOTO 1000 ' ERROR ROUTINE
Board Example:
1.
Assign the unit descriptor associated with the interface board
"GPIB0"
to the variable
BRD0%
.
100 BDNAME$ = "GPIB0" ' Board name
110
' assigned at
120
' configuration time
130 CALL IBFIND (BDNAME$,BRD0%)
140 IF BRD0% < 0 GOTO 1000
' ERROR ROUTINE