National Instruments AutoCode NI MATRIX User Manual

Page 243

Advertising
background image

Index

© National Instruments Corporation

I-5

AutoCode Reference

Olvarblk option, 7-4
Onorestart option, 7-5
propagating constants (Opc

option), 7-13

removing restart capability, 7-5
reusing temporary block

outputs, 7-11

reusing temporary block outputs as

specified, 7-11

variable block optimization, 7-1
vbco option, 7-4

real-time operating system, 4-1

See also RTOS

structure, 1-3
vectorized

BlockScript block, 6-27
copy-back, 6-21
eliminating copy-back, 6-23
example of Ada generated code, 6-25
example of multiple arays within a

block, 6-15

maximal vectorization, 6-7
merge, 6-19
mixed vectorization, 6-7
split vector, 6-17
split-merge problems, 6-17
standard procedure interface, 6-23
Y-structure, 6-21

generated code architecture

asynchronous procedures

background procedure, 5-21
interrupt event, 5-21
start-up procedure, 5-21

AutoCode handling of global variable

blocks, 5-3

BlockScript block

environment variables, 5-24
example with parameter, 5-34
example with states, 5-27, 5-30, 5-31
generated code optimizations, 5-35

constant propagation, 5-35

dead code elimination, 5-35
implicit type conversion, 5-36
special directives, 5-36

inputs, 5-23
local variables, 5-24
outputs, 5-23
parameters, 5-33
phases, 5-25, 5-26

example of, 5-26

purpose
states

continuous subsystem, 5-29
discrete subsystem, 5-26

BREAK Block, 5-40
caller_id, 5-18, 5-19
condition code

default mode
no default mode, 5-22
sequential mode, 5-22

CONTINUE Block, 5-40
epi option, 5-19
global storage, 5-3

use of %vars, 5-3

global variable blocks, 5-41
IfThenElse Block, 5-39
interface layers

diagram, 5-7
discrete subsystem, 5-8
scheduler external, 5-7
Sys_ExtIn, 5-7
Sys_ExtOut, 5-7
system external, 5-7
U-structure (inputs), 5-8
Y-structure (outputs), 5-8

limitations of generated code, 5-42
local variable blocks, 5-40, 5-41
Macro Procedure SuperBlocks, 5-20

interface to generated code, 5-20

mixing procedures generated with epi and

without epi, 5-19

multi-processor code generation, 5-43

Advertising