GPIB Getting Started with Your GPIB-ENET/100 and NI-488.
Support Worldwide Technical Support and Product Information ni.
Important Information Warranty The GPIB hardware is warranted against defects in materials and workmanship for a period of two years from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period. This warranty includes parts and labor.
Compliance FCC/Canada Radio Frequency Interference Compliance* Determining FCC Class The Federal Communications Commission (FCC) has rules to protect wireless communications from interference. The FCC places digital electronics into two classes. These classes are known as Class A (for use in industrialcommercial locations only) or Class B (for use in residential or commercial locations). Depending on where it is operated, this product could be subject to restrictions in the FCC rules.
• • Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. Consult the dealer or an experienced radio/TV technician for help. Canadian Department of Communications This Class B digital apparatus meets all requirements of the Canadian Interference-Causing Equipment Regulations. Cet appareil numérique de la classe B respecte toutes les exigences du Règlement sur le matériel brouilleur du Canada.
Contents About This Manual Conventions ...................................................................................................................xi Related Documentation..................................................................................................xii Chapter 1 Introduction What You Need to Get Started ......................................................................................1-1 Optional Equipment ......................................................................
Contents Chapter 4 GPIB Configuration Configuring the NI-488.2 Software Characteristics...................................................... 4-1 Changing the Software Settings...................................................................... 4-1 Restart Your Computer ................................................................................... 4-3 Chapter 5 Verify the Installation Verifying the Software Installation ...............................................................................
Contents Figures Figure 1-1. GPIB-ENET/100 Front Panel................................................................1-3 Figure 2-1. Figure 2-2. Figure 2-3. GPIB-ENET/100 Baseplate Identification Label ..................................2-2 GPIB-ENET/100 Rear Panel.................................................................2-3 Connecting Power to the GPIB-ENET/100...........................................2-4 Figure 3-1. Figure 3-2. Figure 3-3. Figure 3-4.
About This Manual This manual contains instructions to help you install and configure the National Instruments GPIB-ENET/100 and NI-488.2 for Mac OS. The NI-488.2 software included in this kit is intended for use with Mac OS 8.1 or higher with at least 32 MB memory. This manual assumes that you are familiar with the Mac OS and with Ethernet and Internet networks, and that your Macintosh is connected to an Ethernet network.
About This Manual Related Documentation The following documents contain information that you might find helpful as you read this manual: GPIB-ENET/100 for Mac OS • ANSI/IEEE Standard 488.1-1987, IEEE Standard Digital Interface for Programmable Instrumentation • ANSI/IEEE Standard 488.2-1992, IEEE Standard Codes, Formats, Protocols, and Common Commands • ANSI/IEEE Standard 802.
1 Introduction This chapter lists what you need to get started and optional equipment you can order, and briefly describes the GPIB-ENET/100 hardware and NI-488.2 for Mac OS. What You Need to Get Started Before you install your GPIB-ENET/100 hardware and NI-488.2 for Mac OS, make sure you have all of the following items: ❑ Mac OS 8.
Chapter 1 Introduction ❑ One of the following shielded GPIB cables, which you can purchase from National Instruments: – Type X1 single-shielded cables (1, 2, or 4 m) – Type X2 double-shielded cables (1, 2, or 4 m) To meet FCC emission limits for this device, you must use a shielded (Type X1 or X2) GPIB cable. Operating this equipment with a non-shielded cable may interfere with radio and television reception.
Chapter 1 Introduction You can use either the Dynamic Host Configuration Protocol (DHCP) or a simple Ethernet configuration utility to configure the GPIB-ENET/100 without the need for any dip switches or jumpers. Installation options include rack mounting, DIN rail mounting, wall mounting, and stackable stand-alone use. You can stack the unit with other GPIB-ENET/100 units and additional National Instruments products including the ENET-232 Series and ENET-485 Series serial controllers.
Chapter 1 Introduction The LEDs show the current status of the GPIB-ENET/100. Table 1-1 describes each LED. Table 1-1. LED Descriptions LED Description PWR/RDY Flashes rapidly at start-up while performing self tests and when acquiring network parameters. A steady yellow state indicates the box is ready for operation. Slow flashing pattern indicates an error occurred. LINK 10/100 Indicates the GPIB-ENET/100 detected a twisted pair (10Base-T or 100Base-TX) link.
Chapter 1 Introduction Time-Saving Development Tools Your kit includes the NI-488.2 software for Mac OS. In addition, you can order LabVIEW from National Instruments. LabVIEW includes instrument driver libraries that make it easier to communicate with your GPIB instruments. LabVIEW is a graphical programming environment you can use to acquire data from thousands of different instruments, including IEEE 488.2 devices, VXI devices, serial devices, PLCs, and plug-in data acquisition boards.
2 Installation This chapter describes how to install NI-488.2 for Mac OS and the GPIB-ENET/100. Installing NI-488.2 Virus detection software might prevent the installer from copying important files to the System Folder. You must disable or bypass any virus prevention software before attempting the installation procedure. Caution Complete the following steps to install NI-488.2 for Mac OS: 1. Insert the NI-488.2 for Mac OS CD and double-click the NI-488.2 Installer icon. 2.
Chapter 2 Installation Installing the GPIB-ENET/100 Hardware Complete the following steps to install your GPIB-ENET/100. Step 1. Record the Serial Number, Ethernet Address, and Default Hostname When you configure the GPIB-ENET/100 for use on your network, you will need to differentiate it from other network devices. Every product has a unique serial number, Ethernet address, and default hostname. 1.
Chapter 2 Installation Step 2. Connect the Cables Note If you do not have an Ethernet cable, as listed in the What You Need to Get Started section of Chapter 1, Introduction, contact National Instruments for ordering information. Figure 2-2 shows the locations of the power, Ethernet, and GPIB connections on the rear panel of the GPIB-ENET/100. 1 2 1 2 3 4 Configuration Reset Switch Power Connection 3 4 Ethernet Connection GPIB Connector Figure 2-2.
Chapter 2 Installation 4 1 3 2 1 2 To AC Outlet Power Cord 3 4 Power Supply To GPIB-ENET/100 Power Jack Figure 2-3. Connecting Power to the GPIB-ENET/100 Note Do not connect GPIB devices to your GPIB port until you use NI-488 Config to configure NI-488.2 as described in Chapter 4, GPIB Configuration, and then run NI-488.2 Test to verify the software installation, as described in Chapter 5, Verify the Installation. Running NI-488.2 Test requires that you leave the port unconnected. Step 3.
Chapter 2 Installation The time required for assigning the IP address depends on your network and the configuration of your GPIB-ENET/100. Allow up to 90 seconds and observe the state of the PWR/RDY LED to determine the outcome of the self tests. One of the following should occur: • A steady yellow PWR/RDY LED indicates the GPIB-ENET/100 passed its self tests and acquired its IP address. The unit is now ready to operate.
3 Ethernet Configuration This chapter describes how to use the NI Ethernet Device Configuration utility to configure the network parameters of the GPIB-ENET/100. You can use this utility for any of the following purposes: • Manually configure the network parameters or enable DHCP • Verify or change the hostname • Add or change a comment to help identify the device Your GPIB-ENET/100 must be in network configuration mode when you make any changes to the network parameters.
Chapter 3 Ethernet Configuration Using the NI Ethernet Device Configuration Utility If your network administrator tells you to assign the IP address manually, run the NI Ethernet Device Configuration utility. To run the utility, complete the following steps: 1. Open the Ethernet/100 folder in the NI-488.2 folder. 2. Double-click the EthernetConfig icon. 3. The NI Ethernet Device Configuration utility displays a list of National Instruments Ethernet devices found on your subnet, sorted by model.
Chapter 3 Ethernet Configuration • *Unconfigured* indicates the device is configured to use DHCP, but DHCP failed to attain network parameters. • *Busy* indicates the device is configured to use DHCP and currently is attempting to acquire network parameters. Click Properties... for any of the following reasons: • You need to configure an unconfigured IP address. • You need to change the current network parameters. • You previously used DHCP, but it is no longer available.
Chapter 3 Ethernet Configuration Changing the Network Settings Your GPIB-ENET/100 must be in network configuration mode if you want to change its network settings. Any changes you make will not take effect while in normal operating mode. 1. When you select Properties... from the NI Ethernet Device Configuration utility, NI-488.2 displays the properties for your GPIB-ENET/100. The example shown in Figure 3-2 shows the properties display for an unconfigured device. Figure 3-2.
Chapter 3 Ethernet Configuration However, some DHCP servers do not implement hostname registration. The GPIB-ENET/100 requires Domain Name Server (DNS) registration when using DHCP. If your DHCP server does not support DNS registration, you must use static network parameters. Consult your network administrator for more details. 2. In the Properties display, select either Obtain an IP address automatically (DHCP) or Use the following IP settings. 3.
Chapter 3 Ethernet Configuration 4. (Optional) You can enter a comment to help you identify the device. 5. Click OK to configure the device, or Cancel to exit without saving the configuration changes. 6. Click Exit to close the NI Ethernet Device Configuration utility. The device automatically reboots with the new configuration in effect. Static IP Parameters If DHCP is not available, you must provide the GPIB-ENET/100 with several important network parameters. These parameters are listed below.
Chapter 3 Ethernet Configuration For a Network without a Network Administrator If you are assembling your own small Ethernet network, you can choose your own IP addresses. The format of the IP addresses is determined by the subnet mask. You should use the same subnet mask as the computer you are using with your GPIB-ENET/100. If your subnet mask is 255.255.255.0, the first three numbers in every IP address on the network must be the same. If your subnet mask is 255.255.0.
Chapter 3 Ethernet Configuration Verifying the Hostname The NI Ethernet Device Configuration utility automatically verifies that the hostname for each DHCP-enabled device matches the DNS entry for the assigned IP address. This verification process automatically occurs when you either run the utility or click Refresh. The utility alerts you as shown in Figure 3-4 if it detects a problem with the network settings. Figure 3-4.
Chapter 3 Ethernet Configuration 4. Review the network parameter settings in the Properties display. 5. Confirm that the device is in network configuration mode and click OK. The device reboots with the new settings in effect. 6. After the device reboots, click Refresh to verify that the hostname is now valid.
4 GPIB Configuration This chapter describes how to configure your Mac OS computer to use the GPIB-ENET/100. Configuring the NI-488.2 Software Characteristics The default settings for NI-488.2 work for most applications and devices. However, you might want to change a device name or primary address. Also, if more than one GPIB interface or external box is installed, you might want to associate a device with a particular interface.
Chapter 4 GPIB Configuration Figure 4-1. Ethernet Settings in NI-488 Config 3. To choose a GPIB bus to use with your GPIB-ENET/100, check one of the bus selection boxes at the top of the screen. There are no restrictions on which box you should check. NI-488 Config displays the number of the next available GPIB bus below the bus selection box you selected. In Figure 4-1, NI-488 Config determined that GPIB bus 0 is available for the GPIB-ENET/100. 4. Click the Bus/Device menu.
Chapter 4 GPIB Configuration For more information about NI-488 Config, refer to Chapter 6, GPIB Configuration Utility, in the NI-488.2 User Manual for MacOS. Restart Your Computer Exit NI-488 Config and restart your Macintosh so that the changes you made in the configuration utility can take effect. The NI-488.2 driver is installed every time you start or restart your computer.
5 Verify the Installation This chapter describes how to verify the software installation. If you encounter hardware problems, please refer to the Troubleshooting Hardware Problems section in Appendix B, Troubleshooting and Common Questions. Verifying the Software Installation The software diagnostic test NI-488.2 Test verifies that the NI-488.2 driver is installed and functioning with the GPIB-ENET/100.
Chapter 5 Verify the Installation Connecting the GPIB Cable When you finish verifying the installation, you can connect the GPIB cable to your GPIB-ENET/100. If you do not have a GPIB cable, as listed in the What You Need to Get Started section of Chapter 1, Introduction, contact National Instruments for ordering information. Note Connect one end of your GPIB cable to your GPIB-ENET/100 and tighten the thumb screws on the connector. Connect the other end of your GPIB cable to your GPIB system.
Using Your GPIB-ENET/100 and NI-488.2 6 This chapter lists some general programming requirements and describes how to use the following various options available with the GPIB-ENET/100 and NI-488.
Chapter 6 Using Your GPIB-ENET/100 and NI-488.2 90 seconds at power on. In this situation, you will need to obtain a static IP address from your network administrator and configure the device yourself using the NI Ethernet Device Configuration utility. Refer to the Choosing a Static IP Address section in Chapter 3, Ethernet Configuration, for more information. Notice that if DHCP fails to assign you an address, the current subnet might not have an address available for you to use.
Chapter 6 Using Your GPIB-ENET/100 and NI-488.2 Using the CFG RESET Switch during Operation While the GPIB-ENET/100 is operational, as indicated by a steady yellow PWR/RDY LED, you can use the CFG RESET switch to place the box into network configuration mode. You then can use the NI Ethernet Device Configuration utility as described in Chapter 3, Ethernet Configuration. This special mode ensures that network parameters are not changed while in use.
Chapter 6 Using Your GPIB-ENET/100 and NI-488.2 Using the CFG RESET Switch at Power-On If you want to reset the unit to its default network characteristics, you can use the CFG RESET switch at power-on. By pressing and holding the CFG RESET switch while you power on the GPIB-ENET/100, the network parameters revert to the default settings as defined on the baseplate label. You must press and hold the switch for three seconds.
Chapter 6 Using Your GPIB-ENET/100 and NI-488.2 The NI Ethernet Device Firmware Update utility cannot update the firmware while any network connections are active. Close any open connections before you attempt a firmware update. Hosts cannot connect to the GPIB-ENET/100 while it is updating the firmware. Note Complete the following steps to run the NI Ethernet Device Firmware Update utility. 1. Double-click the FirmwareUpdate icon in the Ethernet/100 folder. Figure 6-1.
Chapter 6 Using Your GPIB-ENET/100 and NI-488.2 5. The utility prompts you to confirm the change you are about to perform. Click OK to continue. As the update utility transfers the firmware image to your GPIB-ENET/100, the Update Progress status bar fills, and the Current status box describes each step in the process. The Current status box reports whether the firmware update completed successfully or failed. The GPIB-ENET/100 automatically reboots with the new firmware in effect. 6.
PWR/RDY LED Signaling A This appendix describes how to interpret the PWR/RDY LED error codes. PWR/RDY LED Overview The PWR/RDY LED has several purposes on the GPIB-ENET/100. When you first power on the unit, the PWR/RDY LED alternates rapidly between red and yellow while it completes its power-on self-tests and acquires network parameters.
Appendix A PWR/RDY LED Signaling Step 1. Count the Long Flashes A three-second interval, during which the PWR/RDY LED is yellow, separates each repetition of the sequence. The sequence begins with a series of long one-second flashes—that is, one second red, one second yellow. These long flashes represent the digit in the tens column. There can be one to nine long flashes, which represent digits 1 through 9.
B Troubleshooting and Common Questions This appendix describes how to troubleshoot problems and answers some common questions. Troubleshooting Hardware Problems Try one of the following solutions if you encounter hardware problems: • Verify that all cables are securely connected to the GPIB-ENET/100. • Verify that the unit is plugged in and powered on. • Verify with the network administrator that your IP address is valid and that the network is set up to recognize the IP address properly.
Appendix B Troubleshooting and Common Questions • The entry in the Bus/Device menu should correspond to the bus number displayed below the checked bus selection box. • The IP address or hostname of the GPIB-ENET/100 should be visible in the IP Address edit box. Verify that this address is correct. Use NI-488 Config to examine and adjust the configuration of the software. Refer to Chapter 6, GPIB Configuration Utility, in the NI-488.
Appendix B Troubleshooting and Common Questions What do I do if I have installed NI-488.2 and now my Macintosh crashes upon startup? Try changing the name of the NI-488 INIT to ZNI-488 INIT. Because INITs load in alphabetical order, the ZNI-488 INIT will load last, preventing possible corruption from INITs that load after it. If changing the name of the NI-488 INIT does not solve the problem, another INIT file might have a conflict with the NI-488 INIT. Try removing some of your other INIT files.
Appendix B Troubleshooting and Common Questions Why does the NI Ethernet Device Configuration utility list my box as *BUSY* when I know my network uses DHCP? For up to one minute, the GPIB-ENET/100 attempts to retrieve network parameters from a DHCP server. During this time, *BUSY* appears in the utility display. If this status does not change, there are several reasons why DHCP may fail to respond. One of the most likely reasons is that your subnet has no more available addresses to assign using DHCP.
Appendix B Troubleshooting and Common Questions When should I use IBIC 488.2? You can use IBIC 488.2 to practice communication with your instrument, troubleshoot problems, and develop your application program. For more information about IBIC 488.2, refer to Chapter 4, Interface Bus Interactive Control Utility, in the NI-488.2 User Manual for MacOS. How do I use an NI-488.2 language interface? For information about using NI-488.2 language interfaces, refer to the NI-488.2 User Manual for MacOS.
C Specifications This appendix describes the characteristics of the GPIB-ENET/100 and the transfer rates of the NI-488.2 software, along with the recommended operating conditions. Electrical Characteristics Input power requirements ...................... 9–30 VDC Current requirements 9–30 VDC ....................................... 425 mA maximum @ 15 VDC ...................................... 250 mA typical Environmental Characteristics Operating environment Temperature ................................
Appendix C Specifications Software Characteristics Maximum software transfer rate1 ...........800 kbytes/s Electrostatic Discharge Protection Non-isolated devices...............................1.5 kV Connectors Ethernet connector ..................................RJ-45 GPIB connector ......................................IEEE 488 standard 24 pin Network Specifications Connection type ......................................IEEE 802.3 compliant 100BaseTX (100 Mbits/s) 10BaseT (10 Mbits/s) Duplex mode.....
Technical Support Resources D Web Support National Instruments Web support is your first stop for help in solving installation, configuration, and application problems and questions. Online problem-solving and diagnostic resources include frequently asked questions, knowledge bases, product-specific troubleshooting wizards, manuals, drivers, software updates, and more. Web support is available through the Technical Support section of ni.com. You also can contact our application engineers by visiting ni.
Appendix D Technical Support Resources Worldwide Support National Instruments has offices located around the world to help address your support needs. You can access our branch office Web sites from the Worldwide Offices section of ni.com. Branch office web sites provide up-to-date contact information, support phone numbers, e-mail addresses, and current events.
Glossary Prefix Meaning Value m- milli- 10 –3 c- centi- 10 –2 k- kilo- 10 3 M- mega- 10 6 Symbols ° degrees % percent A A amperes ANSI American National Standards Institute API Application Programming Interface B b bits B bytes C C Celsius © National Instruments Corporation G-1 GPIB-ENET/100 for Mac OS
Glossary D DHCP Dynamic Host Configuration Protocol DNS Domain Name Server E EMI electromagnetic interference F FCC Federal Communications Commission G g grams GPIB General Purpose Interface Bus H Hz hertz I I/O input/output IEEE Institute of Electrical and Electronic Engineers in. inches IP Internet Protocol L lb. pounds LED light-emitting diode GPIB-ENET/100 for Mac OS G-2 ni.
Glossary M m meters MB megabytes of memory N NIC network interface card S s seconds V V volts VAC volts alternating current © National Instruments Corporation G-3 GPIB-ENET/100 for Mac OS
Index A connection speed, 1-4 connector types, C-2 conventions, xi crashing at startup, B-3 Customer Education, D-1 adding a GPIB-ENET/100 to GPIB system, 4-1 to network, 2-4 C D cables Ethernet connection, 2-3 GPIB cable types, 1-2 GPIB connection, 5-2 network cable types, 1-1 power connection, 2-3 CFG RESET switch accessing Ethernet Device Configuration utility, 6-3 if hosts are connected, 6-3 location, 2-3 resetting default network configuration, 2-5 using at power-on, 6-4 using during operation, 6-
Index E G electrical characteristics, C-1 environmental characteristics, C-1 error checking, B-5 error code, A-1 Ethernet address, 2-2 Ethernet connection location, 2-3 Ethernet Device Configuration utility ! shown on device listing, 3-8 accessing during normal operation, 6-3 busy device, 3-3, B-3, B-5 example (figure), 3-2 GPIB-ENET, B-4 if GPIB-ENET/100 is not listed, B-4 locating and starting, 3-2 network configuration mode, 3-1 Refresh option, 3-3, B-4 unconfigured device, 3-3 verifying hostname, 3-8
Index I L IBIC 488.2 using, 6-6, B-5 information to record, 2-2 INIT files managing and renaming, B-3 installation disabling virus protection, 2-1 Ethernet cable, 2-3 getting started, 1-1 GPIB cable, 5-2 GPIB-ENET/100, 2-2 NI-488.
Index P NI-488 Config changing NI-488.2 settings, 4-1 example (figure), 4-2 locating and starting, 4-1 proper Ethernet settings, B-1 running before connecting GPIB devices, 2-4 NI-488.2 components, 1-4 function information, 6-6 IBIC 488.2 utility, 6-6 installing, 2-1 interfaces supported by this version, B-2 language interfaces, B-5 overview, 1-4 programming considerations, 6-6 viewing or changing configuration, 4-1 NI-488.
Index U resetting default network characteristics, 6-4 restarting after using NI-488 Config utility, 4-3 universal power supply connecting, 2-3 updating the firmware, 6-4 using CFG RESET switch, 6-2 DHCP, 6-1 Ethernet Device Configuration utility, 3-2 Ethernet Device Firmware Update utility, 6-4 IBIC 488.2 utility, 6-6 Internet, 1-3 NI-488 Config, 4-1 NI-488.2 Test, 5-1 S software configuring NI-488.