Command usage – Echelon Neuron Field Compiler User Manual
Page 18

12
Using the Neuron Field Compiler
However, any of the Neuron Field Compiler components could potentially
produce an error message that your Neuron C generator tool must be able to
handle. See the Neuron Tools Errors Guide for information about the various
error codes from the Neuron Field Compiler components. See NCA Error
Messages on page 18 for a description of error codes issued by the LonNCA32
command.
Note: The Neuron Field Compiler Project Make Facility (LonPMK32c.dll)
issues the same error codes as the NodeBuilder Project Make Facility
(LonPMK32.dll); likewise, the Neuron Field Compiler Neuron C Compiler
(LonNCC32c.dll) issues the same error codes as the NodeBuilder Neuron C
Compiler (LonNCC32.dll).
See the Neuron C Programmer’s Guide for more information about the process of
compiling a Neuron C program.
Command Usage
The command for running the Neuron Field Compiler is LonNCA32. You can
issue this command from a Windows command prompt or you can call it from
your Neuron C generator tool. The command accepts one parameter, the name of
the Neuron C source file, and requires two command switches to specify the
hardware template file and the program ID.
The following command usage notes apply to running the LonNCA32 command:
•
If no command switches or arguments follow the command name, the tool
responds with usage hints and a list of available command switches.
•
Most command switches come in two forms: A short form and a long
form.
The short form consists of a single, case-sensitive, character that
identifies the command, and must be prefixed with a single forward slash
'/' or a single dash '-'. Short command switches can be separated from
their respective values with a single space or an equal sign. Short
command switches do not require a separator; the value can follow the
command identifier immediately.
The long form consists of the verbose, case-sensitive, name of the
command, and must be prefixed with a double dash '- -'. Long command
switches require a separator, which can consist of a single space or an
equal sign.
Examples:
Short form: lonnca32 –dmymacro …
Long form: lonnca32 –-define mymacro …
•
Multiple command switches can be separated by a single space.
•
Commands of a Boolean type need not be followed by a value. In this
case, the value yes is assumed. Possible values for Boolean commands
are yes, on, 1, +, no, off, 0, - (a minus sign or dash).