beautypg.com

Ibeos (bd,v), Ibbna (bd,"gpibn"), Ibdma (bd,v) – National Instruments GPIB-PC User Manual

Page 61: Ibpad (bd,v), Ibsad (bd,v), Ibrsc (bd,v), Ibtmo (bd,v)

background image

GPIB-PC Functions — Introduction

Section Three

GPIB-PC User Manual

3-18

©National Instruments Corp.

IBEOS (bd,v)

IBEOS

assigns the end of string (EOS) character to use with subsequent

IBRD

and

IBWRT

operations. This character is compared with incoming

bytes from the device and may be used to terminate a read operation. It
is also compared with outgoing bytes to the device and may be used to
generate the END message (EOI).

IBBNA (bd,"GPIBn")

IBBNA

assigns board n to be the access board for device

bd

.

IBDMA (bd,v)

IBDMA

selects DMA or programmed I/O for the board. This function is

only appropriate for boards with DMA capability.

IBPAD (bd,v)

IBPAD

sets the primary GPIB address of the device or board.

IBSAD (bd,v)

IBSAD

sets the board's or device's secondary GPIB address or disables

secondary addressing.

IBRSC (bd,v)

IBRSC

causes the board to request or release System Control authority.

IBTMO (bd,v)

IBTMO

sets the time limit in which operations with a device or board

must complete.

Another important feature of the GPIB-PC functions is that they return
status information about the boards and devices in the system. This
information is returned in the form of three global status variables,

IBSTA

,

IBERR

, and

IBCNT

. The beginning of Section Four fully

describes these variables.