background image

©

 National Instruments Corporation

A-1

PC/104-GPIB for Windows 95

Appendix

A

Uninstalling the 
Hardware and Software

This appendix describes how to uninstall your PC/104-GPIB and GPIB 
software for Windows 95.

Uninstalling the Hardware

Before you physically remove the GPIB hardware from your system, 
you must remove the hardware information from the Windows 95 
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 National 
Instruments GPIB Interfaces
 list, as shown in Figure A-1. Click 
on the Remove button to remove the hardware information.

4.

Click on the OK button, shut down Windows 95, turn off your 
system, and physically remove the interface from your system.

Summary of Contents for PC/104-GPIB

Page 1: ...Started with Your PC 104 GPIB and the GPIB Software for Windows 95 PC 104 GPIB for Windows 95 January 1998 Edition Part Number 321374B 01 Copyright 1997 1998 National Instruments Corporation All rights reserved ...

Page 2: ...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 3: ...TAL OR 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 du...

Page 4: ...al area is likely to cause harmful interference in which case the user will be required to correct the interference at his own expense Notices to User Changes or modifications not expressly approved by National Instruments could void the user s authority to operate the equipment under the FCC Rules This device complies with the FCC rules only if used with shielded interface cables of suitable qual...

Page 5: ... 1 3 Optional Programming Environments 1 4 Chapter 2 Installation and Configuration Install the GPIB Software 2 1 Install the Hardware 2 3 Identify Resources for the PC 104 GPIB 2 4 Configure the Hardware Optional 2 8 Configure the PC 104 GPIB Input Output Range 2 9 Configure the PC 104 GPIB Interrupt Request 2 12 Configure the PC 104 GPIB Direct Memory Access 2 14 Setting the PC 104 GPIB Shield G...

Page 6: ...et 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 Instruments GPIB Interfaces Item B 2 Missing GPIB Interface B 3 GPIB Interface Not Working Pro...

Page 7: ...ngs 2 12 Figure 2 9 PC 104 GPIB Interrupt Jumper Setting for IRQ11 Default Setting 2 13 Figure 2 10 PC 104 GPIB Interrupt Jumper Setting for IRQ5 2 13 Figure 2 11 PC 104 GPIB DMA Jumper Setting for DMA Channel 7 2 15 Figure 2 12 PC 104 GPIB DMA Jumper Setting for No DMA Channel 2 15 Figure 2 13 PC 104 GPIB Ground Configuration Jumper Settings 2 16 Figure 2 14 Installing the PC 104 GPIB 2 17 Figure...

Page 8: ...tion Tables Table 2 1 Hardware Default Settings 2 8 Table 2 2 Possible Base I O Address Switch Settings 2 10 Table 2 3 PC 104 GPIB DMA Channel Settings 2 14 Table C 1 PC 104 GPIB Hardware Characteristics C 1 Table C 2 GPIB Software Transfer Rates for the PC 104 GPIB C 2 ...

Page 9: ...w to Use the Manual Set Use this getting started manual to install and configure your PC 104 GPIB and the GPIB software for Windows 95 Use the GPIB User Manual for Windows 95 and Windows NT to learn the basics of GPIB and how to develop an application program The manual also contains debugging information and detailed examples GPIB User Manual for Windows 95 and Windows NT Application Development ...

Page 10: ...s how to verify the hardware and software installation Chapter 4 Begin to Use the GPIB Software helps you get started with the GPIB software for Windows 95 Appendix A Uninstalling the Hardware and Software describes how to uninstall your PC 104 GPIB and GPIB software for Windows 95 Appendix B Troubleshooting and Common Questions describes how to troubleshoot problems and answers some common questi...

Page 11: ...denotes the messages and responses that the computer automatically prints to the screen This font also emphasizes lines of code that are different from the other examples bold italic Bold italic text denotes a note caution or warning 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 it...

Page 12: ...des Formats Protocols and Common Commands Microsoft Windows 95 Online Help Microsoft Corporation PC 104 Specification Version 2 3 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 them To make it easy for you to contact us this manua...

Page 13: ...GPIB and the GPIB software for Windows 95 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 Troubleshooting Append...

Page 14: ...ks GPIB Software for Windows 95 Disk 1 of 2 GPIB Software for Windows 95 Disk 2 of 2 GPIB cables single shielded or double shielded Type X1 X2 or X5 which you can order from National Instruments Optional Equipment Call National Instruments for more information about the following optional equipment Serial or parallel bus extender and cables Bus expander isolator GPIB mechanical switch GPIB Hardwar...

Page 15: ... You can use standard GPIB cables to connect the PC 104 GPIB with up to 14 instruments If you want to use more than the maximum number of instruments you can order a bus extender or expander from National Instruments Refer to Appendix C Specifications for more information about the GPIB hardware specifications and recommended operating conditions GPIB Software Overview The GPIB software includes a...

Page 16: ...IEW software from National Instruments LabWindows CVI and LabVIEW include instrument driver libraries that make it easier to communicate with your GPIB instruments LabWindows CVI is an interactive ANSI C development environment for building test and measurement and instrument control systems It includes interactive code generation tools and a graphical editor for building custom user interfaces It...

Page 17: ... hardware and software problems With its built in time stamping capability you can easily determine the throughput and overhead of your GPIB systems The GPIB Analyzer software comes with the AT GPIB TNT and PCMCIA GPIB products which provide GPIB Analyzer support along with the functionality of a high performance GPIB Controller For more information or to request free demonstration software contac...

Page 18: ...104 GPIB hardware and the GPIB software for Windows 95 Install the GPIB Software Before installing the hardware complete the following steps to install the GPIB software for Windows 95 1 Select Start Settings Control Panel 2 Double click on the Add Remove Programs icon in the Control Panel to launch the Add Remove Programs applet A dialog box similar to the one in Figure 2 1 appears ...

Page 19: ...x You can use this same applet to uninstall the GPIB software at a later time Refer to Appendix A Uninstalling the Hardware and Software for more information 3 Click on the Install button 4 Insert the GPIB Software for Windows 95 Disk 1 of 2 and click on the Next button to proceed The software installation wizard begins with the screen shown in Figure 2 2 ...

Page 20: ...on 6 When the setup is complete restart Windows 95 Install the Hardware This section describes how to install your PC 104 GPIB hardware If you have previously installed the GPIB Compatibility Release for Windows 95 you should remove any system reserved resources for your PC 104 GPIB System reserved resources are only acquired manually If you did not use the Device manager to acquire system reserve...

Page 21: ...95 assigns when you run the Add New Hardware Wizard 1 Select Start Settings Control Panel 2 Launch the Add New Hardware Wizard by double clicking on the Add New Hardware icon 3 Click on the Next button in the first Add New Hardware Wizard dialog box 4 Check No instead of Yes Recommended in the next Add New Hardware Wizard dialog box Because the PC 104 GPIB is a non Plug and Play module Windows 95 ...

Page 22: ...ware Wizard dialog box Select National Instruments as the manufacturer and PC 104 GPIB as the model 7 Click on the Next button to continue Windows 95 attempts to assign nonconflicting resources to the PC 104 GPIB If Windows 95 is able to assign resources successfully the next Add New Hardware Wizard dialog box describes the resources assigned to the PC 104 GPIB as shown in the example dialog box i...

Page 23: ...orporation Figure 2 4 PC 104 GPIB Resources Assigned Successfully If Windows 95 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 5 Figure 2 5 PC 104 GPIB Resources Not Assigned Successfully ...

Page 24: ...step of looking for nonconflicting resources for the PC 104 GPIB you need to change the Setting based on selection on the Resources page of the PC 104 GPIB Properties dialog box as shown in Figure 2 6 If you are installing the PC 104 GPIB in an 8 bit stack use Basic configuration 3 and make sure that the interrupt request line is set to a free line in the range IRQ3 to IRQ7 or no interrupt Figure ...

Page 25: ...oid electrostatic damage when you handle the module touch the antistatic plastic package to a metal part of your system chassis before you remove the module from the package If the resources that Windows 95 assigns do not match the default settings you must change the hardware settings to match the assigned resources If you are installing the PC 104 GPIB in an 8 bit stack you must configure the PC...

Page 26: ... input and output This segment is called the I O address space The base I O address of a PC 104 module such as the PC 104 GPIB is the first position in the I O address space occupied by the PC 104 module By default the PC 104 GPIB is configured to use base I O address 2C0 hex With this setting the module uses an Input Output Range of 1 Product Name and Assembly Number 2 Serial Number 3 Base I O Ad...

Page 27: ...nd 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 Switch Settings Base I O Address hex I O Address Space Used hex A9 A8 A7 A6 A5 0 1 0 0 0 100 100 to 11F 0 1 0 0 1 120 120 to 13F 0 1 0 1 0 140 140 to 15F 0 1 1 0 1 160 160 to 17F 0 1 1 0 0 180 180 to 19F 0 1 1 0 1 1A0 1A0 to 1BF 0 1 1 1 0 1C0 1C0 to 1DF 0 1 1 ...

Page 28: ...alue of 1 for the corresponding address bit Press down on the ON side of the switch to select a binary value of 0 Refer to Figure 2 8 for an example of the switch settings and corresponding base I O addresses 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 Switc...

Page 29: ...or asynchronous events Your GPIB hardware and software use interrupts to get service from the CPU when necessary By default the PC 104 GPIB is configured to use interrupt request line 11 If this setting does not match the interrupt that Windows 95 assigns to your PC 104 GPIB or if you are installing the PC 104 GPIB in an 8 bit stack you must reconfigure the interrupt request line 1 9 8 7 6 5 0 Bin...

Page 30: ...pt request line Windows 95 assigns or if you are installing the PC 104 GPIB in an 8 bit stack to the line in the range IRQ3 to IRQ7 you chose on the Resources page of the PC 104 GPIB Properties dialog box To use lines 10 11 12 or 15 use the jumper block shown in Figure 2 9 To use interrupt lines 3 4 5 7 or 9 use the jumper block shown in Figure 2 10 3 Record your new settings on the Hardware and S...

Page 31: ...ftware for Windows 95 By default the PC 104 GPIB is configured to use DMA channel 5 Note If you are installing the PC 104 GPIB in an 8 bit stack you must disable DMA because DMA channels 5 6 and 7 are 16 bit DMA channels Refer to Figure 2 12 which shows how to set the DMA jumpers for no DMA Follow these steps to reconfigure the DMA channel 1 Locate the jumpers that select the DMA channel Refer to ...

Page 32: ...he PC 104 GPIB Shield Ground Configuration The PC 104 GPIB is set at the factory with the jumper in place to connect the logic ground of the PC 104 GPIB to its shield ground This configuration minimizes EMI emissions Note The PC 104 GPIB was tested for compliance with FCC and CE standards with the shield ground connected to logic ground Removing the jumper might cause EMI emissions to exceed any o...

Page 33: ...ave one PC 104 connector Verify that you have the correct version for your system Perform the following steps to install the PC 104 GPIB In this section the term parent module generically refers to either the parent system or the adjacent PC 104 module you stack the PC 104 GPIB onto 1 Shut down Windows 95 and turn off your computer Keep the computer plugged in so that it remains grounded while you...

Page 34: ...PC 104 GPIB has been plugged in ensure proper contact by gently pressing down at the PC 104 connector region of the PC 104 GPIB until the module is level with respect to the parent module 4 Fasten the PC 104 GPIB to the standoffs with the provided 4 40 screws Refer to Figure 2 14 Figure 2 14 Installing the PC 104 GPIB 1 PC 104 GPIB 2 GPIB connection 3 GPIB ribbon cable 4 Screw 5 Standoff 6 Parent ...

Page 35: ...figure the software Configure the GPIB Software The GPIB Configuration utility is fully integrated with the Windows 95 Device Manager You can use it to examine or modify the configuration of the GPIB software The context sensitive online help available by right clicking on any of the controls on the configuration utility tabs includes all of the information that you need to configure the GPIB soft...

Page 36: ...6 PC 104 GPIB That Is Not Working Properly You can see if the problem is a resource conflict by looking at what resources are conflicting if the PC 104 GPIB appears under the National Instruments GPIB Interfaces icon Double click on the PC 104 GPIB name and click on the Resources tab which provides information about the hardware resources assigned to the PC 104 GPIB The Conflicting Device List lis...

Page 37: ... physical GPIB interface Follow these steps 1 Double click on the first interface immediately below National Instruments GPIB Interfaces 2 Click on the GPIB Settings tab which provides information about the software configuration for the PC 104 GPIB 3 Use the Interface Name drop down box to select a logical name GPIB0 GPIB1 and so on for the PC 104 GPIB 4 Repeat this process for each interface you...

Page 38: ... 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 18 Figure 2 18 Device Templates Page for the Logical Device Templates ...

Page 39: ...started the Diagnostic utility test your GPIB interfaces by clicking on the Test All button If the Diagnostic is successful it puts a checkmark next 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 ...

Page 40: ... Installation PC 104 GPIB for Windows 95 3 2 National Instruments Corporation Troubleshooting information is also available in the online help for the Diagnostic utility which you can access by clicking on the Help button ...

Page 41: ...problems with your application To run this utility select the Win32 Interactive Control item under Start Programs GPIB Software for Windows 95 This utility includes extensive online help available by entering help at the prompt For more information about the Win32 Interactive Control utility refer to the GPIB User Manual for Windows 95 and Windows NT Introduction to the NI Spy Utility Included wit...

Page 42: ...ice path gpib com in your config sys file where path refers to the drive and directory where gpib com is located If that line appears either comment it out by typing REM at the beginning of the line or delete it If you change the config sys file save it and restart your system To configure the GPIB software to run existing DOS GPIB applications first make sure that you have installed the GPIB soft...

Page 43: ...vided 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 information about choosing a programming method developing your application or compiling and linking refer to the GPIB User Manual for Windows 95 and Windows NT For detailed i...

Page 44: ...wing 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 National Instruments GPIB Interfaces list as shown in ...

Page 45: ...efore you uninstall the GPIB software you should remove all GPIB hardware information from the Windows 95 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 2 lists the software available for removal ...

Page 46: ...ware If you have not physically removed your hardware shut down Windows 95 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 w...

Page 47: ...d number to the PC 104 GPIB by configuring the GPIB software and selecting the name of the PC 104 GPIB 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 0xE0140025 535560155 If a call is made with a board number that is not within the range of allowed board nu...

Page 48: ... Windows 95 Device Manager double click on the System icon under Start Settings Control Panel In the System Properties dialog box that appears select the Device Manager tab and click on the View devices by type button at the top of the page Depending on the problem do one of the following If there is no National Instruments GPIB Interfaces item and you are certain you have a PC 104 GPIB installed ...

Page 49: ... Install the Hardware section in Chapter 2 Installation and Configuration GPIB Interface Not Working Properly If the PC 104 GPIB 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 PC 104 GPIB That Is Not Working Properly This problem can occur for several reasons If you encounter this problem the Device Manager should list an error...

Page 50: ...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 PC 104 GPIB 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 the System Properties dialog box...

Page 51: ...faces resolve 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 o...

Page 52: ...ict This error occurs if the interrupt resources assigned to the PC 104 GPIB 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 refer...

Page 53: ...ick 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 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 Problem Encountered This error occurs if the Diagnostic utility detects that ...

Page 54: ...e button at the top of the page 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 GPIB Software A banner at the ...

Page 55: ...en 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 program For more information refer to the Introduction to the Win32 Interactive Control Utility section in Chapter 4 Begin to Use the GPIB Software How do I use a GPIB language interface For informatio...

Page 56: ...lled 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 y...

Page 57: ...PC 104 GPIB Hardware Characteristics Characteristic Specification Dimensions 9 017 cm by 9 589 cm 3 55 in by 3 775 in Power Requirement from PC AT I O Channel 5 VDC 50 mA Typical 120 mA Maximum I O Connector 20 in Ribbon Cable Terminated with Panel Mount IEEE 488 Standard 24 Pin Operating Environment Ambient Temperature Relative Humidity 40 to 85 C 10 to 90 Noncondensing Storage Environment Temper...

Page 58: ...nsfer Rates Table C 2 GPIB Software Transfer Rates for the PC 104 GPIB Transfer Method Maximum GPIB Transfer Rate 3 Wire IEEE 488 In ISA System 1 5 Mbytes s High Speed HS488 In ISA System 1 8 Mbytes s Actual speed may vary considerably from speed shown because of system and instrumentation capabilities ...

Page 59: ...stems 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 lates...

Page 60: ...ct 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 Quebec 514 694 8521 514 694 4399 Denmark 45 76 26 00 45 76 26 02 Finland 09 725 725 11 09 725 725 55 France 01 48 1...

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

Page 62: ...from the Device Manager To create this report first display the System Properties dialog box for the system 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 63: ..._____________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ _______________________________________________________________________________ __...

Page 64: ...ntegrated circuit base I O address lowest I O address used by the GPIB hardware C Celsius CE Conformite Europeene 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 65: ...oration Hz hertz IEEE Institute of Electrical and Electronic Engineers in inches I O input output IRQ interrupt request ISA Industry Standard Architecture m meters MB megabytes of memory PC personal computer RAM random access memory s seconds VDC volts direct current ...

Reviews: