beautypg.com

Remote, Remotelist, Remote enableremote – Measurement Computing GPIB-488.2 User Manual

Page 50: Remotelist enableremote syntax

background image

3-32

IOtech to Associated MCC APIs

986992

GPIB 488.2 Porting Guide

IOtech GPIB Commands

Associated MCC GPIB 488.2 Command(s)

Remote

EnableRemote

IOtech GPIB Commands

Associated MCC GPIB 488.2 Command(s)

RemoteList EnableRemote

Syntax

Remote {

IOtech

}

INT WINAPI Remote(DevHandleT devHandle);

RemoteList {

IOtech

} INT WINAPI RemoteList(DevHandlePT

devHandleList);

EnableRemote {

MCC

} EnableRemote(int board, short addresslist[])


Usage Notes

Remote and RemoteList are no longer to be used. Each of these commands asserted the
Remote Enable (REN) bus management line. If an external device was specified, then Remote
also addressed that device to Listen, placing it in the Remote state.
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);