Measurement-computing Personal488 rev.3.0 Instrukcja Użytkownika Strona 117

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
Przeglądanie stron 116
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.
Przeglądanie stron 116
1 2 ... 112 113 114 115 116 117 118 119 120 121 122 ... 149 150

Komentarze do niniejszej Instrukcji

Brak uwag