background image

Installing Your GPIB-SCSI-A and NI-488.2 for Solaris

14

ni.com

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 compiling and linking, 

refer to the 

man

 pages for 

cc

 and 

ld

.

For information about each NI-488 function and IEEE 488.2-style function, 
choosing a programming method, developing your application, or compiling 
and linking, refer to the 

NI-488.2M Software Reference Manual

.

Common Questions

This section describes how to troubleshoot problems and answers some common 
questions. Also refer to Appendix B, 

Common Errors and Their Solutions

, of the 

NI-488.2M Software Reference Manual

.

What could be causing a problem if the installation process fails?

The most probable reason is that the GPIB-SCSI-A is at a different SCSI Target 
ID than what you entered during installation. Reinstall using the correct ID.

What is wrong if ibfind returns a –1?

The driver may not be installed correctly or the nodes may not have been created 
when the driver was loaded. Try removing and reinstalling NI-488.2 from the CD.

Содержание GPIB-SCSI-A

Страница 1: ...oftware included in this kit is intended for use with Sun SPARC systems running Solaris 2 6 or later Other documentation including the software reference manual is available on your NI 488 2 software...

Страница 2: ...supplied in your area Caution Operating the GPIB SCSI A at any voltage other than the one specified on the bottom of the unit could damage the unit Replacement fuses must be the proper type and rating...

Страница 3: ...following command dmesg Among the startup messages are the devices found on the SCSI bus and their respective Target ID numbers If a Target ID of 5 is not available in your system select an unused Tar...

Страница 4: ...F OFF ON OFF a primary address of 2 is indicated The largest primary address that can be set is 30 The default settings of Switches 1 through 3 are ON OFF ON respectively to select the SCSI ID of 5 Sw...

Страница 5: ...Table 1 Factory Default Configurations for SW2 Switch Position Indication 1 3 OFF Reserved and should remain OFF 4 ON Double buffering is enabled 5 OFF GPIB SCSI A completes all data requests to the...

Страница 6: ...other method is daisy chaining Daisy chaining is a means of connecting a number of SCSI devices to a host thereby a single port on the host can serve a variable number of devices Daisy chaining is th...

Страница 7: ...o your SCSI system Be sure to use only shielded SCSI cables Total cable length in your SCSI system should be less than 6 m and terminating resistors should be installed on both ends as described in th...

Страница 8: ...t provides If your GPIB SCSI A is located at the end of an 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 A...

Страница 9: ...ck 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 4 do not have terminating resistors installed The device...

Страница 10: ...recheck all connections and switch settings and retry the power on sequence If the READY light still fails to come on contact National Instruments Step 4 Power On Your System Complete the following s...

Страница 11: ...he 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 p...

Страница 12: ...n The software installation test ibtsta verifies that the driver is installed correctly It checks for correct access to the device driver Run ibtsta by entering the following command ibtsta If no erro...

Страница 13: ...data from your GPIB device Learn new NI 488 2 functions and routines before integrating them into your application Troubleshoot problems with your application Enter the following command to run ibic...

Страница 14: ...ng method developing your application or compiling and linking refer to the NI 488 2M Software Reference Manual Common Questions This section describes how to troubleshoot problems and answers some co...

Страница 15: ...n using the NI 488 2 language interfaces refer to the Programming Considerations section Technical Support and Professional Services Visit the following sections of the National Instruments Web site a...

Страница 16: ...esources or other project challenges NI Alliance Program members can help To learn more call your local NI office or visit ni com alliance Declaration of Conformity DoC A DoC is our claim of complianc...

Отзывы: