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.