Download Print this page

Intel 80188EB User Manual page 21

Based fieldbus round card
Hide thumbs

Advertisement

Chapter 4
Interfacing to Your Round Card
Note:
80188EB-Based Fieldbus Round Card User Manual
National Instruments recommends that you use Borland C version 4.5 for
maximum compatibility with our library file.
The first step in the final stage is compilation. The following files must
be successfully compiled to
The
file generated by the Device Code Generator.
.c
The
file generated by the Configuration Generator.
.c
Your own
.c
callbacks.
You should compile the files to
meet the following conditions:
You must use the Medium memory model (near data, far code). For
the Borland C 4.5 compiler, this option is
You must use the default structure alignment, which is a 2-byte
structure alignment for Borland C 4.5.
You must allow single-byte enumeration where possible. For the
Borland C 4.5 compiler, this option is
After you have compiled the files, you must link them with the National
Instruments Round Card library,
communications stack and Function Block Shell. You must specify the
following linker options when linking to
Case-sensitive public and external symbols. For the Borland C 4.5
linker, this option is
Ignore default libraries. For the Borland C 4.5 linker, this option
is
.
-n
Set the segment alignment to 16 bytes. For the Borland C 4.5 linker,
this option is
When you have successfully completed linking your application, you
are ready to locate it in the physical address space of the Round Card.
To complete this step, you need a locator utility such as Paradigm
Systems'
locate
The locator file must place the Data Segment so that it covers at least the
first 32 bytes of the Frontier-1 memory space. If the Data Segment is not
placed correctly, the Round Card will be unable to communicate on the
Fieldbus.
format:
.obj
file that contains your
format, using compiler options to
.obj
nistack.lib
.
-c
.
-A=16
.
4-6
function and your
userStart
.
-mm
.
-b-
. This file contains the
:
nistack.lib
© National Instruments Corporation

Advertisement

loading

  Related Manuals for Intel Intel 80188EB