Contents
AutoCode Reference viii ni.com
Chapter 4Generating Code for Real-Time Operating SystemsReal-Time Operating System Configuration File..........................................................4-1
Configuration Items........................................................................................4-2
Table Syntax...................................................................................................4-2
Table Naming Convention................................................................4-3
Table Column Contents....................................................................4-3
Table Orderings................................................................................4-3
File Comments..................................................................................4-3
RTOS Configuration File Contents.................................................................4-3
Processors Table...............................................................................4-3
Scheduler Priority Table...................................................................4-4
Subsystem Table...............................................................................4-4
Interrupt Procedure SuperBlock Table.............................................4-5
Background Procedure SuperBlock Table........................................4-6
Startup Procedure SuperBlock Table ...............................................4-7
Processor IP Name Table .................................................................4-7
Version Table................................................................................... 4-8
Using the Configuration File...........................................................................4-8
Chapter 5Generated Code ArchitectureSymbolic Name Creation..............................................................................................5-1
Default Names.................................................................................................5-1
Signal Naming.................................................................................................5-2
Duplicate Names.............................................................................................5-2
Selection of a Signal Name.............................................................................5-2
Subsystem and Procedure Boundaries..............................................5-2
Typecheck Feature and Data Types................................................................5-2
Global Storage...............................................................................................................5-3
Percent vars (%var).........................................................................................5-3
Global Variable Blocks...................................................................................5-3
Sequencing Variable Blocks.............................................................5-3
Global Variable Block and %var Equivalence................................. 5-4
Optimization for Read-From Variable Blocks................................. 5-4
Global Scope Signal Capability......................................................................5-4
Subsystems....................................................................................................................5-5
Discrete and Continuous SuperBlocks Versus Subsystems............................5-5
Top-Level SuperBlock..................................................................... 5-6
Block Ordering................................................................................................5-6
Interface Layers...............................................................................................5-6
Scheduler External Interface Layer.................................................................5-7