IBCONFIG

NI-488.2

IBCONFIG

Board-Level/Device-Level


Purpose

Change the software configuration input.

Format

C

unsigned long ibconfig (int ud, int option, int value)

Visual Basic

CALL ibconfig (ud%, option%, value%)

or

status% = ilconfig (ud%, option%, value%)

Interactive Control (Usage Notes)

ibconfig option value

Input

ud Board or device unit descriptor
option A parameter that selects the software configuration item
value The value to which the selected configuration item is to be changed

Output

Function Return The value of Ibsta

Description

ibconfig changes a configuration item to the specified value for the selected board or device. option can be any of the defined options (see ibconfig Board Configuration Parameter Options or ibconfig Device Configuration Parameter Options). value must be valid for the parameter that you are configuring. The previous setting of the configured item is returned in Iberr.

Possible Errors

EARG Either option or value is not valid. The ibconfig Board Configuration Parameter Options table lists the valid options.
ECAP The driver is not able to make the requested change.
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.
ESAC The board does not have System Controller capability.