LabVIEW C Generator Module

Table of Contents

Generating C Code from the Command Line (C Generator)

  • Updated2023-02-21
  • 1 minute(s) read

You can use lvcg.exe from the command line to generate C code. The lvcg utility is useful if you want to create a makefile that regenerates C code when you modify the project. The output of the lvcg utility is the same as using a C Code Generation build specification to generate C code.

From the command line, enter the following commands to run the lvcg utility.

lvcg [-options] project pathbuild specification name

project path is the destination directory to save the generated C code. build specification name is the name of an existing C Code Generation build specification. You can use the -override-destination option to generate the C files in the current working directory instead of the destination directory specified in the build specification.

Log in to get a better experience