beautypg.com

Clearlist, Clearlist devclearlist, Syntax – Measurement Computing GPIB-488.2 User Manual

Page 23

background image

GPIB 488.2 Porting Guide

986992

IOtech to Associated MCC APIs

3-5

IOtech GPIB Command

Associated MCC GPIB 488.2 Command(s)

ClearList DevClearList

Syntax

ClearList

INT WINAPI ClearList(DevHandlePT devHandleList);

DevClearList DevClearList(int board, short addresslist[])

Usage Notes

ClearList, no longer to be used, caused 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.

DevClearList

is used to clear specified devices. This routine sends the GPIB Selected Device

Clear (SDC) to the devices specified by addresslist. To clear only one device, use
DevClear.
The following example would clear the devices at GPIB addresses 6 and 7, which are connected
to GPIB board 0.

Example
:

short addresslist[3] = {6,7,NOADDR};

DevClearList(0, addresslist);