From a LabVIEW block diagram, the C Generator creates ANSI C code that you can compile on many targets. When you generate C code from an exported VI, LabVIEW traverses the block diagram and generates simple C primitives if possible. For example, the C Generator converts While Loops to while() statements and converts the Add function to a simple C operation. However, a straight mapping is not possible for more complex functions so the C Generator uses the LabVIEW C Code Run-Time Library, which is analogous to the LabVIEW Run-Time Engine. The LabVIEW C Code Run-Time Library contains such things as data manipulation and math functions. The C Generator includes the source code for the LabVIEW C Code Run-Time Library.
You can use the C Code Generation Settings page of the C Code Generation Properties dialog box to specify C code generation settings and optimizations for all VIs in the hierarchy of the exported VI. You also can use the Source File Settings page of the C Code Generation Properties dialog box to specify individual C code generation options for each VI in the hierarchy of the exported VI.