NI offers two Ethernet-to-GPIB controllers, the GPIB-ENET/1000 and its predecessor, the GPIB-ENET/100. Both controllers expand the options for size, distance, environmental conditions, integration of test systems, and instrumentation location in computer-controlled test applications. Adding wireless connectivity and control in your test system further addresses concerns over environmental conditions, distance, network cabling, and integration of test components throughout your company. Communication with your instrumentation systems over a wireless connection gives you more versatility in the placement and the mobility of the GPIB instrumentation system.The NI GPIB-ENET/1000 and GPIB-ENET/100 easily convert existing instrumentation systems into wireless test systems through the use of off-the-shelf wireless routers and access points. This application note discusses background on wireless networks, setting up a wireless GPIB test system, and configuring the wireless system. While both controllers may be used to integrate wireless connectivity to your GPIB test system, this application note will discuss using the GPIB-ENET/1000 only – configuration is slightly different for the GPIB-ENET/100.
Wireless local area networks (LANs) operating in a range of frequencies have been used since the early 1990s. Previously, applications using custom wireless LAN technology were very limited in scope and typically required extensive programming and testing. In 1998, the IEEE proposed a specification for wireless communication, setting the foundation for IEEE Standard 802.11-2001.Under IEEE 802.11, there are two types of network configurations – ad hoc and infrastructure. Under ad hoc networks, there is no fixed access point – computers (or nodes) are able to communicate with any other computer. Although not a very structured design, developers have created algorithms to ensure efficient communication in an ad-hoc network.The infrastructure network architecture uses fixed access points to simplify communication between nodes. Oftentimes these fixed access points are connected to landlines, such as existing Ethernet networks, to increase the capability of the wireless LAN. For example, home users can connect their DSL or cable modem to a wireless router (access point) to provide an Internet connection for a wireless-enabled laptop (node).In addition to IEEE 802.11, there are several other wireless technologies suited for different applications and industries, such as Bluetooth. This application note discusses only IEEE 802.11 because it is the most widely used and easiest solution.
The NI GPIB-ENET/1000 is designed to communicate over any Ethernet-based TCP/IP network (1000BaseT, 100BaseTX, and 10BaseT). Combining the GPIB-ENET/1000 with any commercially available wireless router, you instantly transform your Ethernet control system into a wireless instrument control system.
Applications for wireless instrument control include the following:
Figure 1. Wireless GPIB Diagram.
The GPIB-ENET/1000 hardware and NI-488.2 software must be correctly installed and configured before any GPIB applications can be developed. This section offers a road map for configuring the GPIB-ENET/1000 for operation. Refer to the GPIB-ENET/1000 Getting Started manual (shipped with the product and available on the Web) for platform-specific installation instructions.In general, setting up a GPIB-ENET/1000 distributed test system is easy because the Ethernet network is already in place. The same applies for setting up the GPIB-ENET/1000 to the wireless router. Even though your network is wireless, the GPIB-ENET/1000 still uses an Ethernet connection to the wireless router. All that remains is to add the GPIB-ENET/1000 as a device on the Ethernet, as follows:
Install the wireless network card and verify it can connect to your wireless router
Install NI-488.2 software version 2.8 or later on each Windows 7/Vista/XP PC that will be used for wireless control the GPIB-ENET/1000
Use the utilities included with the driver software to configure each individual GPIB-ENET/1000 with a unique IP address (this step has to be performed only once per GPIB-ENET/1000 interface and can be done manually or automatically)
Table 1 summarizes the operating systems under which you can use the GPIB-ENET/1000. Contact NI if you need to control more than the specified number. The NI-488.2 API used to program your GPIB-ENET/1000 is consistent across other interfaces, as well, such as the PCIe-GPIB or GPIB-USB-HS. You can develop your software and use it with other interfaces types and other applicable operating systems with little or no source code modification. For additional operating systems, contact NI
Table: Maximum Number of GPIB-ENET/1000 Interfaces
Maximum Number of GPIB-ENET/1000s Controlled by a Particular Computer
The primary task in configuring your GPIB-ENET/1000 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/1000.As mentioned before, the wireless router you select must provide DHCP to configure the IP address for your GPIB-ENET/1000. By default, the GPIB-ENET/1000 will try to get an IP address using DHCP. With DHCP, some wireless routers may also assign a name to the GPIB-ENET/1000. You can modify that name later and use it instead of the IP address, when referring to the GPIB-ENET/1000.Be sure to follow the complete instructions outlined in the Getting Started manual for complete, correct installation.
Once the router automatically assigns an IP address to your GPIB-ENET/1000 and connects it to your network, any IEEE 802.11 enabled Windows computer with the NI-488.2 version 2.8 or later can interface with the controller.On each Windows computer, you must configure NI-488.2 to associate a particular IP address with a particular interface name that corresponds to a GPIB-ENET/1000. Then, you can use that interface name in your programs to control the GPIB-ENET/1000 at that IP address. For example, assume you want to use Computer A to control two GPIB-ENET/1000s, one at IP address 130.164.15.01 and the other at 126.96.36.199. On Computer A, you would associate 130.164.15.01 with interface name GPIB0, and 188.8.131.52 with GPIB1. Your applications on Computer A would then use the interface name GPIB0 to control instruments attached to the GPIB-ENET/1000 at IP address130.164.15.01 and GPIB1 to control instruments attached to the GPIB-ENET/1000 at IP address184.108.40.206. Remember that you can always refer to the GPIB-ENET/1000 by its assigned name instead of its IP address.Suppose you also wanted to access the GPIB-ENET/1000 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.
Developing Distributed GPIB Test Systems Using NI Ethernet-to-GPIB Controllers
Collaborate with other users in our discussion forums
A valid service agreement may be required, and support options vary by country.