background image

Appendix B

Troubleshooting and Common Questions

AT-GPIB/TNT for Windows 98/95

B-10

©

 National Instruments Corporation

double-click on the National Instruments GPIB Interfaces icon. 
Next, double-click on the AT-GPIB/TNT item under National 
Instruments GPIB Interfaces
, and click on the Resources tab. Use the 
Settings based on list box or the Change Setting button to modify the 
resources used by your AT-GPIB/TNT. Make sure to update the 
switches and jumpers on your board to match the new assigned 
resources.

Why does the uninstall program leave some components installed?

The uninstall program removes only items that the GPIB setup program 
installed. If you add anything to a directory that was created by the 
GPIB setup program, the uninstall program does not delete that 
directory, because the directory is not empty after the uninstallation. 
You need to remove any remaining components yourself.

What information should I have before I call National Instruments?

When you call National Instruments, you should have the results of the 
Diagnostic utility test. Also, make sure you have filled out the form in 
Appendix D, 

Customer Communication

.

Summary of Contents for AT-GPIB/TNT

Page 1: ...erutilized and idle equipment along with credit for buybacks and trade ins Custom engineering so your equipment works exactly as you specify Critical and expedited services Leasing Rentals Demos In stock Ready to ship TAR certified secure asset solutions Expert team I Trust guarantee I 100 satisfaction All trademarks brand names and brands appearing herein are the property of their respective owne...

Page 2: ... Started with Your AT GPIB TNT and the GPIB Software for Windows 98 95 AT GPIB TNT for Windows 98 95 July 1998 Edition Part Number 322092A 01 Copyright 1998 National Instruments Corporation All rights reserved ...

Page 3: ...elgium 02 757 00 20 Brazil 011 288 3336 Canada Ontario 905 785 0085 Canada Québec 514 694 8521 Denmark 45 76 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Hong Kong 2645 3186 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico 5 520 2635 Netherlands 0348 433466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland...

Page 4: ...CONSEQUENTIAL DAMAGES EVEN IF ADVISED OF THE POSSIBILITY THEREOF This limitation of the liability of National Instruments will apply regardless of the form of action whether in contract or tort including negligence Any action against National Instruments must be brought within one year after the cause of action accrues National Instruments shall not be liable for any delay in performance due to ca...

Page 5: ... the interference by one or more of the following measures Reorient or relocate the receiving antenna Increase the separation between the equipment and receiver 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 Notices to User Changes or modifications not expressly approved by N...

Page 6: ...view 1 3 Time Saving Development Tools 1 4 Chapter 2 Installation and Configuration Install the GPIB Software 2 1 Install the GPIB Hardware 2 1 Identify Resources for the AT GPIB TNT 2 2 Configure the AT GPIB TNT 2 6 Configure the AT GPIB TNT Input Output Range 2 7 Configure the AT GPIB TNT Interrupt Request 2 10 Configure the AT GPIB TNT Direct Memory Access 2 11 Setting the AT GPIB TNT Shield Gr...

Page 7: ...ition with ibcntl Set to 0xE028002C 534249428 B 1 EDVR Error Condition with ibcntl Set to 0xE0140025 535560155 B 1 EDVR Error Condition with ibcntl Set to 0xE0140035 535560139 B 1 EDVR Error Condition with ibcntl Set to 0xE0320029 533594071 or 0xE1050029 519765975 B 2 EDVR Error Condition with ibcntl set to 0xE1030043 519897021 B 2 Troubleshooting Device Manager Problems B 2 No National Instrument...

Page 8: ...igure 2 7 AT GPIB TNT Interrupt Jumper Setting for IRQ11 Default Setting 2 11 Figure 2 8 AT GPIB TNT Interrupt Jumper Setting for IRQ5 2 11 Figure 2 9 AT GPIB TNT DMA Jumper Setting for DMA Channel 7 2 12 Figure 2 10 AT GPIB TNT DMA Jumper Setting for No DMA Channel 2 13 Figure 2 11 AT GPIB TNT Ground Configuration Jumper Settings 2 14 Figure 2 12 Installing the AT GPIB TNT 2 15 Figure 2 13 GPIB I...

Page 9: ...Table 2 1 AT GPIB TNT Hardware Default Settings 2 6 Table 2 2 Possible Base I O Address Switch Settings for AT GPIB TNT 2 8 Table 2 3 AT GPIB TNT DMA Channel Settings 2 12 Table C 1 AT GPIB TNT Hardware Characteristics C 1 Table C 2 GPIB Software Transfer Rates for the AT GPIB TNT C 2 ...

Page 10: ...to install and configure your AT GPIB TNT and the GPIB software Use the GPIB User Manual for Win32 to learn the basics of GPIB and how to develop an application program The user manual also contains debugging information and detailed examples GPIB User Manual for Win32 Application Development and Examples Novice Users Experienced Users NI 488 2M Function Reference Manual for Win32 Function and Rou...

Page 11: ...lation describes how to verify the hardware and software installation Chapter 4 Begin to Use the GPIB Software helps you get started with the GPIB software Appendix A Uninstalling the Hardware and Software describes how to uninstall your AT GPIB TNT and the GPIB software Appendix B Troubleshooting and Common Questions describes how to troubleshoot problems and answers some common questions Appendi...

Page 12: ...ions icons windows or Windows tabs bold italic Bold italic text denotes a note or caution bold monospace Bold text in this font denotes the messages and responses that the computer automatically prints to the screen IEEE 488 and IEEE 488 and IEEE 488 2 refer to the ANSI IEEE Standard 488 1 1987 IEEE 488 2 and the ANSI IEEE Standard 488 2 1992 respectively which define the GPIB italic Italic text d...

Page 13: ...Function and VI Overview Manual LabVIEW User Manual LabWindows CVI Standard Libraries Reference Manual LabWindows CVI User Manual Microsoft Windows Online Help Microsoft Corporation Customer Communication National Instruments wants to receive your comments on our products and manuals We are interested in the applications you develop with our products and we want to help if you have problems with t...

Page 14: ...GPIB software and describes optional equipment you can order How to Use This Manual Yes No Gather What You Need to Get Started Chapter 2 Chapter 3 Chapter 4 User Manual and Function Reference Manual Chapter 1 Write Application Program Passes Install the Software Install the Hardware Configure the Software Verify the Installation Run Interactive Control Utility Review Programming Considerations Tro...

Page 15: ...tional Instruments for more information about the following optional equipment Serial or parallel bus extender and cables Bus expander isolator GPIB mechanical switch GPIB Hardware Overview The AT GPIB TNT interface transforms your computer into a full functioning GPIB Talker Listener Controller The TNT4882C chip on the board combines the circuitry of the NAT4882 ASIC the Turbo488 ASIC and GPIB tr...

Page 16: ... the concurrent use of multiple types of GPIB hardware For example you can communicate with GPIB devices through both an AT GPIB TNT and a PCI GPIB in the same system at the same time The GPIB software is fully integrated into the Windows operating system It is configurable through the System applet and uninstallable through the Add Remove Programs applet of the Control Panel The GPIB software alo...

Page 17: ...es with hundreds of instrument drivers which dramatically reduce software development time because you do not have to spend time programming the low level control of each instrument LabWindows CVI is similar to LabVIEW except that it combines an interactive easy to use development approach with the programming power and flexibility of compiled ANSI C code The GPIB Analyzer is another optional tool...

Page 18: ...tton You can exit the setup if necessary by clicking on the Cancel button Note If you do not have a CD drive and would like to order the GPIB software on floppy disks contact National Instruments and order part number 777780 01 2 When the setup is complete restart Windows Install the GPIB Hardware If you have previously installed the GPIB Compatibility Release for Windows 95 98 you should remove a...

Page 19: ...ence automatically Windows 95 When the next Add New Hardware Wizard dialog box offers to detect new hardware check No instead of Yes Recommended then click on the Next button to continue Windows 98 a Click on the Next button in the next Add New Hardware Wizard dialog box b In the next dialog box check No the device isn t in the list then click on the Next button to continue c In the next dialog bo...

Page 20: ...r and model of your hardware Select National Instruments as the manufacturer and AT GPIB TNT as the model and click on the Next button to continue Windows attempts to assign nonconflicting resources to the AT GPIB TNT If Windows is able to assign resources successfully the next Add New Hardware Wizard dialog box describes the resources assigned to the AT GPIB TNT as shown in the example dialog box...

Page 21: ...s Corporation Figure 2 2 AT GPIB TNT Resources Assigned Successfully If Windows is unable to assign resources successfully the next Add New Hardware Wizard dialog box explains the problem as shown in the example dialog box in Figure 2 3 Figure 2 3 AT GPIB TNT Resources Not Assigned Successfully ...

Page 22: ... Conflict Troubleshooter help When you reach the step of looking for nonconflicting resources for the AT GPIB TNT you need to change the Setting based on selection on the Resources page of the AT GPIB TNT Properties dialog box to a configuration other than Basic configuration 0 or Basic configuration 1 as shown in Figure 2 4 Figure 2 4 AT GPIB TNT Resources Settings Continue following the instruct...

Page 23: ...e resources assigned to it by Windows If the resources assigned to it match the default settings you are ready to install the AT GPIB TNT Table 2 1 shows the default settings for the switches and jumpers on the GPIB board If the resources do not match the default settings you must reconfigure the jumpers and switches as described in the next few sections to match the resources assigned to the AT G...

Page 24: ...nput and output of a board The base I O address of an Input Output Range is the first position in the Input Output Range used by the plug in interface board By default the AT GPIB TNT is configured to use base I O address 2C0 hex With this setting the board uses an Input Output Range of 2C0 hex to 2DF hex 1 Product Name Revision Letter and Assembly Letter 2 Base I O Address 3 Serial Number 4 DMA C...

Page 25: ... of the switch to select a binary value of 0 Refer to Figure 2 6 for an example of the switch settings and corresponding base I O addresses Table 2 2 shows the possible switch settings the corresponding base I O addresses and the I O address space used for each setting The default settings are in bold italics Table 2 2 Possible Base I O Address Switch Settings for AT GPIB TNT Switch Setting Base I...

Page 26: ...F 1 0 1 1 1 2E0 2E0 to 2FF 1 1 0 0 0 300 300 to 31F 1 1 0 0 1 320 320 to 33F 1 1 0 1 0 340 340 to 35F 1 1 0 1 1 360 360 to 37F 1 1 1 0 0 380 380 to 39F 1 1 1 0 1 3A0 3A0 to 3BF 1 1 1 1 0 3C0 3C0 to 3DF 1 1 1 1 1 3E0 3E0 to 3FF Table 2 2 Possible Base I O Address Switch Settings for AT GPIB TNT Continued Switch Setting Base I O Address hex I O Address Space Used hex A9 A8 A7 A6 A5 ...

Page 27: ...oftware use interrupts to get service from the CPU when necessary By default the AT GPIB TNT is configured to use interrupt request line 11 Note If there are no interrupt lines available for your GPIB hardware the jumpers that set the interrupt request line have no effect You can leave them at the default setting 1 9 8 7 6 5 0 Binary 1 1 0 0 0 0 0 0 0 0 Hex 3 0 0 Push this side down OFF for logic ...

Page 28: ...7 shows the setting for IRQ11 Figure 2 7 AT GPIB TNT Interrupt Jumper Setting for IRQ11 Default Setting Figure 2 8 shows the setting for IRQ5 Figure 2 8 AT GPIB TNT Interrupt Jumper Setting for IRQ5 Configure the AT GPIB TNT Direct Memory Access Direct memory access DMA refers to data transfers directly to or directly from devices such as the AT GPIB TNT and computer memory Your GPIB hardware and ...

Page 29: ...e the GPIB board to the new DMA channel To select a new DMA channel you must set both the DMA Acknowledge and DMA Request lines as shown in Table 2 3 Figure 2 9 shows the jumper position for selecting DMA channel 7 Figure 2 9 AT GPIB TNT DMA Jumper Setting for DMA Channel 7 Table 2 3 AT GPIB TNT DMA Channel Settings Signal Lines DMA Channel DMA Acknowledge DMA Request 5 DACK5 DRQ5 6 DACK6 DRQ6 7 D...

Page 30: ...ground This configuration minimizes EMI emissions Caution The AT GPIB TNT was tested for compliance with FCC standards with the shield ground connected to logic ground Removing the jumper might cause EMI emissions to exceed any or all of the applicable standards If your application requires that logic ground be disconnected from shield ground follow these steps 1 Refer to Figure 2 5 to locate the ...

Page 31: ...down Windows and turn off your computer Keep the computer plugged in so that it remains grounded while you install the GPIB hardware 2 Remove the top cover or other access panels to give yourself access to the computer expansion slots 3 Find an unused expansion slot in your computer The AT GPIB TNT requires a 16 bit ISA expansion slot 4 Remove the corresponding slot cover on the back panel of the ...

Page 32: ...e AT GPIB TNT 6 Screw the mounting bracket of the AT GPIB TNT to the back panel rail of the computer 7 Replace the top cover or the access port to the expansion slot 8 Power on your computer and start Windows The AT GPIB TNT hardware installation is now complete Proceed to the Configure the GPIB Software section later in this chapter ...

Page 33: ...r tab click on the View devices by type button at the top of the tab and scroll down to the National Instruments GPIB Interfaces icon Resolve Conflicts If you have other Non Plug and Play hardware in your system Windows might assign incorrect resources to your AT GPIB TNT If this happens Windows shows that the AT GPIB TNT is not working and you must reconfigure the AT GPIB TNT module and the GPIB ...

Page 34: ...ct free resources for the AT GPIB TNT If you cannot find conflict free resources for the AT GPIB TNT or if no conflicts are listed refer to the Troubleshooting Device Manager Problems section of Appendix B Troubleshooting and Common Questions to resolve the problem Assign an Interface Name If you are using more than one interface you must configure the GPIB software to associate a logical name GPI...

Page 35: ... GPIB Settings Page for the AT GPIB TNT View or Modify Logical Device Templates Optional If you want to examine or modify the logical device templates for the GPIB software select the National Instruments GPIB Interfaces icon from the Device Manager page and click on the Properties button Select the Device Templates tab to view the logical device templates as shown in Figure 2 16 ...

Page 36: ...Chapter 2 Installation and Configuration National Instruments Corporation 2 19 AT GPIB TNT for Windows 98 95 Figure 2 16 Device Templates Page for the Logical Device Templates ...

Page 37: ... to the interface and changes its status from untested to passed If the Diagnostic fails it puts an X next to the interface and changes its status from untested to failed Figure 3 1 shows the Diagnostic utility after it has tested some GPIB interfaces Figure 3 1 Diagnostic Utility after Testing You can get details on any tested GPIB interface by selecting the interface and clicking on the Details ...

Page 38: ... instrument drivers to simplify application development Instrument drivers are high level functions that eliminate the need to learn the complex low level programming commands for each instrument For more information refer to Chapter 7 Getting Started with a LabVIEW Instrument Driver in the LabVIEW User Manual If you want to write your own instrument driver National Instruments provides applicatio...

Page 39: ...nt driver yourself or you can use one that is already written When you purchase LabWindows CVI you get free access to a library of drivers for hundreds of instruments For more information about instrument drivers refer to the project window chapter in the LabWindows CVI User Manual For more information about National Instruments products please refer to our web site at http www natinst com product...

Page 40: ...onfigured you can run your existing DOS GPIB applications along with your Win16 and Win32 applications No DOS device driver is required In fact make sure that no older version of the GPIB DOS device driver is being loaded from your config sys file a file located on the boot drive of your computer Note To determine if config sys is loading an older GPIB DOS driver look for the line device path gpib...

Page 41: ...e the GPIB header file in your source code The GPIB software is accessed through the 32 bit DLL gpib 32 dll either by linking with one of the language interfaces provided with the GPIB software or by using direct DLL entry from other programming environments Several sample GPIB applications are included with the GPIB software Use these as a guide for your own application development For informatio...

Page 42: ...ion from the Windows Device Manager Complete the following steps to remove the hardware information 1 Select Start Settings Control Panel and double click on the System icon 2 In the System Properties dialog box select the Device Manager tab click on the View devices by type button and double click on the National Instruments GPIB Interfaces icon 3 Select the interface you want to remove from the ...

Page 43: ...remove the interface from your system Uninstalling the Software Before you uninstall the GPIB software you should remove all GPIB hardware information from the Windows Device Manager as described in the previous section Complete the following steps to uninstall the GPIB software 1 Select Start Settings Control Panel and double click on the Add Remove Programs icon The dialog box shown in Figure A ...

Page 44: ...software If you have not physically removed your hardware shut down Windows turn off your system and remove the GPIB hardware The uninstall program removes only items that the GPIB setup program installed If you add anything to a directory that was created by the GPIB setup program the uninstall program does not delete that directory because the directory is not empty after the uninstallation You ...

Page 45: ...igned to a GPIB interface an EDVR error condition occurs with ibcntl set to 0xE028002C You can assign a board number to a GPIB interface by configuring the GPIB software and selecting an interface name For information about how to configure the GPIB software refer to the Configure the GPIB Software section of Chapter 2 Installation and Configuration EDVR Error Condition with ibcntl Set to 0xE01400...

Page 46: ...ice Manager double click on the System icon under Start Settings Control Panel In the System Properties box that appears select the Device Manager tab and click on the View devices by type button at the top of the tab If there is no National Instruments GPIB Interfaces item and you are certain you have a GPIB interface installed refer to the No National Instruments GPIB Interfaces Item section of ...

Page 47: ...apter 2 Installation and Configuration GPIB Interface Not Working Properly If a GPIB interface is not working properly its icon has a circled X or exclamation mark overlaid on it as shown in Figure B 1 Figure B 1 GPIB Interface That Is Not Working Properly This problem can occur for several reasons If you encounter this problem the Device Manager should list an error code that indicates why the pr...

Page 48: ...em reserved resources are only acquired manually If you did not use the Device Manager to acquire system reserved resources you do not need to use the Device Manager to remove such resources To remove any resources that you reserved for your AT GPIB TNT complete the following steps 1 Select Start Settings Control Panel 2 Run the System Properties applet by double clicking on the System icon 3 In t...

Page 49: ...lve any problems reported by the Device Manager and ensure that logical board names are assigned to each interface Then run the Diagnostic utility again To access this information in the Device Manager complete the following steps 1 Double click on the System icon under Start Settings Control Panel 2 In the System Properties dialog box that appears select the Device Manager tab 3 Click on the View...

Page 50: ...onflict This error occurs if the interrupt resources assigned to a GPIB interface conflict with the interrupt resources being used by other devices in the system Resource conflicts typically occur when your system contains legacy boards that use resources that have not been reserved properly with the Device Manager If a resource conflict exists write down the resource that caused the conflict and ...

Page 51: ...em Properties dialog box that appears select the Device Manager tab 3 Click on the View devices by type button at the top of the Device Manager page 4 Double click on the National Instruments GPIB Interfaces icon 5 Double click on the GPIB interface to be configured 6 Select the GPIB Settings tab 7 Click on the Advanced button and make sure that the Demand Mode DMA item is unchecked GPIB Software ...

Page 52: ...age If any GPIB hardware is correctly installed a National Instruments GPIB Interfaces icon appears in the list of device types Double click on this icon to see a list of installed GPIB hardware How can I determine which version of the GPIB software I have installed Run the Diagnostic utility select the Diagnostic item under Start Programs National Instruments GPIB A banner at the bottom of the Di...

Page 53: ...e Diagnostic item under Start Programs National Instruments GPIB Refer to the Troubleshooting Diagnostic Utility Failures section in this appendix or the online help to troubleshoot any problems When should I use the Win32 Interactive Control utility You can use the Win32 Interactive Control utility to test and verify instrument communication troubleshoot problems and develop your application prog...

Page 54: ...rd to match the new assigned resources Why does the uninstall program leave some components installed The uninstall program removes only items that the GPIB setup program installed If you add anything to a directory that was created by the GPIB setup program the uninstall program does not delete that directory because the directory is not empty after the uninstallation You need to remove any remai...

Page 55: ...haracteristics Table C 1 AT GPIB TNT Hardware Characteristics Characteristic Specification Dimensions 10 67 cm by 16 51 cm 4 2 in by 6 5 in Power Requirement from PC AT I O Channel 5 VDC 50 mA Typical 120 mA Maximum I O Connector IEEE 488 Standard 24 Pin Operating Environment Component Temperature Relative Humidity 0 to 55 C 10 to 90 Noncondensing Storage Environment Temperature Relative Humidity ...

Page 56: ...ion Software Transfer Rates Table C 2 GPIB Software Transfer Rates for the AT GPIB TNT Transfer Method Maximum GPIB Transfer Rate 3 Wire IEEE 488 1 5 Mbytes s High Speed HS488 2 2 Mbytes s Actual speed may vary considerably from speed shown because of system and instrumentation capabilities ...

Page 57: ...systems does not answer your questions we offer fax and telephone support through our technical support centers which are staffed by applications engineers Electronic Services Bulletin Board Support National Instruments has BBS and FTP sites dedicated for 24 hour support with a collection of files and documents to answer most common customer questions From these sites you can also download the lat...

Page 58: ...ents office in your country contact the source from which you purchased your software to obtain support Country Telephone Fax Australia 03 9879 5166 03 9879 6277 Austria 0662 45 79 90 0 0662 45 79 90 19 Belgium 02 757 00 20 02 757 03 11 Brazil 011 288 3336 011 288 8528 Canada Ontario 905 785 0085 905 785 0086 Canada Québec 514 694 8521 514 694 4399 Denmark 45 76 26 00 45 76 26 02 Finland 09 725 72...

Page 59: ..._______________________________________________ _______________________________________________________________________________ National Instruments hardware product model __________ Revision ______________________ Configuration ___________________________________________________________________ National Instruments software product ____________________________Version ____________ Configuration __...

Page 60: ...ther Products Resources Summary Report from the Device Manager To create this report first display the System Properties dialog box for the computer by double clicking on the System icon under Start Settings Control Panel Then click on the Device Manager tab and highlight the Computer icon Click on the Print button and check the Print to file checkbox in the Print dialog box before clicking on OK ...

Page 61: ..._____________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ __________________________________________...

Page 62: ...pecific integrated circuit B bytes base I O address lowest I O address used by the GPIB hardware C Celsius CPU central processing unit DLL dynamic link library DMA direct memory access EMI electromagnetic interference FCC Federal Communications Commission GPIB General Purpose Interface Bus hex hexadecimal Prefix Meanings Value m milli 10 3 c centi 10 2 M mega 106 ...

Page 63: ...rces are chosen by changing physical DIP switches or jumpers on the board m meters MB megabytes of memory PC personal computer PCI Peripheral Components Interconnect PCMCIA Personal Computer Memory Card International Association PLC programmable logic controller RAM random access memory resource hardware settings used by devices in a computer system including ISA interrupt request DMA channel and ...

Page 64: ...quipment Have surplus equipment taking up shelf space We ll give it a new home Learn more Visit us at artisantg com for more info on price quotes drivers technical specifications manuals and documentation Artisan Scientific Corporation dba Artisan Technology Group is not an affiliate representative or authorized distributor for any manufacturer listed herein We re here to make your life easier How...

Reviews: