Chapter 4 Begin to Use the NI-FBUS Software
AT-FBUS for Windows NT
4-2
© National Instruments Corporation
for the
nifb
driver to Automatic through the Devices window in the
Control Panel. If you are using Windows NT 4.0, you can also move the
NIFB shortcut to the StartUp folder to make it start up automatically
when your computer boots or restarts.
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.
Writing and Compiling Your Application
Note:
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
nifbus.h
header file in your program.
•
You must specify the include directory in your project settings.
•
You must link your program with the
nifb.lib
import library.
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
, a version of the library for Borland users.
•
You can create a console application using the
nifbtest.c
sample
program included in your kit. Create a console application project in
your compiler and add
nifbtest.c
and
nifb.lib
to the project.
Build the project and execute the resulting application.
Using the NI-FBUS Dialog Utility
Note:
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.