background image

Introduction

Chapter 1

PCI-GPIB for Digital UNIX

1-2

© National Instruments Corp.

What You Need to Get Started

PCI -GPIB board

3.5 in.  NI-488.2M Distribution Disk for PCI-GPIB and Digital UNIX

or

NI-488.2M Distribution Tape for PCI -GPIB and Digital UNIX

Digital UNIX 3.x or higher installed on your computer

Super-user privilege

Software Description

The NI-488.2M software for Digital UNIX includes a multitasking driver
and utilities that transform a DEC Alpha Station running Digital UNIX into
a GPIB Controller with complete communications and bus management
capabilities.  The NI-488.2M software also includes a C language interface,
a program to test the installation of the software, an interactive control
program, and an interactive configuration program.

The NI-488.2M driver supports up to four PCI-GPIB boards and is
completely compatible with both IEEE 488 and IEEE 488.2 instruments.

Hardware Description

The PCI-GPIB is an IEEE 488 interface for computers with PCI expansion
slots.  The TNT4882C ASIC performs the basic IEEE 488 Talker, Listener,
and Controller functions, including those required by the most recent GPIB
standard, IEEE 488.2.  The PCI-GPIB can sustain data transfer rates of up
to 1.2 Mbytes/s, and can also implement a high-speed GPIB protocol
(HS488), so that you can have data transfers of up to 1.5 Mbytes/s,
depending on the speed of your system.

You can use standard GPIB cables to connect the PCI-GPIB with up to 14
instruments.  If you need to use more than the maximum number of
instruments, you can use the National Instruments GPIB extenders or the

Summary of Contents for PCI-GPIB

Page 1: ... Copyright 1996 National Instruments Corporation All Rights Reserved Getting Started with Your PCI GPIB and the NI 488 2M Software for Digital UNIX March 1996 Edition Part Number 321182A 01 ...

Page 2: ...gium 02 757 00 20 Canada Ontario 519 622 9310 Canada Québec 514 694 8521 Denmark 45 76 26 00 Finland 90 527 2321 France 1 48 14 24 24 Germany 089 741 31 30 Hong Kong 2645 3186 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Mexico 5 202 2544 Netherlands 03480 33466 Norway 32 84 84 00 Singapore 2265886 Spain 91 640 0085 Sweden 08 730 49 70 Switzerland 056 20 51 51 Taiwan 02 377 1200 U K 01635 ...

Page 3: ...ment will be accepted for warranty work National Instruments will pay the shipping costs of returning to the owner parts which are covered by warranty National Instruments believes that the information in this manual is accurate The document has been carefully reviewed for technical accuracy In the event that technical or typographical errors exist National Instruments reserves the right to make c...

Page 4: ... 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 transmitted in any form electronic or mechanical including photocopying recording storing in ...

Page 5: ...r or application designer Any use or application of National Instruments products for or involving medical or clinical treatment must be performed by properly trained and qualified medical personnel and all traditional medical safeguards equipment and procedures that are appropriate in the particular situation to prevent serious injury or death should always continue to be used when National Instr...

Page 6: ...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 7: ... Hardware Installation 2 1 Chapter 3 Software Installation and Configuration 3 1 NI 488 2M Software Components 3 1 Remove an Existing Driver 3 1 Install the Software 3 2 Configure the Software with ibconf Optional 3 3 Chapter 4 Installation Verification and Troubleshooting 4 1 Verify the System Boot Messages 4 1 Run the Software Diagnostic Program 4 1 Troubleshooting ibtsta Messages 4 2 Common Que...

Page 8: ...al Instruments Corp Appendix B Customer Communication B 1 Glossary G 1 Figure Figure 2 1 Installing the PCI GPIB 2 2 Tables Table A 1 Electrical Characteristics A 1 Table A 2 Physical Characteristics A 1 Table A 3 Environmental Characteristics A 1 ...

Page 9: ...tions for installing your PCI GPIB Chapter 3 Software Installation and Configuration contains instructions for installing and configuring your NI 488 2M software Chapter 4 Installation Verification and Troubleshooting describes how to verify the installation and troubleshoot problems Chapter 5 Using Your NI 488 2M Software describes the ibic utility and lists some programming considerations Append...

Page 10: ...he appropriate words or values in place of these items monospace Text in this font denotes text or characters that are to be literally input from the keyboard It is also used for the proper names of disk drives directories programs device names variables and filenames Abbreviations acronyms metric prefixes mnemonics symbols and terms are listed in the Glossary Related Documentation The following d...

Page 11: ...mments 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 manual contains comment and configuration forms for you to complete These forms are in Appendix B Customer Communication at the end of this manual ...

Page 12: ... software and the PCI GPIB How to Use This Manual No Yes Gather What You Need to Get Started Chapter 2 Chapter 3 Software Reference Manual Chapter 1 Write Application Program Need to Change Software Settings Install the Hardware Install the Software Verify the Installation Yes No Passes Run ibic Review Programming Considerations Configure the Software Troubleshooting Chapter 4 Chapter 5 ...

Page 13: ... an interactive control program and an interactive configuration program The NI 488 2M driver supports up to four PCI GPIB boards and is completely compatible with both IEEE 488 and IEEE 488 2 instruments Hardware Description The PCI GPIB is an IEEE 488 interface for computers with PCI expansion slots The TNT4882C ASIC performs the basic IEEE 488 Talker Listener and Controller functions including ...

Page 14: ...or Digital UNIX GPIB expander isolator to add additional instruments to the system Double shielded GPIB cables are also available Refer to Appendix A Hardware Specifications for more information about the PCI GPIB specifications and recommended operating conditions ...

Page 15: ...rdware and software This requires you to log on as root Perform the following steps to install the PCI GPIB 1 Shut down your system by entering the following commands at the command line prompt sync sync halt 2 Turn off your computer after it has been shut down Keep the computer plugged in so that it remains grounded while you install the GPIB hardware 3 Remove the top cover or other access panels...

Page 16: ... Instruments Corp Figure 2 1 Installing the PCI GPIB 7 Screw the mounting bracket of the PCI GPIB to the back panel rail of the computer 8 Replace the top cover or the access panel to the expansion slot 9 Turn on your computer The PCI GPIB interface board is now installed ...

Page 17: ... so Source code of C language interface library cib c and cib h An interactive configuration utility ibconf A software diagnostic utility ibtsta An interactive GPIB control program ibic Remove an Existing Driver If you have a previous version of the NI 488 2M software for the PCI GPIB installed in your system you must remove it before you install the new version To check for an existing driver ent...

Page 18: ...PCI GPIB follow these steps to install your NI 488 2M software Remember you must be a super user to install the software 1 Run the system utility setld to install the software The commands you enter depend on whether you are installing the software from tape or diskette If you are installing from tape insert the distribution tape into the tape drive and enter the following command usr sbin setld l...

Page 19: ...xt section for instructions on running the configuration utility ibconf If you do not need to run ibconf refer to Chapter 4 Installation Verification and Troubleshooting for further instructions Configure the Software with ibconf Optional The ibconf utility is the National Instruments GPIB driver configuration utility After installing the software you can run ibconf to examine or modify the softwa...

Page 20: ...If you made any changes reboot your computer from the changed kernel so that the new settings become active For more information about ibconf refer to the NI 488 2M Software Reference Manual After you have installed and configured the software you should verify the installation Refer to Chapter 4 Installation Verification and Troubleshooting for instructions on verifying the software and hardware ...

Page 21: ... Driver Version 1 x Copyright c 1996 National Instruments Corp All Rights Reserved where nnn is the serial number of the board and XXXXXXX could either be blank indicating the driver is capable of DMA I O transfers or NON DMA indicating the driver is not capable of DMA I O transfers Run the Software Diagnostic Program To further verify and test the hardware and software installation run the ibtsta...

Page 22: ...wing message might appear on your screen if you did not disconnect all your GPIB cables The fact that the ENOL error was not received when expected indicates the possible presence of other devices on the bus Please disconnect ALL GPIB cables from the GPIB board then run this test again The following message might appear if the dev gpib0 special file is not present The special file dev gpib0 cannot...

Page 23: ... be causing a problem with accessing the NI 488 2M distribution diskette Check the name of the special file for your tape drive or floppy disk drive It should be dev rmtxh or dev rfdxa where x is an integer number Contact your system administrator for more information Another possibility is that the data on the distribution diskette is corrupted Contact National Instruments in this case Why can t ...

Page 24: ...nod utility There could be duplicate entries for one or more kernel layered products in the NAME list file in the usr sys conf directory where NAME is the name of your system configuration file which by default is the system host name If so edit the file by commenting out all such entries except one by putting a sign at the beginning of the line containing the entry Then rebuild the kernel by ente...

Page 25: ... 2M Software Reference Manual What information should I have before I call National Instruments When you call National Instruments you should have the results of the diagnostic test ibtsta You should also have run ibic to try to find the source of your problem Also make sure you have filled out the configuration form in Appendix B Customer Communication ...

Page 26: ...e following Verify GPIB communication with your device quickly and easily Learn the syntax of the NI 488 functions and NI 488 2 routines before writing your application Become familiar with the commands of your device Receive data from your GPIB device For more information about ibic refer to the NI 488 2M Software Reference Manual Programming Considerations To create an executable application pro...

Page 27: ...ter the following command cc test c o test non_shared lgpib c Optionally you can enter the command without specifying the no_archive or non_shared flag as follows cc test c o test lgpib In this case the compiler by default first tries to use the shared library If that library is not available it tries to link to the non shared library For more detailed information about compiling refer to the man ...

Page 28: ... programmed I O 1 2 Mbytes s using three wire handshake 1 5 Mbytes s using HS488 Power Requirement 5 VDC 600 mA maximum Actual rates are dependent on instrument capabilities and system configuration Table A 2 Environmental Characteristics Characteristic Specification Operating Temperature 0 to 40 C Storage Temperature 20 to 70 C Relative Humidity 5 to 90 noncondensing EMI FCC Class A Verified Tabl...

Page 29: ...ffice You may fax questions to us at any time Corporate Headquarters 512 795 8248 Technical Support Fax 512 794 5678 Branch Offices Phone Number Fax Number Australia 03 9 879 9422 03 9 879 9179 Austria 0662 45 79 90 0 0662 45 79 90 19 Belgium 02 757 00 20 02 757 03 11 Canada Ontario 519 622 9310 Canada Quebec 514 694 8521 514 694 4399 Denmark 45 76 26 00 45 76 26 02 Finland 90 527 2321 90 502 2930...

Page 30: ...ns engineers answer your questions more efficiently If you are using any National Instruments hardware or software products related to this problem include the configuration forms from their user manuals Include additional pages if necessary Name Company Address Fax Phone Computer brand Model Processor Operating system Speed MHz RAM MB Display adapter Mouse yes no Other adapters installed Hard dis...

Page 31: ...National Instruments software product Version Configuration The problem is List any error messages The following steps will reproduce the problem ...

Page 32: ...form each time you revise your software or hardware configuration and use this form as a reference for your current configuration National Instruments Products PCI GPIB Hardware Revision NI 488 2M Software Version Number on Distribution Medium Number of PCI GPIB Boards in System Other Products Computer Make and Model Clock Frequency Operating System Version Other Boards in System ...

Page 33: ... with our products This information helps us provide quality products to meet your needs Title Getting Started with Your PCI GPIB and the NI 488 2M Software for Digital UNIX Edition Date March 1996 Part Number 321182A 01 Please comment on the completeness clarity and organization of the manual continues ...

Page 34: ...nd describe the errors Thank you for your help Name Title Company Address Phone Mail to Technical Publications National Instruments Corporation 6504 Bridge Point Parkway Austin TX 78730 5039 Fax to Technical Publications National Instruments Corporation 512 794 5678 ...

Page 35: ...interference FCC Federal Communications Commission GPIB General Purpose Interface Bus Hz hertz ibic Interface Bus Interactive Control IEEE Institute of Electrical and Electronic Engineers in inches I O input output ISA Industry Standard Architecture m meters MB megabytes of memory PCI Peripheral Component Interconnect RAM random access memory s seconds VDC volts direct current Prefix Meaning Value...

Reviews: