National-instruments AutoCode NI MATRIX Manuel d'utilisateur Page 122

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 250
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 121
Chapter 5 Generated Code Architecture
AutoCode Reference 5-14 ni.com
EXEC_ERROR: return;
}
/******* Subsystem 1 *******/
void subsys_1(U, Y)
struct _Sys_ExtIn *U;
struct _Subsys_1_out *Y;
{
static RT_INTEGER iinfo[4];
/***** Local Block Outputs. *****/
RT_FLOAT foo_2_1;
static struct _foo_u foo_2_u;
static struct _foo_y foo_2_y;
static struct _foo_info foo_2_i;
static struct _foo_u foo_12_u;
static struct _foo_y foo_12_y;
static struct _foo_info foo_12_i;
struct _foo_info *foo_i;
/******* Initialization. *******/
if (SUBSYS_PREINIT[1]) {
iinfo[0] = 0;
iinfo[1] = 1;
iinfo[2] = 1;
iinfo[3] = 1;
foo_2_i.iinfo[0] = iinfo[0];
foo_2_i.iinfo[3] = iinfo[3];
/* Copy in variable pointers of procedure foo */
foo_2_i.GAIN = &A_GAIN;
foo_12_i.iinfo[0] = iinfo[0];
foo_12_i.iinfo[3] = iinfo[3];
/* Copy in variable pointers of procedure foo */
foo_12_i.GAIN = &B_GAIN;
SUBSYS_PREINIT[1] = FALSE;
return;
}
/***** Output Update. *****/
/* ---------------------------- Procedure SuperBlock */
/* {foo.2} */
Vue de la page 121
1 2 ... 117 118 119 120 121 122 123 124 125 126 127 ... 249 250

Commentaires sur ces manuels

Pas de commentaire