© National Instruments Corp.
5-1
PCI-GPIB for Digital UNIX
Chapter 5
Using Your NI-488.2M Software
This chapter describes the
ibic
utility and lists some programming
considerations.
Introduction to ibic
The Interface Bus Interactive Control utility,
ibic
, comes with your
NI -488.2M software. You can use
ibic
to enter NI-488 functions and
NI -488.2 routines interactively and display the results of the function calls
automatically. Without writing an application, you can use
ibic
to do any
of the 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 program using the C language interface,
complete the following steps:
1.
Include the header file
ugpib.h
in your application.
#include <sys/ugpib.h>
2.
Compile the application program (assume that the example program
you just created is in a file called
test.c
) by entering one of the
following commands: