background image

GPIB

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

 

for Windows Me/98/95

GPIB-ENET/100 for Windows Me/98/95

August 2000 Edition

Part Number 322870A-01

Summary of Contents for GPIB Series

Page 1: ...GPIB Getting Started with Your GPIB ENET 100 and NI 488 2 for Windows Me 98 95 GPIB ENET 100 for Windows Me 98 95 August 2000 Edition Part Number 322870A 01 ...

Page 2: ...4 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 7456 Mexico D F 5 280 7625 Mexico Monterrey 8 357 7695 Netherlands 0348 433466 New Zealand 09 914 0488 Norway 32 27 73 00 Poland 0 22 528 94 06 Portugal 351 1 726 9011 Singapore 2265886 Spain 91 640 0085 Sweden 08 587 895 00 Switzerland 056 200 51 51...

Page 3: ...rvice failures caused by owner s failure to follow the National Instruments installation operation or maintenance 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 control Copyright Under the copyright laws this publication may not be reproduced or trans...

Page 4: ...Communications DOC Changes or modifications not expressly approved by National Instruments 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 Class A digital device pursuant to part 15 of the FCC Rules These limits are designed to provide reasonable protectio...

Page 5: ... Directives Readers in the EU EEC EEA must refer to the Manufacturer s Declaration of Conformity 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 original manufacturer that also markets in the EU or where compliance is not required as for electrically benign app...

Page 6: ...Tools 1 5 Chapter 2 Installation Installing NI 488 2 2 1 Add GPIB Hardware 2 2 Restart Your System 2 2 Installing the GPIB ENET 100 Hardware 2 3 Step 1 Record the Serial Number Ethernet Address and Default Hostname 2 3 Step 2 Connect the Cables 2 4 Step 3 Switch on Your GPIB ENET 100 2 5 Chapter 3 Ethernet Configuration Using the NI Ethernet Device Configuration Utility 3 1 Changing the Network Se...

Page 7: ... 1 Connecting the GPIB Cable 5 3 Chapter 6 Using Your GPIB ENET 100 and NI 488 2 NI 488 2 Getting Started Wizard 6 1 Using DHCP 6 2 Using the CFG RESET Switch 6 3 Using the CFG RESET Switch during Operation 6 3 Using the CFG RESET Switch at Power On 6 4 Updating the Firmware 6 5 Appendix A PWR RDY LED Signaling Appendix B Troubleshooting and Common Questions Appendix C Specifications Appendix D Te...

Page 8: ...hernet Device Configuration Utility 3 2 Figure 3 2 Properties Window for an Unconfigured GPIB ENET 100 3 3 Figure 3 3 Specifying IP Settings 3 4 Figure 3 4 Hostname Verification Error Detected 3 7 Figure 3 5 Resolving a Hostname Verification Error 3 8 Figure 4 1 Network Settings Tab 4 2 Figure 5 1 NI 488 2 Getting Started Wizard Dialog Box 5 2 Figure 5 2 NI 488 2 Troubleshooting Wizard 5 2 Figure ...

Page 9: ...og box options to a final action The sequence File Page Setup Options directs you to pull down the File menu select the Page Setup item and select Options from the last dialog box The symbol indicates that the following text applies only to a specific operating system This icon denotes a tip which alerts you to advisory information This icon denotes a note which alerts you to important information...

Page 10: ... monospace bold Bold text in this font denotes the messages and responses that the computer automatically prints to the screen Related Documentation The following documents contain information that 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 Formats Pr...

Page 11: ... installed on your computer GPIB ENET 100 which is included in your kit GPIB ENET 100 power supply which is included in your kit One of the following power cords which is included in your kit U S standard power cord Switzerland power cord Australian power cord Universal European power cord North American power cord U K power cord The NI 488 2 for Windows CD which is included in your kit One of the...

Page 12: ...bus extender 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 or more GPIB ENET 100 boxes For information about ordering a software license contact National Instruments GPIB ENET 100 Hardware Overview The GPIB ENET 100 high speed interface controls GPIB...

Page 13: ...0 you 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 to the distance limitations of the GPIB specification However you can overcome these restrictions because the GPIB ENET 100 uses Ethernet and can add an unlimited distance to your application si...

Page 14: ...the operating system 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 The color indicates the conne...

Page 15: ...documentation 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 different instruments including IEEE 488 2 devices VXI devices serial devices PLCs and plug in data acquisition boards After you acquire raw data you can convert it into meaningful results using the...

Page 16: ...rammers Measurement Studio includes a collection of ActiveX controls designed for building virtual instrumentation systems You can use the GPIB serial and VISA I O controls and property pages to configure communication with your instruments GPIB Analyzer is an optional tool available from National Instruments that is useful in troubleshooting a variety of IEEE 488 hardware and software problems Wi...

Page 17: ...ng Started with Your GPIB ENET and NI 488 2 for Windows Me 98 95 for installation instructions Installing NI 488 2 Before you install the GPIB ENET 100 hardware complete the following steps to install the NI 488 2 software 1 Insert the NI 488 2 for Windows CD 2 When the NI 488 2 Software for Windows screen appears click the Install NI 488 2 Software for Windows item as shown in Figure 2 1 Figure 2...

Page 18: ... to your system To do so complete the following steps 1 Select Start Programs National Instruments NI 488 2 Add GPIB Hardware 2 When the wizard prompts you for a type of hardware select GPIB ENET 100 and click Next to continue Figure 2 2 Add GPIB Hardware Wizard Dialog Box Restart Your System Before you use the NI 488 2 software you must restart your system When your system restarts the NI 488 2 G...

Page 19: ...address and default hostname on the GPIB ENET 100 baseplate label as shown in Figure 2 3 2 Write down this information and keep it available so you can refer to it later as you configure the GPIB ENET 100 Note The Ethernet address is not the IP address All devices on an Ethernet network are assigned a unique physical address the Ethernet address so they can communicate with each other Figure 2 3 G...

Page 20: ...t 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 throughout the world your kit includes a power cord that meets your local requirements in addition to a power supply Figure 2 5 shows how to hook up your power cord and power supply a Plug one end of the power cor...

Page 21: ... settings manually using the NI Ethernet Device Configuration utility or use the Dynamic Host Configuration Protocol DHCP to perform the configuration automatically For more information about DHCP refer to the Using DHCP section in Chapter 6 Using Your GPIB ENET 100 and NI 488 2 When you turn on the front panel power switch the PWR RDY LED alternates rapidly between red and yellow while the GPIB E...

Page 22: ...ccessful the PWR RDY LED should become steady yellow Then 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 PWR RDY LED is steady red the GPIB ENET 100 has an unrecoverable error Contact National Instruments Technical Support If the PWR RDY LED blinks a ...

Page 23: ... enters network configuration mode if it is configured with the factory default settings The GPIB ENET 100 must be in this mode before you can make changes to the network parameters You also can enter this mode during normal operation by pressing and holding the CFG RESET switch for three seconds Refer to the Using the CFG RESET Switch section in Chapter 6 Using Your GPIB ENET 100 and NI 488 2 for...

Page 24: ...d devices can be in one of four possible states as indicated in the IP address hostname column A hostname indicates the device has successfully been configured by DHCP A numerical IP address indicates the device has successfully been configured with a static IP address Unconfigured indicates the device is configured to use DHCP but DHCP failed to attain network parameters Busy indicates the device...

Page 25: ...hernet devices or to discover a device that you recently added to the subnet Click Exit if you are using DHCP and you do not need to change the hostname of the GPIB ENET 100 or if you are finished using the NI Ethernet Device Configuration utility Changing the Network Settings 1 When you select Properties from the NI Ethernet Device Configuration window a Properties window for your GPIB ENET 100 a...

Page 26: ...r DHCP server does not support DNS registration you must use static network parameters Consult your network administrator for more details 2 In the Properties window select either Obtain an IP address automatically DHCP or Use the following IP settings 3 If you select Obtain an IP address automatically DHCP you do not need to enter any network parameters unless you want to change the hostname of t...

Page 27: ...ers separated by periods for example 130 164 54 215 Refer to the next section Choosing a Static IP Address Subnet mask A code that helps the network device determine whether another device is on the same network or a different network Gateway IP The IP address of a device that acts as a gateway which is a connection between two networks If your network does not have a gateway set this parameter to...

Page 28: ...devices on your network if your subnet mask is 255 255 255 0 Table 3 1 shows examples of valid and invalid IP addresses for a network using subnet mask 255 255 255 0 All valid IP addresses contain the same first three numbers The IP addresses in this table are for example purposes only If you are setting up your own network you probably do not have a gateway or DNS server so you should set these v...

Page 29: ...rnet adapter you are using to communicate with the GPIB ENET 100 Windows 95 1 Open a DOS prompt 2 Type WINIPCFG 3 Press Enter 4 Select the Ethernet adapters you are using to communicate with the GPIB ENET 100 from the drop down list 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...

Page 30: ...ur situation and click OK Change the device s hostname to match the DNS entry Use this option if you want to accept the hostname assigned by the DHCP server or if you cannot contact the network administrator to change the DNS entry 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 ...

Page 31: ...ously assigned hostname If you select this option contact your network administrator to change the DNS entry 4 Review the network parameter settings in the Properties window 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 ...

Page 32: ... Right click the GPIB ENET 100 item and select Device Configuration from the drop down menu that appears 4 Record the IP Address or hostname of your device from the IP address hostname column You can identify your device by the Ethernet address or serial number found on the GPIB ENET 100 baseplate label 5 Exit the NI Ethernet Device Configuration utility 6 Right click the GPIB ENET 100 item and se...

Page 33: ...ility context sensitive online help contains all of the information that you need to configure the NI 488 2 software properly To view the online help click on the question mark button in the toolbar and click on any item for more information about it Note In the online help all references to the GPIB ENET apply also to the GPIB ENET 100 ...

Page 34: ... is dependent on your network and the configuration of your GPIB ENET 100 When the tests are successful and the IP address is assigned the PWR RDY LED remains steady yellow indicating that the GPIB ENET 100 is ready to operate If the PWR RDY LED continues to flash for more than one minute refer to the Troubleshooting Hardware Problems section in Appendix B Troubleshooting and Common Questions Run ...

Page 35: ... you click Verify your hardware and software installation the NI 488 2 Troubleshooting Wizard tests your GPIB interface and displays the results as shown in as shown in Figure 5 2 Note The GPIB cable must be disconnected from your GPIB interface before you run the NI 488 2 Troubleshooting Wizard Figure 5 2 NI 488 2 Troubleshooting Wizard ...

Page 36: ...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 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 Make sure you comply with all IEEE 488 1 cabling restrictions and...

Page 37: ...tility NI 488 2 Getting Started Wizard The NI 488 2 Getting Started Wizard helps you get started with GPIB instrument communication using the Measurement Automation Explorer To run the NI 488 2 Getting Started Wizard select Start Programs National Instruments NI 488 2 Getting Started After the NI 488 2 Getting Started Wizard runs the NI 488 2 Troubleshooting Wizard to verify the installation click...

Page 38: ... the requested hostname Within the past few years an Internet community standard has emerged to provide a standardized way for these services to provide dynamic domain name services Using this standard after DHCP assigns the numerical IP address it can communicate with DNS to register the newly assigned IP address with the requested hostname However the complexity of DHCP and dynamic name registra...

Page 39: ...k When you can use DHCP and DNS successfully you can use the hostname form of the IP address to communicate with your product even if the numerical IP address changes with successive reboots If you are setting up a small network for your instrumentation system it is recommended to use static IP addresses because they are easier to implement and maintain In this system you can safely use the numeri...

Page 40: ...ern increases in tempo 3 At three seconds the PWR RDY LED becomes steady red This indicates the GPIB ENET 100 is ready to enter network configuration mode 4 Now release the CFG RESET switch The PWR RDY LED alternates rapidly between red and yellow to indicate the GPIB ENET 100 is now in network configuration mode This mode remains in effect until you switch off the GPIB ENET 100 or you use the NI ...

Page 41: ...ays ships with the most recent firmware You do not need to run the firmware update utility on a new product You can obtain the latest upgrade at the following path ftp ftp ni com support gpib firmware GPIBENET100 You need to know either the IP address or hostname of your GPIB ENET 100 before you run the NI Ethernet Device Firmware Update utility If you do not remember this information first run th...

Page 42: ...nd select Update Firmware from the drop down menu that appears Figure 6 2 shows the NI Ethernet Device Firmware Update utility Figure 6 2 NI Ethernet Device Firmware Update Utility 4 Enter the IP address or the hostname of the GPIB ENET 100 in the IP address or hostname edit box An example of an IP address is 137 65 220 40 An example of a hostname is myenet1 5 Enter the full path of the binary fil...

Page 43: ...tinue 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 8 Click Exit to close the NI Ethernet Device Firmware Upda...

Page 44: ...ellow while 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 pattern that the PWR RDY LED flashes and then contact National Instruments Note By recording the PWR RDY LED status messages before calling National Instruments you can save yourself time and the...

Page 45: ...second 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 For example one short flash represents the digit 1 in the ones column and nine short flashes represent the digit 9 in the ones column Using this method the PWR RDY LED flashes the following seq...

Page 46: ... address properly If you configured the IP address manually using the NI Ethernet Device Configuration utility verify that you have correctly followed the 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 administrator to verify your IP address and ma...

Page 47: ... with ibcntl Set to 0xE0140025 535560155 If a call is made with a board number outside the range of allowed board numbers typically 0 to 31 an EDVR error condition occurs with ibcntl set to 0xE0140025 EDVR Error Condition with ibcntl Set to 0xE0140035 535560139 If a call is made with a device name that is not listed in the logical device templates that are part of the GPIB Configuration utility an...

Page 48: ...e Devices and Interfaces folder 3 Right click on the GPIB ENET 100 item and select Update Firmware from the drop down menu that appears Missing WinSock Support WinSock support is enabled and configured in the Network Control Panel applet To configure WinSock support perform the following steps 1 Select Start Settings Control Panel 2 Double click the Network icon For Windows Me if you do not see th...

Page 49: ...alled You can install a WinSock interface from Microsoft or another network vendor Refer to the Missing WinSock Support section of this appendix for information about how to install and configure WinSock support My driver is not communicating with the GPIB ENET 100 What should I do Make sure that the GPIB ENET 100 is configured properly as described in Chapter 4 GPIB Configuration Then run the Tro...

Page 50: ...indows Me 98 95 driver supports a full range of GPIB interfaces simultaneously I have a GPIB ENET Can I use the GPIB ENET and GPIB ENET 100 in the same system Yes this version of NI 488 2 supports systems containing both products as well as systems containing only one of the two products Measurement Automation Explorer will guide you through the configuration of the product How many GPIB interface...

Page 51: ...he problem I just added a GPIB ENET 100 to the network but it does not show up in the NI Ethernet Device Configuration utility What is the problem Allow at least 15 seconds for the GPIB ENET 100 to complete its power on self tests before launching the utility or clicking Refresh Communication between the NI Ethernet Device Configuration utility and the GPIB ENET 100 is not guaranteed Though unlike...

Page 52: ...uirements 9 30 VDC Current requirements 9 30 VDC 425 mA maximum 15 VDC 250 mA typical Environmental Characteristics Operating temperature 0 to 40 C Relative humidity operating 10 to 90 noncondensing conditions Storage temperature 20 to 70 C Relative humidity storage 5 to 90 noncondensing conditions EMI FCC Class A Verified Physical Characteristics Overall case size dimensions 21 0 by 12 4 by 3 7 c...

Page 53: ...c 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 Half duplex 1 Actual speed may vary considerably from speed shown due to system network and instrumentation capabilities ...

Page 54: ...ation systems At the NI Developer Zone you can easily access 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 number of alternatives to satisfy your training needs from self paced tutorials videos and interactive CDs to instructor led hands on courses...

Page 55: ...e 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 If you have searched the technical support resources on our Web site and still cannot find the answers you need contact your local office or National Instruments corporate Phone numbers for our worldwide offices are listed...

Page 56: ...an National Standards Institute API Application Programming Interface b bits B bytes bps bits per second C Celsius DHCP Dynamic Host Configuration Protocol DLL dynamic link library DNS Domain Name Server EMI electromagnetic interference FCC Federal Communications Commission g grams GPIB General Purpose Interface Bus Hz hertz IEEE Institute of Electrical and Electronic Engineers in inches ...

Page 57: ...put output IP Internet Protocol LED light emitting diode lb pounds m meters MB megabytes of memory NIC network interface card s seconds V volts VAC volts alternating current Win16 describes a 16 bit Windows application Win32 describes a 32 bit Windows application ...

Page 58: ...communication problems with driver B 4 with Ethernet Device Configuration utility B 6 Configuration Reset switch See CFG RESET switch configuring network parameters 3 1 NI 488 2 4 1 connecting cables 2 4 GPIB devices caution 2 5 connection speed 1 4 connector types C 2 conventions xi customer education D 1 D default configuration resetting 2 6 6 4 specifications 2 3 default hostname 2 3 developmen...

Page 59: ...ce 3 2 verifying hostname 3 7 when to use 2 6 3 1 Ethernet Device Firmware Update utility using 6 5 F failed device reported by PWR RDY LED 2 6 A 1 firmware updating 6 5 firmware update utility before using 6 5 important warning 6 5 running 6 6 upgrade location 6 5 when to use 6 5 front panel figure 1 3 G gateway IP 3 5 getting started 1 1 Getting Started Wizard figure 5 2 testing installation 5 1...

Page 60: ...ssigned by user 3 6 IP address 3 5 subnet mask 3 5 ipconfig using to determine network settings 3 7 K kit contents 1 1 L label information to record 2 3 location 2 3 label figure 2 3 LEDs description of each table 1 4 overview 1 3 license multiple computer software license 1 2 N National Instruments Web support D 1 network addresses configuring 4 1 network administrator assigning IP parameters 3 5...

Page 61: ... 2 6 if yellow 2 6 A 1 interpreting status messages A 1 observing during self tests 2 6 overview A 1 when using CFG RESET switch 6 4 6 5 R rear panel figure 2 4 rebooting after Ethernet configuration 3 5 after firmware update 6 5 after installing NI 488 2 2 2 refreshing list of Ethernet devices 3 9 related documentation xii requirements 1 1 resetting default network characteristics 6 4 S software ...

Page 62: ...lems B 1 troubleshooting wizard verifying installation 5 2 U updating the firmware 6 5 using CFG RESET switch 6 3 DHCP 6 2 firmware update utility 6 5 Internet 1 3 V verifying hostname 3 7 installation 5 1 voltage rating C 1 W Web support from National Instruments D 1 winipcfg using to determine network settings 3 7 WinSock before using NI 488 2 B 4 configuring B 3 worldwide technical support D 2 ...

Reviews: