User`s guide
4 Embedded Option
4-14
Stand-Alone Target Applications
This section includes the following topics:
•“Creating a Target Application for Stand-Alone”
•“Creating a Target Boot Disk for Stand-Alone”
•“Using Target Scope Blocks with Stand-Alone”
Creating a Target Application for Stand-Alone
After selecting StandAlone as your TargetBoot entry, the xPC Target
environment is ready to create completely stand-alone applications using the
Real-Time Workshop Build button.
Once the build process has finished, a message is displayed confirming that a
stand-alone application has been created. With the
StandAlone mode, the
download procedure is not automated. The files necessary for creating
stand-alone operation are placed in a subdirectory below your working
directory. You copy these files to your DOS boot device.
After the build process is complete, files in your subdirectory include:
•
model.rtb. This image contains the xPC Target kernel and your target
application.
•
autoexec.bat. This file is automatically invoked by DOS. It then runs
xpcboot.com and the *.rtb file.
•
xpcboot.com. This file is a static file that is part of xPC Target Embedded
Option.
Note We suggest setting the property HostTargetComm to RS232 if
property
TargetBoot is set to StandAlone. This will use less memory than
the TCP/IP setting. With either setting,
StandAlone mode does not have any
interaction with the host PC.