User`s guide
Environment
5-3
Environment
The xPC Target environment defines the software and hardware environment
of the host PC as well as the target PC. An understanding of the environment
properties will help you to correctly configure the xPC Target environment.
This section includes the following topics:
•
“Environment Properties” — List of properties with a brief description
•
“Environment Functions” — List of functions with a brief description
Environment Properties
The environment properties define communication between the host PC and
target PC, the type of C compiler and its location, and the type of target boot
floppy created during the setup process. You can view and change these
properties using the environment functions or Setup window.
Table 5-1: List of Environment Properties
Environment
property
Description
Version
xPC Target version number. Read-only.
Path
xPC Target root directory. Read-only.
CCompiler
Values are ’Watcom’ or ’VisualC’. From the
Setup window
CCompiler list, choose either
Watcom or VisualC.
CompilerPath
Value is a valid compiler root directory. Enter the
path where you installed a Watcom C/C++ or
Microsoft Visual C/C++ compiler.
If the path is invalid or the directory does not
contain the compiler, then when you use the
function
updatexpcenv or build a target
application, an error message appears.