Chapter 5 Generated Code Architecture
© National Instruments Corporation 5-55 AutoCode Reference
The following code uses the Enter_Shared_Varblk... syntax for
shared variable block generated code with callouts, using the -vbco and
-epi options.
Enter_Shared_Varblk_Section(4, 1);
proc2_4_1 = isi_varblk[0]->block5[0];
proc2_4_2 = isi_varblk[0]->block5[1];
Leave_Shared_Varblk_Section(4, 1);
Caution It is not possible to mix code with shared variable blocks generated with the
-epiop tion and code with shared variable blocks generation without -epi because the
prototypes of the shared variable block callouts are the same.