beautypg.com

Ibask, Table 3-2. ibask options, Ibask -3 – Measurement Computing GPIB-488 User Manual

Page 16: Syntax, Parameters

background image

Chapter 3

GPIB 488.1 Library Reference

GPIB-488

3-3

Programming Reference Manual

IBASK

Returns software configuration information.

Syntax

C

ibask (int boarddev, int option, unsigned int

*value)

Parameters

boarddev

A board handle or device handle

option

Specifies which configuration item to return; see Table.

value

Current value of specified item returned here

Table 3-2. ibask Options

Option

Valid for

Information returned

IbaPAD

bd/dev

Primary address of board or device

IbaSAD

bd/dev

Secondary address of board or dev

IbaTMO

bd/dev

The current timeout value for I/O commands (refer to
ibtmo for a list of possible values)

IbaEOT

bd/dev

0 = EOI asserted at end of write

non zero = EOI is not asserted at end of write

IbaPPC

bd

The current parallel poll configuration of the board

IbaREADDR

dev

0 = Forced re-addressing is disabled

non zero = Forced re-addressing is enabled.

IbaAUTOPOLL

bd

0 = automatic at end of write

non zero = automatic serial poll is disabled

IbaCICPROT

bd

0 = CIC protocol is disabled

non zero = CIC protocol is enabled

IbaSC

bd

0 = board is not system controller

non zero = board is system controller

IbaSRE

bd

0 = do not automatically assert REN line when system
controller

non zero = automatically assert REN line when system
controller