MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

matrixx 7 autocode does not generate ucb and subsystem wrapper for "procedures" code style

Under matrixx 6.1.3  when procedure style code generation is specified  (-procs), autocode generates subsystem and ucb style wrappers (see below):
 
Executing the command:   
autostar -l c -o "test.c" -d "/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac" -procs "test.rtf"   

*********************************************************
*        AutoCode/C       Code Generator V6.1           *
*                                                       *
*      (C) Copyright 1998.  Integrated Systems Inc.     *
*      Unpublished work; Restricted rights apply.       *
*      All rights reserved.  Portions U.S. Patent.      *
*********************************************************
Loading 'test.rtf' ...
Initializing ...
Processing names ...
Building symbols ...
Executing '/usr/local/apps/matrixx-6.1.3/solaris_mx_61.3/case/ACC/templates/c_sim.dac' :
             Generating procedures declarations ...
             Generating procedures definitions ...
            
Generating subsystem-style wrapper (subsys_1)
             around procedure tt1 ...
            
Generating UCB-style wrapper(s) around procedure(s) ...
Output generated in test.c.
 
 
However, matrixx 7.1.4 does not generate the wrappers. see below :
 
Executing the command:   
autostar -l c -o "test.c" -d "/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac" -procs "test.rtf"   

****************************************************************
*           AutoCode/C       Code Generator V7.1               *
*                                                              *
*  (c) Copyright 1987-2004.  National Instruments Corporation  *
*          All rights reserved.  Portions U.S. Patent.         *
****************************************************************
Loading 'test.rtf' ...
Initializing ...
Processing names ...
Building symbols ...
Executing '/data/binaries/SUN8/apps/matrix714/solaris_mx_71.4/case/ACC/templates/c_sim.dac' :
             Generating internal procedure declarations ...
             Generating procedures definitions ...
             Generating MAKEFILE in test.mk
Output generated in test.c.
Code generation complete.
 
Please note that the autocode user's guide for matrixx7 indicates that these wrappers are generated when -procs is specified.
 
-procs: Sets the template parameter procs_only_b as True, and default template only generates Procedure SuperBlocks and generates UCBsand subsystem wrappers for each of these procedures.  
 
Is ther a way to create the same behavior under matrixx7 when -procs option is used?
 
Thanks
 
 
 
0 Kudos
Message 1 of 2
(7,477 Views)
Hello,
 
These wrappers were separated into different templates.  What you would need to do is to run the templates that you need. You can find these templates in the C:\Program Files\National Instruments\MATRIXx\mx_71.4\case\ACC\templates folder.
Hope this helps.
 
Ricardo S.
National Instruments
 
0 Kudos
Message 2 of 2
(7,454 Views)