Download NI-488.2M Function Reference Manual for Win32
Transcript
Chapter 2 NI-488.2 Routines — SetRWLS SetRWLS Purpose Place devices in Remote With Lockout State. Format C void SetRWLS (int boardID, Addr4882_t *addrlist) Visual Basic CALL SetRWLS (boardID%, addrlist%()) Input boardID addrlist The interface board number A list of device addresses that is terminated by NOADDR Description SetRWLS places the devices described by addrlist in remote mode by asserting the Remote Enable (REN) GPIB line. Then those devices are placed in lockout state by the Local Lockout (LLO) GPIB message. You cannot program those devices locally until the Controller-In-Charge releases the Local Lockout by way of the EnableLocal NI-488.2 routine. Possible Errors EARG Either an invalid address appears in addrlist or the addrlist is empty; ibcntl is the index of the invalid address in the addrlist array. EBUS ECIC EDVR ENEB EOIP ESAC No devices are connected to the GPIB. The interface board is not the Controller-In-Charge; see SendIFC. Either boardID is invalid or the GPIB driver is not installed. The interface board is not installed or is not properly configured. Asynchronous I/O is in progress. The interface board is not configured as System Controller. NI-488.2M Function Reference Manual for Win32 2-28 ni.com