beautypg.com

National Instruments GPIB-PC User Manual

Page 104

background image

Section Four A

BASICA/QuickBASIC GPIB-PC Function Calls

©National Instruments Corp.

4A-29

GPIB-PC User Manual

4.

Send END when the linefeed character is written for operations
involving the interface board

BRD0%

.

10 EOSV% = &H0A ' EOS info for IBEOS.
:
:
100 V% = EOSV% + &H0800
110 CALL IBEOS (BRD0%,V%)
120 REM Assume the board has been
130 REM addressed; do board write.
140 WRT$ = "123" + CHR$(&H0A)
150 CALL IBWRT (BRD0%,WRT$)

5.

To send END with linefeeds and to terminate reads on linefeeds
for operations involving the interface board

BRD0%

, change line

100 in Example 4.

:
:
100 V% = EOSV% + &H0C00