Page 2
National Instruments Corporate Headquarters 6504 Bridge Point Parkway Austin, TX 78730-5039 (512) 794-0100 Technical support fax: (800) 328-2203 (512) 794-5678 Branch Offices: Australia (03) 879 9422, Austria (0662) 435986, Belgium 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, Italy 02/48301892, Japan (03) 3788-1921, Netherlands 03480-33466, Norway 32-848400, Spain (91) 640 0085, Sweden 08-730 49 70, Switzerland 056/20 51 51, U.K.
Page 3
Limited Warranty The GPIB-SCSI-A is warranted against defects in materials and workmanship for a period of two years from the date of shipment, as evidenced by receipts or other documentation. National Instruments will, at its option, repair or replace equipment that proves to be defective during the warranty period.
Page 4
National Instruments Corporation. Trademarks ™ NI-488.2M is a trademark of National Instruments Corporation. Product and company names listed are trademarks or trade names of their respective companies.
Page 5
Warning Regarding Medical and Clinical Use of National Instruments Products National Instruments products are not designed with components and testing intended to ensure a level of reliability suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the part of the user or application designer.
Page 6
FCC/DOC Radio Frequency Interference Compliance This equipment generates and uses radio frequency energy and, if not installed and used in strict accordance with the instructions in this manual, may cause interference to radio and television reception. This equipment has been tested and found to comply with the following two regulatory agencies: Federal Communications Commission This device complies with Part 15 of the Federal Communications...
Page 7
There is no guarantee that interference will not occur in a particular installation. However, the chances of interference are much less if the equipment is installed and used according to this instruction manual. If the equipment does cause interference to radio or television reception, which can be determined by turning the equipment on and off, one or more of the following suggestions may reduce or eliminate the problem.
Using SCSI Terminating Resistors ....2-7 Connecting the Hardware ............2-9 Step 1. Shut Down the System ........2-10 Step 2. Connect the Cables ........2-10 Step 3. Switch On Your GPIB-SCSI-A and Power On Your System..........2-10 Chapter 3 Software Installation and Configuration ........3-1...
Page 9
Build a New SunOS 4.1.2 UNIX Kernel ..........3-5 Step 3. Configure the Software with ibconf......3-8 Step 4. Verify the Software Installation ........3-9 Using the NI-488.2M Software with Your Application Program ..................3-10 Appendix A Hardware Specifications ..............A-1...
National Instruments GPIB-SCSI-A and NI-488.2M multitasking software for use with the Sun SPARCstation running under SunOS 4.1 or higher operating system. This manual is meant to be used with the NI-488.2M Software Reference Manual . This manual assumes that you have a general knowledge of the Sun SPARCstation running SunOS and the General Purpose Interface Bus (GPIB).
Related Documentation The following documents contain information that you may find helpful as you read this manual: • GPIB-SCSI-A User Manual, National Instruments Corporation • ANSI X3.131-1986, Small Computer System Interface (SCSI) • ANSI/IEEE Standard 488.1-1987, IEEE Standard Digital Interface for Programmable Instrumentation •...
Chapter 1 Introduction This chapter lists what you need to get started and optional equipment you can order, gives instructions for inspecting your GPIB-SCSI-A, and briefly describes the hardware and the NI-488.2M software. What You Need to Get Started One of the following boxes:...
GPIB cable may cause interference to radio and television reception in commercial areas. Inspection Before you install the GPIB-SCSI-A, inspect the shipping container and its contents for damage. Retain the packaging material for possible inspection or for reshipment.
Chapter 1 Introduction The GPIB-SCSI-A has all the software and logic required to implement the physical and electrical characteristics of the ANSI/IEEE Standard 488.2-1987 and the ANSI Standard X3T9.2. It is able to interpret and execute commands that you send to it over the GPIB or SCSI ports and perform all necessary GPIB-to-SCSI protocol conversions.
Chapter 2 Hardware Configuration and Installation This chapter describes how to configure the GPIB-SCSI-A and how to connect the GPIB-SCSI-A to the Sun SPARCstation. Figure 2-1 shows the rear panel of the GPIB-SCSI-A. SCSI 1 2 3 4 5 6 7 8...
Chapter 2 Step 1. Verify the Voltage Requirement The GPIB-SCSI-A is shipped from the factory with either a 100 to 120 V or a 220 to 240 V power supply. Verify that the voltage on the power supply matches the voltage that is supplied in your area.
OPEN Figure 2-3. SW2 Default Mode Switch Settings Switch 8 is OFF, indicating that the GPIB-SCSI-A is be operating in S mode. Switch 7 is ON, indicating that the GPIB-SCSI-A will neither notice nor report SCSI parity errors. Switch 6 is ON, indicating that the GPIB-SCSI-A will buffer data during data transfer commands.
If your GPIB-SCSI-A is located at the end of a SCSI bus, you can prevent echoes by leaving the terminating resistor pack installed on one of the ports on the rear panel of the GPIB-SCSI-A.
Figure 2-4. Location of Terminating Resistors for GPIB-SCSI-A at End of SCSI Bus If your GPIB-SCSI-A is not located at the end of the SCSI bus, remove the terminating resistor pack from the rear panel of the GPIB-SCSI-A. Also ensure that all other devices in the middle of the bus (for example, the SCSI disk drive in Figure 2-5) do not have terminating resistors installed.
SPARCstation for specific instructions and warnings. There are two methods for connecting the GPIB-SCSI-A to the Sun SPARCstation. One method is connecting the GPIB-SCSI-A directly to the SPARCstation system unit by using a cable with the proper connectors at each end.
Complete the following steps to switch on your GPIB-SCSI-A and power on your system: Switch on your GPIB-SCSI-A by using the rocker switch on the rear panel. The POWER LED should come on immediately and the READY LED indicator on the front panel should come on after the...
Software Installation and Configuration Chapter 3 Review the files contained on the NI-488.2M distribution media. The files are as follows: NI-488.2M driver for GPIB-SCSI-A gpib.o C language library cib.c Include file for user programs ugpib.h Installation test part A ibtsta...
Target ID number for the NI -488.2M software. You must select the Target ID number that you set using switches 1, 2, and 3 of the GPIB-SCSI-A DIP switch SW1 (refer to Configuring the Hardware in Chapter 2). Set these switches before you start instgpib.
Alternatively, you can add cib.o to an existing library or include cib.o during the link phase of each compile operation. Install the Driver into the System To build a new kernel with the NI-488.2M driver, use the following three configuration files. Filenames for the Sun SPARCstation 630MP series are in parentheses.
The file ib.h is created automatically by the system in step 6. It will contain the following single line: #define NIB 1 where 1 is the number of GPIB-SCSI-A boxes configured in the UNIX kernel. At the end of the character device table cdevsw in conf.c, type in...
Page 32
Chapter 3 Each device in the system has a unique major device number. To determine the major device number of the GPIB-SCSI-A, choose the number after the largest device number currently in your system. The GPIB-SCSI-A and its attached devices use the same major device number.
Page 33
Chapter 3 Software Installation and Configuration • If you are using one GPIB-SCSI-A, type in the following line after the line scsibus0 at esp #declare first scsi bus. device ib0 at scsibus0 target X lun 0 #GPIB-SCSI-A device driver Replace X with the Target ID set in the GPIB-SCSI-A hardware configuration.
Software Installation and Configuration Chapter 3 b /vmunix • If you are using one GPIB-SCSI-A, the following message about the GPIB-SCSI-A appears on your screen if the software and the hardware are installed correctly. ib0: <N.I. GPIB-SCSI-A> at esp0 target X lun 0...
For more information on using ibconf, refer to Chapter 2, Installation and Configuration of NI-488.2M Software in the NI-488.2M Software Reference Manual. The command to access ibconf is as follows: ibconf [ unix_kernel ] where unix_kernel can be any UNIX kernel with the NI-488.2M driver...
If the UNIX kernel booted has a name different from /vmunix, enter the full pathname when prompted. If ibtsta completes with no errors and a bus analyzer is available, connect the bus analyzer to the GPIB-SCSI-A Controller, and then run ibtstb by entering the following command. ibtstb If an error occurs in ibtsta or ibtstb, refer to Appendix B, Troubleshooting.
Page 37
National Instruments products, except for the functions ibdma and ibsgnl . • The best way to learn the NI-488.2M functions and the device-specific commands of your instruments is to use the interactive control program ibic. By using ibic, you can control instruments from the keyboard one step at a time.
Appendix A Hardware Specifications This appendix lists the electrical, environmental, and physical characteristics of the GPIB-SCSI-A and the recommended operating conditions. Table A-1. Electrical Characteristics Characteristic Specification 100 to 120 VAC ± 10%, 50 to 60 Hz or Power Supply Unit 220 to 240 VAC ±...
• The GPIB-SCSI-A Controller must be securely connected to the SCSI cable. If the GPIB-SCSI-A is the last device on the SCSI bus, make sure that you have placed the terminating resistor pack on one of the SCSI ports on the rear panel of the GPIB-SCSI-A to terminate the SCSI bus.
Page 43
Technical Support Form Photocopy this form and update it each time you make changes to your software or hardware, and use the completed copy of this form as a reference for your current configuration. Completing this form accurately before contacting National Instruments for technical support helps our applications engineers answer your questions more efficiently.
Page 44
National Instruments software product Version Configuration The problem is List any error messages The following steps will reproduce the problem...
Page 45
GPIB-SCSI-A Hardware and Software Configuration Form Record the settings and revisions of your hardware and software on the line to the right of each item. Update this form each time you revise your software or hardware configuration, and use this form as a reference for your current configuration.
Page 46
National Instruments encourages you to comment on the documentation supplied with our products. This information helps us provide quality products to meet your needs. Title: Getting Started with Your GPIB-SCSI-A and the NI-488.2M ™ Software for the Sun SPARCstation Edition Date:...
Page 47
If you find errors in the manual, please record the page numbers and describe the errors. Thank you for your help. Name Title Company Address Phone Mail to: Technical Publications National Instruments Corporation 6504 Bridge Point Parkway, MS 53-02 Austin, TX 78730-5039 Fax to: Technical Publications National Instruments Corporation...
Need help?
Do you have a question about the GPIB-SCSI-A and is the answer not in the manual?
Questions and answers