National Instruments GPIB-PC User Manual

Page 121

Advertising
background image

BASICA/QuickBASIC GPIB-PC Function Calls

Section Four A

GPIB-PC User Manual

4A-46

©National Instruments Corp.

Which PPE and PPD messages are sent and the meaning of a particular
parallel poll response are all system dependent protocol matters to be
determined by you.

On exit, all devices are unaddressed.

Board

IBPPC

Function:

When

BD%

specifies an interface board, the board itself is programmed

to respond to a parallel poll by setting its local poll enable (lpe)
message to the value of

V%

.

Refer also to

IBCMD

,

IBIST

, and Table 2.1 for additional information.

Device Examples:

1.

Configure the device

DVM%

to respond to a parallel poll by

sending data line DIO5 true (ist=0).

100 V% = &H64
110 CALL IBPPC (DVM%,V%)

2.

Configure the device

DVM%

to respond to a parallel poll by

sending data line DIO1 true (ist=1).

100 V% = &H68
110 CALL IBPPC (DVM%,V%)

3.

Cancel the parallel poll configuration of the device

DVM%

.

100 V% = &H70
110 CALL IBPPC (DVM%,V%)

Board Example:

1.

Configure the interface board

BRD0%

to respond to a parallel

poll by sending data line DIO5 true (ist=0).

100 V% = &H64
110 CALL IBPPC (BRD0%,V%)

Advertising