![National Instruments GPIB GPIB-ENET/100 Скачать руководство пользователя страница 32](http://html1.mh-extra.com/html/national-instruments/gpib-gpib-enet-100/gpib-gpib-enet-100_getting-started_3472444032.webp)
Chapter 4
GPIB Configuration
©
National Instruments Corporation
4-3
Increasing the Allowed Number of Boxes
or Devices (Optional)
NI-488.2 for HP-UX supports eight GPIB-ENET/100 boxes and 44 devices
by default. If you want to use more GPIB-ENET/100 boxes or devices, you
can use
ibconf
to create a new
/etc/gpibrc
configuration file that will
allow NI-488.2 to access up to 128 boards and 128 devices. Perform the
following steps to create a new
/etc/gpibrc
file:
Note
You must have superuser privileges to perform this procedure.
1.
Make a backup copy of the current
/etc/gpibrc
in a separate
directory and delete the current
/etc/gpibrc
file.
2.
Execute
ibconf
with the following options:
<
Install Directory
>/ibconf -b
Nboards
-d
Ndevices
where
Nboards
is the number of boards you want the
GPIB-ENET/100 to support (default is 8, minimum is 1, and
maximum is 128); and
Ndevices
is the number of devices you want
the GPIB-ENET/100 to support (default is 44, minimum is 44,
maximum is 128).
3.
Choose <
Y
> when
ibconf
prompts you to create the new file.
4.
Edit the
ibconf
file to suit your application.
Note
ibconf
will configure the first 44 devices. You can configure other devices (during
run time only) using
ibfind()
,
ibconfig()
, or
ibdev()
.
For more information about
ibconf
, refer to the
NI-488.2M Software
Reference Manual
. After you have configured the software, you are ready
to verify the installation.