EnableLocal
Purpose
Enable operations from the front panel of devices (leave remote programming mode).
Format
C
void EnableLocal (int boardID, const Addr4882_t *addrlist) |
Visual Basic
CALL EnableLocal (boardID%, addrlist%()) |
Interactive Control (Usage Notes)
EnableLocal addrlist |
Input
boardID | The interface number |
addrlist | A list of device addresses that is terminated by NOADDR |
Description
EnableLocal sends the Go To Local (GTL) GPIB message to all the devices described by addrlist. This places the devices into local mode. If addrlist contains only the constant NOADDR, the Remote Enable (REN) GPIB line is unasserted.
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. |