Scheduler Priority Table; Subsystem Table - National Instruments AutoCode NI MATRIX Reference

National instruments ni matrixx reference manual
Table of Contents

Advertisement

Chapter 4
Generating Code for Real-Time Operating Systems
Example 4-1
Processors Table Example
Column
Name
N/A
Integer
Example 4-2
Scheduler Priority Table Example
Column
Data
Name
Type
Priority
Integer
Stack Size
Integer
Processor
Integer
Mode Flags
String
AutoCode Reference
rtos.processors =
2

Scheduler Priority Table

Table 4-2 is a single element table consisting of the priority assigned to the
scheduler task. The table is named: scheduler_priority. Example 4-2 shows
an example of a scheduler priority table.
Table 4-2. Scheduler Priority Table Contents
Data
Template Parameter
Type
Containing the Data
scheduler_priority_i
rtos.scheduler_priority =
254

Subsystem Table

Table 4-3 lists the configuration information for all subsystem tasks of the
model. Each row is identified with the subsystem task number. The table is
named
. Example 4-3 shows a subsystem table.
subsys
Table 4-3. Subsystem Table Contents
Template Parameter
Containing the Data
sspriority_li[]
ssstack_size_li[]
ssprocessor_map_li[]
ssmode_flags_ls[]
ntasks+nintrprocs+2
Default Value
scheduler_priority - nintrprocs - n.
1024
Round-robin
(a sequential, cyclical allocation of resources
to the subsystems)
None
4-4
Default Value
ni.com

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the AutoCode NI MATRIX and is the answer not in the manual?

This manual is also suitable for:

Autocode ni matrixx

Table of Contents