IBASK

NI-488.2

IBASK

Board-Level/Device-Level


Purpose

Return information about software configuration parameters.

Format

C

unsigned long ibask (int ud, int option, int *value)

Visual Basic

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

or

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

Interactive Control (Usage Notes)

ibask option

Input

ud Board or device unit descriptor
option Selects the configuration item whose value is being requested

Output

value Current value of the selected configuration item
Function Return The value of Ibsta.

Description

ibask returns the current value of various configuration parameters for the specified board or device. The current value of the selected configuration item is returned in the integer value. Refer to the table with valid configuration parameter options for ibask.

Possible Errors

EARG option is not a valid configuration parameter. See ibask Board Configuration Parameter Options and ibask Device Configuration Parameter Options.
ECAP option is not supported by the driver or the interface is not configured correctly.
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.