Busaddress, Checklistener, Syntax – Measurement Computing GPIB-488.2 User Manual
Page 21: Checklistener findlstn, No equivalent commands

GPIB 488.2 Porting Guide
986992
IOtech to Associated MCC APIs
3-3
IOtech GPIB Commands
Associated MCC GPIB 488.2 Command(s)
BusAddress
No Equivalent Commands
Syntax
INT WINAPI BusAddress (DevHandleT devHandle,
BYTE primary, BYTE secondary);
Usage Notes
The BusAddress command was used to set the IEEE 488 bus address of the IEEE 488
hardware interface or an external device.
Similar functionality can only be achieved by coding efforts, of such magnitude, that they are
beyond the scope of this document.
IOtech GPIB Command
Associated MCC GPIB 488.2 Command(s)
CheckListener FindLstn
Syntax
CheckListener INT WINAPI CheckListener(DevHandleT devHandle,
BYTE primary, BYTE secondary);
FindListn
FindLstn(int board, short addresslist[],
short resultlist[], int limit)
Usage Notes
CheckListener, no longer to be used, checked for the existence of a device on the IEEE 488
bus at the specified address.
FindListn
finds all listeners on the GPIB. The addresses specified by addresslist are
tested to see if a listening device is present. If a listener is found at a primary address, its
address is placed in resultlist. If no listeners are detected at a primary address, then all
secondary addresses associated with that primary address are tested. If any listeners are
detected, their addresses are placed in resultlist. You can use this routine to determine
how many devices on the network are capable of listening. Once these devices are detected,
they can be identified by their response to identification request messages.