Clearlist – Measurement Computing Personal488 rev.3.0 User Manual
Page 75

Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-7
ClearList
Syntax
INT WINAPI ClearList(DevHandlePT devHandleList);
devHandleList
is a pointer to a list of device handles that refer to external devices. If a
hardware interface is in the list,
DCL
is sent instead of
SDC
.
Returns
-1
if error
Bus States
ATN
•DCL
(all devices)
ATN
•UNL, MTA, LAG, SDC
(selected device)
Example
deviceList[0] = wave;
deviceList[1] = scope;
deviceList[2] = dmm;
deviceList[3] = NODEVICE;
errorcode =
ClearList(deviceList);
Sends the Selected Device Clear
(
SDC
) command to a list of
devices.
See Also
Clear, Reset
The
ClearList
command causes the Selected Device Clear (
SDC
) command to be issued to a list of
external devices. IEEE 488 bus devices that receive a Selected Device Clear command normally reset to
their power-on state.