
Application Note 184 4 ni.com
Assigning an IP Address to Your GPIB-ENET/100
The primary task in configuring your GPIB-ENET/100 is assigning it an IP address. The TCP/IP protocol requires that
each device on the network be assigned a unique Internet address so that the devices can be located on the network.
An invalid or improperly assigned IP address is the most common cause for problems when using the
GPIB-ENET/100.
As mentioned before, the wireless router you select must provide DHCP to configure the IP address for your
GPIB-ENET/100. By default, the GPIB-ENET/100 will try to get an IP address using DHCP. With DHCP, some
wireless routers may also assign a name to the GPIB-ENET/100. You can modify that name later and use it instead of
the IP address, when referring to the GPIB-ENET/100.
Each applicable platform has specific instructions for proper GPIB-ENET/100 installation. For example, configuration
under Sun workstations is accomplished differently when compared to Windows NT because of differences in the
operating system interface. Be sure to follow the complete instructions outlined in the Getting Started manual for
complete, correct installation.
Configuring NI-488.2 Software for GPIB-ENET/100
Once the router automatically assigns an IP address to your GPIB-ENET/100 and connects it to your network, any
IEEE 802.11 enabled computer with the NI-488.2 for GPIB-ENET/100 can interface with the controller.
On each computer, you must configure NI-488.2 to associate a particular IP address with a particular interface name
that corresponds to a GPIB-ENET/100. Then, you can use that interface name in your programs to control the
GPIB-ENET/100 at that IP address. For example, assume you want to use Computer A to control two
GPIB-ENET/100s, one at IP address 130.164.15.01 and the other at 130.164.15.19. On Computer A, you would
associate 130.164.15.01 with interface name GPIB0, and 130.164.15.19 with GPIB1. Your applications on Computer
A would then use the interface name GPIB0 to control instruments attached to the GPIB-ENET/100 at IP
address130.164.15.01 and GPIB1 to control instruments attached to the GPIB-ENET/100 at IP address130.164.15.19.
Remember that you can always refer to the GPIB-ENET/100 by its assigned name instead of its IP address.
Suppose you also wanted to access the GPIB-ENET/100 at 130.164.15.01 from Computer B. You would then associate
GPIB0 on computer B with 130.164.15.01, and use GPIB0 in your applications on Computer B. There is no conflict
in using the same interface name GPIB0 on Computer A and Computer B because these are completely separate host
computers running different instances of NI-488.2.
For examples and further information on using your GPIB-ENET/100, please refer to the Getting Started manual or
Application Note 103, Developing Distributed GPIB Test Systems Using GPIB-ENET/100 and Existing Ethernet
Networks,fromwww.ni.com
Table 1. Maximum Number of GPIB-ENET/100 Interfacesarset136
Operating System Maximum Number of GPIB-ENET/100s Controlled by a Particular Computer
Windows 2000 32
Windows NT 32
Windows 9x 100
Mac OS 9.x 8
Mac OS X 99
Sun Solaris 8 (User Expandable)
Comentarios a estos manuales