wibic–Windows Interface Bus Interactive Control Utility Chapter 5
NI-488.2 User Manual for Windows 5-10 © National Instruments Corp.
For a detailed list of the error codes and their meanings, refer to Chapter 4, Debugging
Your Application.
CountWhen an I/O function completes, wibic displays the actual number of bytes sent or
received, regardless of the existence of an error condition.
If one of the addresses in an address list of an NI-488.2 routine is invalid, then the error is
EARG and wibic displays the index of the invalid address as the count.
The count has a different meaning depending on which NI-488 function or NI-488.2
routine is called. Refer to the function descriptions in the NI-488.2 Function Reference
Manual for DOS/Windows for the correct interpretation of the count return.
Common NI-488 Functionsibfind
Use the ibfind function to open a board. The following example opens gpib0 .
:ibfind gpib0
id = 32000
gpib0:
id is the unit descriptor of the board. The prompt gpib0 indicates that the board is
open.
Any name you use with the ibfind function must be a valid symbolic name in the
driver. gpib0 is the default name found in the driver. For more information about valid
names, refer to Chapter 8, wibconf–Windows Interface Bus Configuration Utility.
ibdev
The ibdev command initializes a device descriptor with the input information.
With ibdev, you specify the following values:
• Access board for the device
• Primary address
• Secondary address