background image

GPIB

Getting Started with
Your SB-GPIB/TNT and
NI-488.2

for Solaris

SB-GPIB/TNT for Solaris

June 2001 Edition

Part Number 320529B-01

Содержание SB-GPIB

Страница 1: ...GPIB Getting Started with Your SB GPIB TNT and NI 488 2 for Solaris SB GPIB TNT for Solaris June 2001 Edition Part Number 320529B 01 ...

Страница 2: ...6 26 00 Finland 09 725 725 11 France 01 48 14 24 24 Germany 089 741 31 30 Greece 30 1 42 96 427 Hong Kong 2645 3186 India 91805275406 Israel 03 6120092 Italy 02 413091 Japan 03 5472 2970 Korea 02 596 7456 Malaysia 603 9596711 Mexico 5 280 7625 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 ...

Страница 3: ...ctions 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 an information retrieval system ...

Страница 4: ...ments 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 protection against harmful interference when the equipment is operated in a commercial environ...

Страница 5: ...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 apparatus or cables To obtain the DoC for this product click Declaration of Conformity at ni com hardref nsf This website lists the DoCs by product family Select the appropriate product family followed by your product and a link to the DoC appea...

Страница 6: ... to a key concept This font also denotes text that is a placeholder for a word or value that you must supply monospace Text in this font denotes text or characters that you should enter from the keyboard sections of code programming examples and syntax examples This font is also used for the proper names of disk drives paths directories programs subprograms subroutines device names functions opera...

Страница 7: ...Installation Installing the GPIB Hardware 2 1 Installing NI 488 2 2 3 Configuring the Software with ibconf Optional 2 3 Removing NI 488 2 Optional 2 4 Chapter 3 Installation Verification Chapter 4 Using NI 488 2 with Solaris Introduction to ibic 4 1 Programming Considerations 4 2 Appendix A Common Questions Appendix B Specifications Appendix C Technical Support Resources Glossary Index ...

Страница 8: ...ded cables 1 2 or 4 m Caution To meet FCC emission limits for this device you must use a shielded Type X1 or X2 GPIB cable Operating this equipment with a non shielded cable may interfere with radio and television reception GPIB Hardware Overview The SB GPIB TNT board equipped with a TNT4882C ASIC is compatible with all revisions of the IEEE 488 standard including ANSI IEEE Standard 488 2 1987 The...

Страница 9: ...u can add them to your system using an IEEE 488 extender or expander such as the National Instruments GPIB 130 GPIB 120A or GPIB 140A Refer to Appendix B Specifications for more information about the GPIB hardware specifications and recommended operating conditions NI 488 2 Overview NI 488 2 for Solaris consists of a loadable driver and utilities that transform a Sun SPARC system running Solaris i...

Страница 10: ...e several components on your GPIB board To avoid electrostatic damage when you handle the module touch the antistatic plastic package to a metal part of your computer chassis before you remove the board from the package Complete the following steps to install the GPIB board 1 Log on as super user To become a superuser type su root and enter the root password 2 Shut down your system by typing the f...

Страница 11: ... slave only slots Refer to the documentation for your Sun SPARC system for information about DVMA master and DVMA slave slots 8 Replace the system unit cover 9 Reinstall the GPIB connector extender you removed in Step 5 if you have problems connecting the GPIB cable to the connector on the board due to space restraints 10 Turn on your computer The GPIB interface board is now installed Figure 2 1 I...

Страница 12: ...8 2 to your system usr sbin pkgadd d cdrom cdrom0 NICsbgpib 4 Follow the instructions on your screen to complete the installation Configuring the Software with ibconf Optional ibconf is an interactive utility you can use to examine or modify the configuration of the driver You might want to run ibconf to change the settings of the software parameters You must have super user privilege to run ibcon...

Страница 13: ...ional If you ever decide to stop using your GPIB board you can remove NI 488 2 from your system To remove NI 488 2 from the kernel configuration you must have super user privilege and the driver must not be in use Enter the following command to unload the software pkgrm NICsbgpib ...

Страница 14: ...lled correctly It checks for correct access to the device driver Run ibtsta by entering the following command ibtsta If no error occurs in ibtsta NI 488 2 is installed correctly If ibtsta fails it displays an error message that explains why the test failed and how you can correct the problem If you are unable to run ibtsta successfully after you have followed the on screen instructions refer to Ap...

Страница 15: ...interactively and display the results of the function calls automatically Without writing an application you can use ibic to do the following Verify GPIB communication with your device quickly and easily Become familiar with the commands of your device Receive data from your GPIB device Learn new NI 488 2 functions and routines before integrating them into your application Troubleshoot problems wi...

Страница 16: ...k the GPIB C language interface library using one of the following commands where example c is your application name cc example c lgpib or cc example c dy lgpib or cc example c dn lgpib dy specifies dynamic linking which is the default method It links the application to libgpib so dn specifies static linking in the link editor It links the application to libgpib a For more information about compil...

Страница 17: ...ta fails make sure that no GPIB cables are connected to the GPIB board If necessary remove and reinstall NI 488 2 from the CD If you already have completed the troubleshooting steps contact National Instruments Why doesn t the GPIB board fit into my workstation If you received your board with a GPIB connector extender remove it before you install the board If you have a Sun SPARCstation 10 or simi...

Страница 18: ...2M Software Reference Manual the General Programming Information section in Chapter 3 Understanding the NI 488 2 Software and Appendix B Common Errors and Their Solutions When should I use ibic You can use ibic to practice communication with your instrument troubleshoot problems and develop your application program For more information about ibic refer to Chapter 6 ibic in the NI 488 2M Software R...

Страница 19: ...mands you need to communicate with it In most cases NI 488 device level calls are sufficient for communicating with instruments Refer to Chapter 5 NI 488M Software Characteristics and Functions in the NI 488 2M Software Reference Manual for more information What information should I have before I call National Instruments Please have the results of the diagnostic test ibtsta You also should have r...

Страница 20: ...ristics Input power requirements SB GPIB TNT 5 VDC 300 mA typical 350 mA maximum SB GPIB 5 VDC 500 mA typical 780 mA maximum Environmental Characteristics Temperature Operating 0 to 55 C Storage 20 to 70 C Relative humidity Operating 10 to 90 noncondensing conditions Storage 5 to 90 noncondensing conditions EMI FCC Class A Verified Physical Characteristics Dimensions 8 38 by 14 67 cm 3 3 by 5 78 i...

Страница 21: ...wire IEEE 488 SB GPIB TNT GPIB reads 1 6 Mbytes s GPIB writes 1 4 Mbytes s SB GPIB GPIB reads 970 kbytes s GPIB writes 1 Mbytes s HS488 SB GPIB TNT GPIB reads 3 2 Mbytes s GPIB writes 3 2 Mbytes s 1 Actual speed may vary considerably from speed shown due to system and instrumentation capabilities ...

Страница 22: ... 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 at locations around the world Visit the Customer Education ...

Страница 23: ... 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 at t...

Страница 24: ...onal Standards Institute C Celsius DIP dual inline package DMA direct memory access DVMA direct virtual memory access EMI electromagnetic interference g grams GPIB General Purpose Interface Bus HS488 high speed data transfer protocol for IEEE 488 Hz hertz IEEE Institute of Electrical and Electronic Engineers in inches lb pounds LED light emitting diode m meters MB megabytes of memory ...

Страница 25: ...Glossary SB GPIB TNT for Solaris G 2 ni com RAM random access memory s seconds SCSI Small Computer System Interface bus V volts VAC volts alternating current VDC volts direct current ...

Страница 26: ...s using to load GPIB board A 1 G getting started 1 1 GPIB cables disconnecting before running ibtsta A 1 single shielded or double shielded 1 1 GPIB communication A 3 H hardware installation problems A 1 overview 1 1 I ibconf configuring software 2 3 ibfind A 2 ibic using 4 1 A 2 ibtsta error messages 3 1 failure A 1 testing and verifying software installation 3 1 installation verification 3 1 ins...

Страница 27: ...B GPIB TNT A 2 SB GPIB TNT installing figure 2 2 overview 1 1 software installing 2 3 overview 1 2 transfer rate maximum B 2 specifications electrical characteristics B 1 environmental characteristics B 1 physical characteristics B 1 software characteristics B 2 super user privilege logging on as super user 2 1 system integration by National Instruments C 1 T technical support resources C 1 troubl...

Отзывы: