beautypg.com

Mylistenaddr, Mylistenaddr enableremote, Syntax – Measurement Computing GPIB-488.2 User Manual

Page 38

background image

3-20

IOtech to Associated MCC APIs

986992

GPIB 488.2 Porting Guide

IOtech GPIB Command

Associated MCC GPIB 488.2 Command

MyListenAddr EnableRemote

Syntax

MyListenAddr

INT WINAPI MyListenAddr (DevHandleT devHandle);

EnableRemote

EnableRemote(int board, short addresslist[])

Usage Notes

MyListenAddr is no longer to be used. It was used to address the interface to listen.

EnableRemote - When this routine is executed, the system controller asserts the Remote
Enable (REN) line and the Controller addresses the specified devices as listeners.
The command issued in the following example places devices at GPIB addresses 6 and 7
(connected to GPIB board) in remote mode.
Example:

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

EnableRemote(0, addresslist);

Also see IOtech’s: Listen