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

GenerateInlinePrintf 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

Indicates you want to use the C run-time library function printf if it is available for your target. For example, the Format Into String function in LabVIEW is implemented completely in the LabVIEW C Code Run-Time Library to support LabVIEW data types. However, if you use only integer, floating-point, or Boolean data, you can use the C library function printf instead. Set this attribute to TRUE to use printf when possible. The LabVIEW C Code Generator uses the LabVIEW C Code Run-Time library implementation if you cannot use printf. The printf function is usually smaller and faster than the LabVIEW C Code Run-Time Library version for simple data types.


Resources


 

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