beautypg.com

Senddata – Measurement Computing Personal488 rev.3.0 User Manual

Page 118

background image

Personal488 for Windows 95/98/Me/NT/2000

04-10-01

API Reference 6-50

SendData

Syntax

INT WINAPI SendData(DevHandleT devHandle, LPBYTE data,

DWORD count);

DevHandle

refers to an interface handle.

data

points to a string of data bytes to be sent.

count

is the length of the data string.

Returns

-1 if error

Bus States

User-defined

Example

char data[] = “W0X”;

errorcode = SendData(ieee, data, strlen (data));

See Also

SendCmd, SendEoi

The

SendData

command provides byte-by-byte control of data transfers and gives greater flexibility than

the other commands. This command can specify exactly which operations Driver488 executes.

This manual is related to the following products: