NI MATRIXx Reference Manual
Chapter 4 Generating Code for Real-Time Operating Systems
AutoCode Reference 4-6 ni.com
Example 4-4 Interrupt Table Example
rtos.intrsupblk =
Interrupt | Priority Stack Size Processor Vector Mode Flags
----------------------------------------------------------------------
catch_it | 200 4096 1 255 NONE
sigio_io | 150 4096 1 127 I_IO
keypad | 150 8192 2 31 NONE
Background Procedure SuperBlock Table
Table 4-5 consists of configuration information for all background
procedure SuperBlocks in the model. Each row is identified by the name of
the SuperBlock. The table is named
bkgdsupblk. Example 4-5 shows a
background table.
Example 4-5 Background Table Example
rtos.bkgdsupblk =
Background | Priority Stack Size Processor Ordering Mode Flags
--------------------------------------------------------------------------
back_1 | 200 4096 1 2 NONE
back_2 | 150 4096 1 1 NONE
Table 4-5. Background Table Contents
Column
Name
Data
Type
Template Parameter
Containing the Data
Default Value
Priority Integer
proc_priority_li[] scheduler_priority-nta
sks - nintrprocs - 1
Stack Size Integer
proc_stack_size_li[] 1024
Processor Integer
proc_processor_map_li[]
Round-robin
(a sequential, cyclical
allocation of resources to the
background procedure
SuperBlocks)
Ordering Integer
proc_ordering_li[]
n + 1
Mode Flags String
proc_mode_flags_ls[]
None