Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.

Log in or register to post/reply in the forum.

PC Compiler command line options

ridgerunner81 Apr 21, 2016 08:53 AM

I have noticed additions to the PC Compiler command line options in the revision history of the datalogger OS's.  I have looked through all of the LoggerNet documentation and Datalogger manuals without finding a list of all of the PC compiler options.  Does a complete list of PC compiler options exist?

It would be helpful if a -h or --help command line option was added to display all of the available command line options and some help on how to use the command line.

JDavis Apr 22, 2016 08:24 AM

CR Compiler Command Line Usage


Basic usage:

cr1comp.exe InputFileName.CR1 [CompileResults.txt]


Give warning of unused variables:

cr1comp.exe –u Sample.CR1

Display compiler version in results:

cr1comp.exe –v Sample.CR1

Display program signature in results:

cr1comp.exe –s Sample.CR1

Create TDF file:

cr1comp.exe –z Sample.tdf Sample.CR1

Create labels of data tables:

cr1comp.exe –l Labels.txt Sample.CR1

Display version of compiler:

cr1comp.exe –d

Display measurement times in results file(does not appear in console):

cr1comp.exe –t Sample.CR1 Output.txt

Brice Mar 12, 2019 04:00 AM

With LoggerNet 4.5, is there a command line option for the cr6compiler.ex to do a "Conditional Compile, Include Files and Save" ?

Log in or register to post/reply in the forum.