Echelon Neuron User Manual

Page 103

Advertising
background image

Neuron Tools Errors Guide

95

NCC#

Description

409

A ‘cp’ network variable cannot have a variable property list [NCC#409]

The Neuron C Version 2 syntax permits nonsense declarations like the

following example, but the compiler later determines that the nv_properties
clause can only apply to a network variable declaration that is

not

a

configuration property. The

L

ON

M

ARK

Application Layer Interoperability

Guidelines

do not permit a configuration property to have properties of its

own.
Improper use of the nv_properties clause:

network input cp SCPTdefOutput defaultValue
nv_properties { heartbeatTime };

410

A ‘config’ network variable cannot have a variable property list [NCC#410]

The Neuron C Version 2 syntax permits nonsense declarations like the

following examples, but the compiler later determines that the
nv_properties clause can only apply to a network variable declaration that

is

not

declared with the config keyword. The

L

ON

M

ARK

Application Layer

Interoperability Guidelines

do not permit a configuration property to have

properties of its own.
Improper use of the nv_properties clause:

network input config SCPTdefOutput defaultValue
nv_properties { heartbeatTime };

411

Existing LonMark SD string info in NV will be overridden [NCC#411]

When a Neuron C program uses any of the new Neuron C Version 2

features that support the construction of a L

ON

M

ARK

device, the compiler

will create the SD and SI information for the device. When the compiler
attempts to insert this information into the SI and SD strings, if there is

already text present from the user's program, the compiler will insert the

L

ON

M

ARK

information at the front of the string, and will then use a

semicolon character to separate the automatically-generated string from

the user-specified string.

If the compiler detects that the existing string information started with the

special characters that would identify that information as L

ON

M

ARK

information, the compiler then issues this warning, to let the programmer
know that the existing L

ON

M

ARK

information in the program was

overridden.

412

Too many errors – compilation halted [NCC#412]

To prevent a serious error early in the compilation, such as a missing

include file, or a missing brace or parenthesis, from creating a flood of
useless error messages, the compiler limits the number of error messages

reported to a small number. The next error after this limit is reached

causes the compiler to issue this message and halt the compilation.

Advertising