Go to Local.
unsigned int ibloc (int ud)
ibloc
ud | Board or device descriptor |
Function Return | The value of Ibsta |
ibloc places the board in local mode if it is not in a lockout state. The board is in a lockout state if LOK appears in the status word Ibsta. If the board is in a lockout state, the call has no effect.
The ibloc function is used to simulate a front panel RTL (Return to Local) switch if the computer is used as an instrument.
Unless the REN (Remote Enable) line has been unasserted with the IbcSRE option in ibconfig, all device-level calls automatically place the specified device in remote program mode. ibloc is used to move devices temporarily from a remote program mode to a local mode until the next device function is executed on that device.
EBUS | Device-level: No devices are connected to the GPIB. |
ECIC | Device-level: The access board is not CIC. See Device-Level Calls and Bus Management. |
EDVR | The NI-488.2 driver is either configured incorrectly or is not properly installed. |
EHDL | ud is invalid or 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. |