Assigning an IP Address to a GPIB-ENET under Windows 3.1/NT/2000/XP
Hardware: GPIB>>External Controllers/Convertors>>GPIB-ENET
Problem: How do I assign and IP address to my GPIB-ENET under Windows 3.1/NT/2000/XP?
Solution:
To assign an IP address to a GPIB-ENET device under Windows 3.1/NT/2000/XP, follow the steps contained in this article for each respective operating system (OS).
Note: Please verify the following before attempting to assign an IP to the GPIB-ENET device.
- Your GPIB-ENET should be on the same subnet as the host PC; i.e., the first three sets of numbers of your computer's IP address should match the first three sets of numbers of your GPIB-ENET's IP address.
- Make sure that the IP address for your GPIB-ENET is really available. If you ping the address and it times out, then it is probably available. If the address is not free, then try a different IP address that you know is free.
- Verify that the GPIB-ENET driver on your host PC is the correct one to use for that operating system. The GPIB-ENET driver for Windows NT/2000 is different from the GPIB driver used for other hardware. See the page for the current GPIB-ENET driver for Windows NT/2000 or Windows 98/95 or Windows 3.1.
Windows 3.1
Use the GPIB-ENET Assign IP Address utility to manually configure the IP address of your GPIB-ENET. Once you configure the IP address, it is stored in nonvolatile memory in the GPIB-ENET. You only need to run the Assign IP Address utility when the box is new or when you decide to reconfigure your network in a way that changes the IP address of the GPIB-ENET.
The Assign IP Address utility must be run on a machine that is connected to the same subnet as the GPIB-ENET you are configuring. You must also run the utility from Windows for Workgroups, version 3.11 or higher. It does not work under Windows 3.1.

To run Assign IP Address, follow these steps after you have connected the GPIB-ENET to the network and installed the NI-488.2 software.
- Make sure you know the Ethernet address of the GPIB-ENET (listed on the bottom panel of the box) and the IP address of your GPIB-ENET (assigned by your network administrator). If you do not know the IP address, refer to step 1 of the hardware configuration instructions linked below.
- Power off the GPIB-ENET. Make sure that all of the DIP switches are OFF except for switch 5, which should be ON.
- Power on the GPIB-ENET and wait 10 seconds for the power-on self tests to complete.
- Double-click on the Assign IP Address icon in the NI-488.2 GPIB-ENET Software group in the Program Manager.
- Enter the IP address that has been selected for the GPIB-ENET. Either enter the IP address in standard decimal dotted notation, which is four decimal numbers separated with periods, or enter the hostname if your network administrator created a mapping between the IP address and a hostname.
- Enter the physical Ethernet address for the GPIB-ENET. This is the address shown on the identification label on the bottom panel of the GPIB-ENET. Enter the Ethernet address in standard notation, which is six hexadecimal numbers separated with colons.

- Click on the Assign button. When the GPIB-ENET successfully receives its IP address, the READY LED remains steady. As long as the READY LED is not steady, the address has not been configured.
- When the READY LED remains steady, exit the Assign IP Address utility.
- Power off the GPIB-ENET. Set DIP switch 5 to the OFF position and switch 6 to the ON position. With the switches in this position, the GPIB-ENET powers on with the IP address stored in nonvolatile memory. For more information on the DIP switch settings, refer to Appendix B in the Getting Started Guide.
- Power on the GPIB-ENET and wait for the READY LED to come on and remain steady. If the READY LED does not become steady, the slow blinking indicates an internal GPIB-ENET error. Refer to Appendix D, READY LED Signaling, to determine which error is being reported.
Windows 2000/NT
To assign an IP address, follow these steps:
- Go to Start » Programs » NI-488.2M for Windows NT and select Assign IP Address. This will open the GPIB-ENET Assign IP Address window, as shown below:

Note: Windows may ask you to install additional support. Follow the instructions given by Windows and then launch the Assign IP Address utility again.
- Enter the IP address for your GPIB-ENET in the IP Address field.
- Enter the last 4 numbers of the Ethernet Address in the Ethernet Address field. This number can be found on the bottom of the GPIB-ENET controller, as shown in the picture below:

- Click the Assign button and the IPASSIGN window will appear. Follow the instructions in this window and click OK.

- The following window should now appear. Follow these instructions to have the GPIB-ENET remember its IP address.

- If the Ready light is steady, then your GPIB-ENET is now ready for use. If the Ready light is not steady after 10 seconds, then repeat steps 2 through 6.
Windows XP
It is currently impossible to assign an IP to the ENET under Windows XP system. You will need to assign an IP address under Windows 98, 95, NT, or 2000 system before you can use it on a Windows XP system. Another option is to run a
Virtual PC running Windows 2000. You will need to run the IPAssign.exe on the Windows 95, 98, NT, or 2000 system/VPC. Then, once the IP address has been assigned, go into Windows XP and run the Add GPIB Hardware utility located in Start » All Programs » National Instruments » NI 488.2 . It will then prompt you to input the IP address that you have just defined earlier using the IPAssign.exe.
Use the GPIB-ENET Assign IP Address utility to manually configure the IP address of your GPIB-ENET. Once you configure the IP address, it is stored in nonvolatile memory in the GPIB-ENET. You only need to run the Assign IP Address utility when the box is new or when you decide to reconfigure your network in a way that changes the IP address of the GPIB-ENET.
The Assign IP Address utility must be run on a machine that is connected to the same subnet as the GPIB-ENET you are configuring. You must also run the utility from Windows for Workgroups, version 3.11 or higher. It does not work under Windows 3.1.
Related Links:
Attachments:
- enetip1.JPG
- enetip2.JPG
- enetip3.JPG
- enetlabl.JPG
Report Date: 09/14/2006
Last Updated: 10/02/2008
Document ID: 41DD06DW