Writing And Compiling Your Application; Using The Ni-Fbus Dialog Utility - Fieldbus Specialists PCMCIA-FBUS Getting Started

Table of Contents

Advertisement

Chapter 4
Begin to Use the NI-FBUS Software

Writing and Compiling Your Application

Note:

Using the NI-FBUS Dialog Utility

Note:
PCMCIA-FBUS for Windows NT
If you are using the NI-FBUS Configurator, refer to the NI-FBUS
Configurator User Manual for more information on how to use the
NI-FBUS software.
If you are using the NI-FBUS Configurator or you are not developing an
NI-FBUS application, this section does not apply to you.
When you compile your NI-FBUS application, consider the following
items:
You must include the
You must specify the include directory in your project settings.
You must link your program with the
National Instruments created this library using Microsoft
Visual C/C++ version 4.0. National Instruments used Borland C 4.5
to create
nifb_bor.lib
You can create a console application using the
program included in your kit. Create a console application project in
your compiler and add
Build the project and execute the resulting application.
The NI-FBUS Dialog Utility is not included with the NI-FBUS
Configurator.
Use the NI-FBUS Dialog utility to interact with your devices over the
fieldbus by opening descriptors, making single NI-FBUS calls, and
viewing the results. You might want to use the NI-FBUS Dialog utility to
verify installation and device operation, or to learn the NI-FBUS API.
You can run the NI-FBUS Dialog utility by double-clicking on the
NIFBus Dialog icon in your NI-FBUS program group. When you open
the NI-FBUS Dialog utility, a window appears containing a single item
called Open Descriptors. This is the root of a tree that shows an icon for
each of the NI-FBUS descriptors you open using the utility. The area
header file in your program.
nifbus.h
nifb.lib
, a version of the library for Borland users.
and
nifbtest.c
4-2
import library.
sample
nifbtest.c
to the project.
nifb.lib
© National Instruments Corporation

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PCMCIA-FBUS and is the answer not in the manual?

Questions and answers

Table of Contents