beautypg.com

Ibeot – National Instruments GPIB-PC User Manual

Page 105

background image

BASICA/QuickBASIC GPIB-PC Function Calls

Section Four A

GPIB-PC User Manual

4A-30

©National Instruments Corp.

BASICA/QuickBASIC

BASICA/QuickBASIC

IBEOT

IBEOT

Purpose:

Enable or disable END termination message on write

operations

Format:

CALL IBEOT (BD%,V%)

Remarks:

BD%

specifies a device or an interface board. If

V%

is non-

zero, the END message is sent automatically with the last
byte of each write operation. If

V%

is zero, END is not sent.

IBEOT

is needed only to alter the value from the

configuration setting.

The END message is sent when the GPIB EOI signal is
asserted during a data transfer and it is used to identify the
last byte of a data string without having to use an end-of-
string character.

IBEOT

is used primarily to send variable

length binary data.

The assignment made by this function remains in effect
until

IBEOT

is called again, the

IBONL

or

IBFIND

function is called, or the system is rebooted.

When

IBEOT

is called and an error does not occur, the

previous value of

V%

is stored in

IBERR%

.

Device

IBEOT

Function:

When

BD%

specifies a device, the END termination message method

that is selected is used on all device I/O write operations to that device.

Board

IBEOT

Function:

When

BD%

specifies an interface board, the method that is selected is

used on all board-level I/O write operations, regardless of what device is
written to.

Refer also to

IBEOS

and to Table 2.1.