Chapter 1
NI-488.2M Software Description
© National Instruments Corp.
1-3
NI-488.2M SRM for OS/2
•
rqs.c
is a C program that illustrates device requests using NI-488 functions.
•
easy4882.c
is a C program that illustrates basic communication with
IEEE 488.2 compliant devices using NI-488.2 routines.
•
eos.c
is a C program that shows the use of the end-of-string character.
•
rqs4882.c
is a C program that illustrates serial polls using NI-488.2 routines.
•
ppoll.c
is a C program that illustrates parallel polls using NI-488.2 routines.
•
non_cic.c
is a C program that illustrates communication when the GPIB board
is not the Controller.
API-Related Files
The distribution disk contains the following API-related files in the
API
subdirectory.
•
readme.api
is a documentation file that contains information about the
OS/2 API functions.
•
nicode.h
is a C language declaration file that contains definitions of NI-
488.2M function codes and other NI-488.2M-related constant and structure
definitions.
•
nictl_32.h
is a C language declaration file that contains a macro
definition. You can use this definition in place of the
DosDevIOCtl
definition for applications that use 32-bit compilers.
•
nictl_16.h
is a C language declaration file that contains a macro
definition. You can use this definition in place of the
DosDevIOCtl
definition for applications that use 16-bit compilers.
•
dsamp_32.c
is a 32-bit C sample program using API device-level calls.
•
dsamp_16.c
is a 16-bit C sample program using API device-level calls.
•
bsamp_32.c
is a 32-bit C sample program using API board-level calls.
•
bsamp_16.c
is a 16-bit C sample program using API board-level calls.