beautypg.com

Measurement Computing GPIB-488 User Manual

Page 18

background image

Chapter 3

GPIB 488.1 Library Reference

GPIB-488

3-5

Programming Reference Manual

Returns

ibsta

will contain a 16-bit status word; refer to Appendix B,

IBSTA

.

iberr

will contain an error code if an error occurred

value

will contain the current value of selected configuration

item

Usage notes

Some options apply to boards, some to devices and some apply to
both boards and devices.
A program may modify many of these configuration items via
library routines (for example,

ibtmo

,

ibeos

, etc.). In that case,

ibask

returns the modified version.

Example

Returns the

ist

bit of a device at PAD 3.

C

int dev, istbit;

dev = ibdev (0,3,0,13,1,0);

ibask (dev, IbaIST, &istbit);