Chapter 4
Generating Code for Real-Time Operating Systems
Example 4-7
Processor IP Table Example
rtos.IPprsrmap =
Processor |
IP Name
--------------------------------------------------------------------
1
|
127.0.0.1
2
|
133.65.32.111
Column
Data
Name
Type
N/A
Integer
Example 4-8
Version Table Example
Using the Configuration File
AutoCode Reference
Version Table
Table 4-8 is a single element table consisting of the version number of
the format of the configuration tables. The table is named
Example 4-8 shows a version table.
Table 4-8. Version Table Contents
Template Parameter
Containing the Data
N/A
rtos.version =
1
Two mutually exclusive command options control the usage of the RTOS
configuration file,
-rtos
filename as the name of the configuration file to read and keep updated.
This filename is
ac_rtos.cfg
the first time. Each time AutoCode is executed with the
the default configuration file is updated. This update contains all of the
configuration data that was used to generate code for the model and any
additional AutoCode components—that is, subsystem tasks, nonscheduled
SuperBlocks—in the model that did not have data in the configuration file.
The
option requires a filename to be specified as an argument.
-rtosf
When this option is used, AutoCode reads data from the file specified,
ignoring the default file. However, when data is updated, the new data is
stored in the file
filename .new
specified along with the
If you use an old configuration file with an updated model, AutoCode will
report differences and remove any unused configuration data when the
Latest file version
and
. The
-rtosf
. Use
-rtos
, where
filename
option.
-rtosf
4-8
version
Default Value
option uses a default
-rtos
to create the configuration file
option,
-rtos
is the filename
.
ni.com
Need help?
Do you have a question about the AutoCode NI MATRIX and is the answer not in the manual?
Questions and answers