National Instruments AutoCode NI MATRIX Reference page 201

National instruments ni matrixx reference manual
Table of Contents

Advertisement

Chapter 7
Code Optimization
X->proc_22_S1 = 0.0;
X->proc_24_S1 = 0.0;
XD->proc_22_S1 = 0.0;
XD->proc_24_S1 = 0.0;
/* ----------------------------
/* {proc..22} */
X->proc_22_S1 = 0.0;
/* ----------------------------
/* {proc..24} */
X->proc_24_S1 = 0.0;
SUBSYS_PREINIT[1] = FALSE;
return;
}
/***** Output Update. *****/
/* ----------------------------
/* {proc..22} */
proc_22_1 = X->proc_22_S1;
/* ----------------------------
/* {proc..24} */
proc_24_1 = X->proc_24_S1;
/* ----------------------------
/* {proc..14} */
proc_14_1 = U->proc_1 - proc_22_1;
/* ----------------------------
/* {proc..12} */
proc_12_1 = 2.0*proc_14_1;
/* ----------------------------
/* {proc..5} */
proc_5_1 = proc_12_1 - proc_24_1;
/* ----------------------------
/* {proc..4} */
Y->proc_4_1 = 2.0*proc_5_1;
/***** State Update. *****/
/* ----------------------------
/* {proc..22} */
XD->proc_22_S1 = proc_12_1;
/* ----------------------------
/* {proc..24} */
XD->proc_24_S1 = Y->proc_4_1;
..
..
AutoCode Reference
Time Delay */
Time Delay */
Time Delay */
Time Delay */
Sum of Vectors */
Gain Block */
Sum of Vectors */
Gain Block */
Time Delay */
Time Delay */
7-10
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?

Questions and answers

This manual is also suitable for:

Autocode ni matrixx

Table of Contents