EasyManua.ls Logo

National Instruments GPIB-PC - Page 108

National Instruments GPIB-PC
262 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals