beautypg.com

Ibconfig, Table 3-3. ibconfig options, Ibconfig -11 – Measurement Computing GPIB-488 User Manual

Page 24: Syntax, Parameters

background image

Chapter 3

GPIB 488.1 Library Reference

GPIB-488

3-11

Programming Reference Manual

IBCONFIG

Changes configuration parameters.

Syntax

C

ibconfig (int boarddev, unsigned int option,

unsigned int value)

Parameters

boarddev

is an integer containing either a board handle or device handle.

option

is a number which represents the configuration option to be changed. See Table 3-3.

value

is the new configuration option value. Allowed values differ according to the option

being programmed.

Table 3-3. ibconfig Options

Option

Valid for

Description

IbcPAD

bd or dev

New Primary Address. Available primary addresses
range from 0 to 30.

value

can be from 0 to 30 decimal.

(See

ibpad

.)

IbcSAD

bd or dev

New Secondary Address. There are 31 secondary
addresses available.

value

can be 0 or from 96 to 126

decimal. (See

ibsad

.)

IbcTMO

bd or dev

Timeout Value. The approximate time that I/O
functions take before a timeout occurs.

value

is a

number from 0 to 15 which corresponds to timeout
values ranging from 10 usec to 100 sec. (See ibtmo)

IbcEOT

bd or dev

Enable/disable END message. If this option is enabled,
the EOI line is asserted when the last byte of data is sent.
If

value

= 0, then the EOI line is not asserted. If

value

is non zero, the EOI line is asserted.

IbcPPC

bd

Parallel Poll Configure. Redefines the parallel poll
configuration bytes.

value

can be 0, or from 96 to 126

decimal.

IbcREADDR

dev

Forced re-addressing. If

value

= 0, forced

re-addressing is disabled

non zero = Forced re-addressing is enabled.