National Instruments GPIB-PC User Manual

Page 106

Advertising
background image

Section Four A

BASICA/QuickBASIC GPIB-PC Function Calls

©National Instruments Corp.

4A-31

GPIB-PC User Manual

Device Example:

1.

Send the END message with the last byte of all subsequent
writes to the device

PLOTTER%

.

100 V% = 1 ' Enable sending of EOI.
110 CALL IBEOT (PLOTTER%,V%)
120 REM It is assumed that WRT$ contains
130 REM the data to be written to the GPIB.
140 CALL IBWRT (PLOTTER%,WRT$)

Board Examples:

1.

Stop sending END with the last byte for calls directed to the
interface board

BRD0%

.

100 V% = 0 ' Disable sending of EOI.
110 CALL IBEOT (BRD0%,V%)
:
:

2.

Send the END message with the last byte of all subsequent
write operations directed to the interface board

BRD0%

.

100 V% = 1

' Enable sending of EOI.

110 CALL IBEOT (BRD0%,V%)
120 REM It is assumed that WRT$ contains
130 REM the data to be written and all
140 REM Listeners have been addressed.
150 CALL IBWRT (BRD0%,WRT$)

Advertising