Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

GenerateCFunctionCalls Code Generation Attribute (Microprocessor SDK)

LabVIEW 8.6 Microprocessor SDK Help
June 2008

NI Part Number:
372197B-01

»View Product Info

Type: Boolean

Default: FALSE

Determines the calling interface to subVIs if you set GenerateSerialOnly to TRUE. The LabVIEW C Code Generator uses default data when generating the calling interface to a subVI if an input to or output from the subVI is unwired, which increases the overall amount of generated code and data for a VI relative to what you might use in a normal C application. If all of the inputs and outputs are wired, the LabVIEW C Code Generator does not need the default data and can generate a more efficient interface.

Set this attribute to TRUE to generate the interface to all VIs as C function calls without any default data initialization, which can reduce the code size by as much as 50% for a small VI. An error occurs if any input or output to any VI is unwired when the LabVIEW C Code Generator generates the C code.

If you set GenerateCFunctionCalls to TRUE, you also must set GenerateSerialOnly to TRUE.


Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit