beautypg.com

Example – Measurement Computing GPIB-488 User Manual

Page 66

background image

Chapter 3

GPIB 488.1 Library Reference

GPIB-488

3-53

Programming Reference Manual

If you want to send an EOS character at the end of the data string, you must include it in the
string.

Example

This example sends five bytes terminated by a carriage return and line feed to the specified
device.

C

int ptr;

ptr = ibdev (0,7,0,13,1,0);

ibwrt (ptr,"IP2X5\r\n", 7);