MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

Read Variable Block

Is there any way to have read variable blocks without global variable actually defined in AutoCode generated code.
The thing is we would like to link AutoCode generated code with other code, and want to access the global variable defined in that code.
The read variable block redefines that variables and it generates multiple definition of same variables, which is giving linking error.
 
Thanks
 
Regards
Ishant
 
 
 
0 Kudos
Message 1 of 2
(6,958 Views)
Ishant,

The only potential way of modifying this would be through modifying the template, however this would be at your own risk.  You would probably be better off simply locating the declaration in the generated code, which shouldn't be too difficult if your variable has a unique name, and commenting it out when you go to link the autocode.
--Paul Mandeltort
Automotive and Industrial Communications Product Marketing
0 Kudos
Message 2 of 2
(6,943 Views)