Example – Measurement Computing GPIB-488 User Manual

Page 29

Advertising
background image

Chapter 3

GPIB 488.1 Library Reference

Programming Reference Manual

3-16

GPIB-488

Example

This example opens an available device, associates it with GPIB interface board 1, and assigns
it the following device configuration parameters.

•

primary address = 3

•

secondary address = 19 (115 decimal, 73 hex)

•

timeout = 10 sec

•

Assert EOI

•

EOS Disabled

•

The new device handle is returned.

C

int device;

device = ibdev(1, 3, 0x73, 13, 1, 0);

Advertising