Listen – Measurement Computing Personal488 rev.3.0 User Manual
Page 92

Personal488 for Windows 95/98/Me/NT/2000
04-10-01
API Reference 6-24
Listen
Syntax
INT WINAPI Listen(DevHandleT devHandle, BYTE primary,
BYTE secondary);
devHandle
refers to either an IEEE 488 interface or an external device. If
devHandle
refers to an external device, the
Listen
command acts on the associated interface.
primary
and
secondary
specify the primary and secondary addresses of the device
which is to be addressed to listen.
Returns
-1
if error
Bus States
ATN, LAG
Example
errorcode = Listen (ieee, 12, -1);
See Also
Talk, SendCmd, SendData, SendEoi, FindListener
The
Listen
command addresses an external device to Listen.
This manual is related to the following products: