Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-22
Hello
Syntax
INT WINAPI Hello(DevHandleT devHandle, LPSTR message);
devHandle
refers to either an IEEE 488 interface or an external device. If
devHandle
refers to an external device, the
Hello
command acts on the hardware interface to
which the external device is attached.
message
is a character pointer that contains the returned message, which is the version of
the Dynamic Link Library (DLL) and the version of the device driver.
Returns
-1
if error
otherwise, the length in bytes of the message string. The returned byte count will never
exceed 247 bytes.
Bus States
None
Example
char message[247];
result = Hello(ieee,message);
printf(“%s\n”,message);
See Also
Status, OpenName, GetError
The
Hello
command is used to verify communication with Driver488, and to read the software revision
number. If a non-null string pointer is passed,
Hello
fills in up to 247 bytes in the string. The application
must ensure that sufficient space is available. When the command is sent, Driver488 returns a string
similar to the following:
Driver488 Revision X.X (C)199X ...
where
X
is the appropriate revision or year number.
Содержание Personal488
Страница 2: ...ii Personal488 User s Manual for Windows95 98 Me NT 2000...
Страница 6: ...vi 04 10 01 Personal488 User s Manual for Windows95 98 Me NT 2000...
Страница 12: ...3 2 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 18: ...Windows 95 3 8 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 24: ...Windows 98 3 14 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 30: ...Windows Me 3 20 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 38: ...Windows 2000 3 28 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 40: ...Windows 2000 3 30 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 42: ...4 2 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 46: ...4 6 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 50: ...4 10 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 54: ...4 14 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 68: ...5 14 Using IEEE 488 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Страница 132: ...Personal488 for Windows 95 98 Me NT 2000 04 10 01 API Reference 6 64...
Страница 137: ...Personal488 for Windows 95 98 Me NT 2000 03 16 01 IEEE488 ASCII Code Maps B 1 Appendix B ASCII Codes...
Страница 138: ...B 2 IEEE488 ASCII Code Maps 03 16 01 Personal488 for Windows 95 98 Me NT 2000...