Company Events Academic Community Support Solutions Products & Services Contact NI MyNI

C Generator

LabVIEW 2011 C Generator Help

Edition Date: June 2013

Part Number: 373144C-01

»View Product Info

June 2013, 373144C-01

Use the LabVIEW C Generator to generate generic C code from VIs. The generated C code can run on most platforms. The C code generation process includes the following steps.

  1. Create a new LabVIEW project.
  2. Develop the VI you want to export for C code generation under the My Computer target.
  3. Test the exported VI in LabVIEW.
  4. Customize the platform definition file for the target.
  5. Create a C Code Generation build specification in the project and specify the VI to export.
    Note  The C Generator does not support packed project libraries.
  6. Configure the function prototype for the exported VI.
  7. Specify C code generation options.
  8. Build the C Code Generation project, which generates makefiles (.mk), .c files, and .h files.
  9. Test the generated C code.
  10. Directly include the C files in an external application or build the generated C files into a binary file that will run on the target.

© 2010–2013 National Instruments. All rights reserved.


 

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