Language-Specific Programming Instructions For Mac Os X; Language-Specific Programming Instructions For Linux - National Instruments NI-488.2 NI-488.2 User Manual

National instruments network hardware - networking hardware user manual
Hide thumbs Also See for NI-488.2 NI-488.2:
Table of Contents

Advertisement

Chapter 4
Developing Your NI-488.2 Application
Language-Specific Programming Instructions for
Mac OS X

Language-Specific Programming Instructions for Linux

NI-488.2 User Manual
Before exiting your application, you need to free
following command:
FreeLibrary(Gpib32Lib);
For more examples of directly accessing
entry sample programs
with the NI-488.2 software. For more information about direct entry, refer
to the online help for your development environment.
The following information describes how to develop, compile, and link
your Mac OS X NI-488.2 applications.
Before you compile your application, remember to include the following
line at the beginning of your program:
#include <NI488/ni488.h>
To compile and link your application using the CodeWarrior or Project
Builder environments, include
or Project Builder project. The framework is located at
.
Frameworks
To compile and link your application in a Terminal Shell, type the following
code on the command line:
cc cprog.c -framework NI488
The following information describes how to develop, compile, and link
your Linux NI-488.2 applications.
Before you compile your application, remember to include the following
line at the beginning of your program:
#include <ni488.h>
Your application must link with the NI-488.2 dynamic library
. There are two ways to load a dynamic library on
libgpibapi.so
Linux—static and dynamic. To have the library statically loaded at the time
gpib-32.dll
and
dlldevquery.c
NI488.framework
4-16
with the
gpib-32.dll
, refer to the direct
, installed
dll4882query.c
into your CodeWarrior
/Library/
ni.com

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents