beautypg.com

Example – Measurement Computing GPIB-488 User Manual

Page 61

background image

Chapter 3

GPIB 488.1 Library Reference

Programming Reference Manual

3-48

GPIB-488

The new timeout is used until it is redefined (by calling

ibtmo

again) the device/board is

re-initialized (by calling

ibfind

or

ibonl

); or the system is restarted.

Example

This example changes the timeout (to 30 sec) for all calls specifying the "plotter" device at
PAD 3.

C

int plotter;

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

ibtmo(plotter, T30us);