
GPIB 488.2 Porting Guide 986992 IOtech to Associated MCC APIs 3-39
IOtech GPIB Commands Associated MCC GPIB 488.2 Command(s)
SPoll
AllSpoll
IOtech GPIB Commands Associated MCC GPIB 488.2 Command(s)
SPollList AllSpoll
Syntax
SPoll INT WINAPI SPoll(DevHandleT devHandle);
SPollList INT WINAPI SPollList(DevHandlePT devHandleList,
LPBYTE resultList, BYTE SPollFlag);
AllSpoll AllSpoll (int board, short addresslist[],
short resultlist[])
Usage Notes
SPoll and SPollList – No longer to be used. In Active Controller mode, these commands
performed a Serial Poll of the bus device specified and responded with a number from 0 to 255
representing the decimal equivalent of the eight-bit device response.
Serial Polls were normally performed in response to assertion of the Service Request (SRQ) bus
signal by some bus device.
In the following example, we see serial polls two devices (GPIB address 6 and 7) connected to
GPIB board 0.
Example:
short addresslist[3] = {6,7,NOADDR};
short resultlist[2];
AllSpoll (0, addresslist, resultlist);
Commenti su questo manuale