Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-6
Clear
Syntax
INT WINAPI Clear(DevHandleT devHandle);
devHandle
refers to either an IEEE 488 hardware interface or an external device. If
devHandle
refers to a hardware interface, then a Device Clear (
DCL
) is sent. If
devHandle
refers to an external device, a Selected Device Clear (
SDC
) is sent.
Returns
-1
if error
Bus States
ATN
•
DCL
(all devices)
ATN
•
UNL, MTA, LAG, SDC
(selected device)
Examples
errorcode = Clear(ieee);
Sends the Device Clear (
DCL
) command to the
IEEE interface board.
errorcode = Clear(wave);
Sends the Selected Device Clear (
SDC
) command
to the WAVE device.
errorcode = Clear(dmm);
Sends the Selected Device Clear (
SDC
) command
to the DMM device.
See Also
Reset, ClearList
The
Clear
command causes the Device Clear (
DCL
) bus command to be issued to an interface or a
Selected Device Clear (
SDC
) command to be issued to an external device. IEEE 488 bus devices that
receive a Device Clear or Selected Device Clear command normally reset to their power-on state.
Summary of Contents for Personal488
Page 2: ...ii Personal488 User s Manual for Windows95 98 Me NT 2000...
Page 6: ...vi 04 10 01 Personal488 User s Manual for Windows95 98 Me NT 2000...
Page 12: ...3 2 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 18: ...Windows 95 3 8 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 24: ...Windows 98 3 14 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 30: ...Windows Me 3 20 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 38: ...Windows 2000 3 28 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 40: ...Windows 2000 3 30 Installation 04 10 01 Personal488 for Windows 95 98 Me NT 2000...
Page 42: ...4 2 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 46: ...4 6 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 50: ...4 10 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 54: ...4 14 Hardware Configuration Reference 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 68: ...5 14 Using IEEE 488 04 09 01 Personal488 for Windows 95 98 Me NT 2000...
Page 132: ...Personal488 for Windows 95 98 Me NT 2000 04 10 01 API Reference 6 64...
Page 138: ...B 2 IEEE488 ASCII Code Maps 03 16 01 Personal488 for Windows 95 98 Me NT 2000...