Chapter 5 wibic–Windows Interface Bus Interactive Control Utility
© National Instruments Corp. 5-11 NI-488.2 User Manual for Windows
Timeout setting
EOT mode
EOS mode
The following example shows ibdev opening an available device and assigning it to
access gpib0 ( board = 0) with a primary address of 6 (pad = 6), a secondary address
of hex 67 (sad = 0x67), a timeout of 10 s (tmo=13), the END message enabled
(eot =1), and the EOS mode disabled (eos = 0).
:ibdev 0 6 0x67 13 1 0
id = 32256
ud0:
If you use ibdev without specifying parameters, wibic prompts you for the input
parameters as shown in the following example:
:ibdev
enter board index: 0
enter primary address: 6
enter secondary address: 0x67
enter timeout: 13
enter ‘EOI on last byte’ flag: 1
enter end-of-string mode/byte: 0
id = 32256
ud0:
Three distinct errors can occur with the ibdev call:
EDVR–No device is available, the board index entered refers to a nonexistent board
(that is, not 0, 1, 2, or 3) or Windows cannot locate the gpib.dll file and/or
gpib.ini file. The following example illustrates an EDVR error.
:ibdev 4 6 0x67 7 1 0
id = -1
[8000] (err)
error: EDVR (2)
:
ENEB–The board index entered refers to a known board (such as 0), but the driver
cannot find the board. In this case, run wibconf to verify that the base address of
the board is set correctly and that the Use This GPIB Interface field is set to
yes.