background image

GPIB

Getting Started with Your
GPIB-ENET/100 and
NI-488.2

for HP-UX

GPIB-ENET/100 for HP-UX

March 2001 Edition

Part Number 322987A-01

Summary of Contents for GPIB GPIB-ENET/100

Page 1: ...GPIB Getting Started with Your GPIB ENET 100 and NI 488 2 for HP UX GPIB ENET 100 for HP UX March 2001 Edition Part Number 322987A 01...

Page 2: ...26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 74...

Page 3: ...ance instructions owner s modification of the product owner s abuse misuse or negligent acts and power failure or surges fire flood accident actions of third parties or other events outside reasonable...

Page 4: ...ents could void the user s authority to operate the equipment under the FCC Rules Class A Federal Communications Commission This equipment has been tested and found to comply with the limits for a Cla...

Page 5: ...onformity DoC for information pertaining to the CE Mark compliance scheme The Manufacturer includes a DoC for most every hardware product except for those bought for OEMs if also available from an ori...

Page 6: ...are 1 5 Chapter 2 Installation Installing NI 488 2 2 1 Installing the GPIB ENET 100 Hardware 2 2 Step 1 Record the Serial Number Ethernet Address and Default Hostname 2 2 Step 2 Connect the Cables 2 3...

Page 7: ...erify the Installation Connecting the GPIB Cable 5 2 Chapter 6 Using Your GPIB ENET 100 and NI 488 2 Using DHCP 6 1 Using the CFG RESET Switch 6 3 Using the CFG RESET Switch during Operation 6 3 Using...

Page 8: ...ting Power to the GPIB ENET 100 2 4 Figure 3 1 Example NI Ethernet Device Configuration Main Screen 3 2 Figure 3 2 Example Properties Screen 3 4 Figure 3 3 Example Verification Error Message 3 8 Figur...

Page 9: ...n which advises you of precautions to take to avoid injury data loss or a system crash bold Bold text denotes items that you must select or click on in the software such as menu items and dialog box o...

Page 10: ...at you might find helpful as you read this manual ANSI IEEE Standard 488 1 1987 IEEE Standard Digital Interface for Programmable Instrumentation ANSI IEEE Standard 488 2 1992 IEEE Standard Codes Forma...

Page 11: ...100 which is included in your hardware kit GPIB ENET 100 power supply which is included in your hardware kit One of the following power cords which is included in your hardware kit U S standard power...

Page 12: ...er and cables Bus expander isolator GPIB mechanical switch Multiple Computer Software License A multiple computer software license allows one or more hosts on a single physical network to access one o...

Page 13: ...gain all the features inherent in a networked device fewer cabling distance restrictions device sharing and communication with devices throughout the Internet In a GPIB application you are restricted...

Page 14: ...update utility Interactive control utility 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 ye...

Page 15: ...ocumentation for information about GPIB I O functions For ordering information contact National Instruments LabVIEW is a graphical programming environment you can use to acquire data from thousands of...

Page 16: ...88 2 for HP UX To become a superuser type su root and enter the root password 3 Create a working directory for example usr gpib and change to that directory Note The remainder of this manual refers to...

Page 17: ...default hostname on the GPIB ENET 100 baseplate label as shown in Figure 2 1 2 Write down this information and keep it available so you can refer to it later as you configure the GPIB ENET 100 Figure...

Page 18: ...Ethernet cable to your GPIB ENET 100 Connect the other end of the Ethernet cable to your Ethernet network Make sure you comply with all IEEE 802 3 cabling restrictions 2 Because AC outlets vary throug...

Page 19: ...on Protocol DHCP is available on your network to perform the configuration automatically By default the GPIB ENET 100 attempts its network configuration through DHCP If DHCP is not available the unit...

Page 20: ...hen you can run the GPIB configuration utility as described in Chapter 4 GPIB Configuration Refer to Appendix B Troubleshooting and Common Questions if the LED does not change to steady yellow If the...

Page 21: ...CP and DHCP is unavailable the unit automatically enters network configuration mode after a 60 second timeout The GPIB ENET 100 must be in this mode before you can make changes to the network paramete...

Page 22: ...ce Configuration utility which is installed in the GPIB ENET 100 utilities directory The default path is as follows Install Directory GPIBENET100 EthernetConfig 2 The NI Ethernet Device Configuration...

Page 23: ...f the device You should view the device 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 us...

Page 24: ...ent hostname is displayed The hostname associates a name with a numerical IP address Hostname is a required field The GPIB ENET 100 attempts to use the hostname when registering with DHCP Many DHCP se...

Page 25: ...or user s name 5 Choose E xit Screen when you are finished If you have made any changes you will be prompted to commit your changes to the device 6 Choose E xit Program to close the NI Ethernet Device...

Page 26: ...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 w...

Page 27: ...any errors were detected during this process an exclamation point appears to the left of the device that has a problem To correct the problem with the hostname complete the following steps 1 Review t...

Page 28: ...he DNS entry 1 Use static network parameters instead of DHCP Use this option if you cannot use the hostname assigned by the DHCP server Contact your network administrator to obtain a valid IP address...

Page 29: ...ice is in network configuration mode and choose E xit Screen You will be prompted to commit the changes to the device If you choose Y es the device reboots with the new settings in effect 6 After the...

Page 30: ...re than one GPIB interface is installed you might want to associate a device with a particular interface Configuring the Software The GPIB software configuration utility ibconf is an interactive utili...

Page 31: ...ese is appropriate and whether you need to modify your etc hosts system file If you do need to modify this file refer to the Modifying the etc hosts System File section later in this chapter To identi...

Page 32: ...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 th...

Page 33: ...ce Configuration utility official host name is the default hostname listed on the baseplate label unless you changed the hostname using the NI Ethernet Device Configuration utility The name must be a...

Page 34: ...o Chapter 3 Ethernet Configuration or Chapter 4 GPIB Configuration to verify your configuration settings Follow these steps to run the software verification test 1 Ensure all GPIB cables are disconnec...

Page 35: ...cable to your GPIB ENET 100 Note 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 C...

Page 36: ...ign necessary network parameters including the IP address the netmask and router information to a newly attached network device Optionally if the device provides a hostname with the configuration requ...

Page 37: ...to it using the hostname you assigned Your network administrator may have to manually insert the hostname into the DNS table Alternatively you can use the NI Ethernet Device Configuration utility to...

Page 38: ...he parameters are protected while in normal operation Hosts cannot connect to the GPIB ENET 100 while it is in network configuration mode Note Pressing the CFG RESET switch has no effect if hosts are...

Page 39: ...red This indicates the network configuration will be set to the factory default settings 4 When you release the CFG RESET switch the box continues to boot as normal and the PWR RDY LED indicates the...

Page 40: ...d either the numerical IP address or the hostname of your GPIB ENET 100 An example of an IP address is 137 65 220 40 An example of a hostname is myenet1 For example the following command copies the im...

Page 41: ...NI 488 2 routines interactively and display the results of the function calls automatically Without writing an application you can use ibic to do the following Verify GPIB communication with your dev...

Page 42: ...GPIB library libgpib as shown by the following example cc test c lgpib Note A linkable object module cib o is installed with the software for backward compatibility National Instruments strongly recom...

Page 43: ...hile the device is in network configuration mode At other times the PWR RDY LED blinks slowly in a recognizable pattern to alert you of internal errors Use this appendix to interpret and record the pa...

Page 44: ...that is one fifth of a second red one fifth of a second yellow These short flashes represent the digit in the ones column Again there can be one to nine flashes which represent the digits 1 through 9...

Page 45: ...steps in Chapter 3 Ethernet Configuration If the PWR RDY LED continues to flash rapidly after 90 seconds the GPIB ENET 100 is unable to obtain its IP address from the network Check with your network a...

Page 46: ...eight GPIB ENET 100 boxes and up to 44 logical devices by default You can use ibconf to modify the software to support up to 128 boxes and 128 logical devices Refer to the Increasing the Allowed Numb...

Page 47: ...etrieve 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...

Page 48: ...g steps contact National Instruments My driver is not communicating with the GPIB ENET 100 What should I do Make sure that the GPIB ENET 100 is configured properly To isolate the problem try to ping y...

Page 49: ...e information How do I communicate with my instrument over the GPIB Refer to the documentation that came from the instrument manufacturer The command sequences you use are totally dependent on the spe...

Page 50: ...ts 9 30 VDC Current requirements 9 30 VDC 425 mA maximum 15 VDC 250 mA typical Environmental Characteristics Operating temperature 0 to 60 C Relative humidity operating 10 to 90 noncondensing conditio...

Page 51: ...ge 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...

Page 52: ...the latest example programs system configurators tutorials technical news as well as a community of developers ready to share their own techniques Customer Education National Instruments provides a nu...

Page 53: ...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 If you have searched the tec...

Page 54: ...Institute API Application Programming Interface b bits B bytes C Celsius DHCP Dynamic Host Configuration Protocol DNS Domain Name Server EMI electromagnetic interference EEPROM Electrically Erasable P...

Page 55: ...00 for HP UX G 2 ni com IP Internet Protocol lb pounds LED light emitting diode m meters MB megabytes of memory NIC network interface card s seconds TCP Transmission Control Protocol V volts VAC volts...

Page 56: ...iguration Reset switch See CFG RESET switch configuring network parameters 3 2 NI 488 2 4 1 connecting cables 2 3 GPIB devices caution 2 4 connection speed 1 4 connector types C 2 conventions xi custo...

Page 57: ...Firmware Update utility before using 6 4 important warning 6 4 location and starting 6 5 using 6 4 when to use 6 4 F failed device reported by PWR RDY LED 2 5 A 1 firmware updating 6 4 front panel fi...

Page 58: ...r 3 5 gateway IP 3 5 if assigned by network administrator 3 6 if assigned by user 3 6 IP address 3 5 subnet mask 3 5 K kit contents 1 1 L label example figure 2 2 information to record 2 2 location 2...

Page 59: ...uring 3 4 example figure 3 4 PWR RDY LED description 1 4 if blinking a pattern 2 5 A 1 if flashing rapidly 2 5 3 1 A 1 B 1 if red 2 5 if yellow 2 5 A 1 interpreting status messages A 1 observing durin...

Page 60: ...oubleshooting hardware problems B 1 software problems B 1 U universal power supply connecting 2 3 updating the firmware 6 4 using CFG RESET switch 6 3 DHCP 6 1 Ethernet Device Configuration utility 3...

Reviews: