EnableRemote
From NI-488.2
EnableRemote
Purpose
Enable remote GPIB programming for devices.
Format
C
|
void EnableRemote (int boardID, const Addr4882_t *addrlist) |
Visual Basic
|
CALL EnableRemote (boardID%, addrlist%()) |
Interactive Control (Usage Notes)
| EnableRemote addrlist |
Input
| boardID | The interface number |
| addrlist | A list of device addresses that is terminated by NOADDR |
Description
EnableRemote asserts the Remote Enable (REN) GPIB line. All devices described by addrlist are put into a listen-active state.
Possible Errors
| EARG | An invalid address appears in addrlist; Ibcnt is the index of the first invalid address in the addrlist array. |
| EBUS | No devices are connected to the GPIB. |
| ECIC | The interface is not the Controller-In-Charge; see SendIFC. |
| EDVR | The NI-488.2 driver is either configured incorrectly or is not properly installed. |
| EHDL | boardID is out of range. |
| ELCK | The requested operation could not be performed because of an existing lock by another process. |
| ENEB | The interface is not installed or is not properly configured. |
| EOIP | Asynchronous I/O is in progress. |
| ESAC | The interface is not configured as System Controller. |