Sendcmd – Measurement Computing Personal488 rev.3.0 User Manual
Page 117
Advertising

Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-49
SendCmd
Syntax
INT WINAPI SendCmd(DevHandleT devHandle, LPBYTE commands,
DWORD count);
DevHandle
refers to an interface handle.
Commands
points to a string of command bytes to be sent.
count
is the length of the command string.
Returns
-1 if error
Bus States
User-defined
Example
char command[] = “U?0";
errorcode = SendCmd(ieee, &command, sizeof command);
See Also
SendData, SendEoi
The
SendCmd
command sends a specified string of bytes with Attention (
ATN
) asserted, causing the
data to be interpreted as IEEE 488 command bytes.
Advertising
This manual is related to the following products: