beautypg.com

Echelon Neuron User Manual

Page 102

background image

94

Neuron C Compiler Errors (NCC)

NCC#

Description

402

403

Invalid reference ‘’ – must be an NV-CP or a CP family name

[NCC#402]

The property ‘’ is not an NV-CP or a CP family name [NCC#403]

The compiler has determined that the shown must be a reference

to a configuration property. The configuration property must have

previously been declared as a network variable using the config_prop or cp
option keyword in the declaration, or as a configuration parameter family

using the cp_family keyword. For more information on this topic, see the
chapter on configuration properties in the

Neuron C Programmer's Guide

.

404
405

A device property cannot be ‘static’ [NCC#404]

A device property cannot be ‘global’ [NCC#405]

The device_properties list cannot contain any properties using the static or

global keyword as a modifier. Device properties are unique to the device,
and cannot be shared.

406

Device property is a duplicate [NCC#406]

The

L

ON

M

ARK

Application Layer Interoperability Guidelines

specify that

no more than one property of any particular SCPT or UCPT type may be

used as a device property. CPT names are the keys that LNS uses to
retrieve variable values. Consult that document for more information.

407

A variable property list can only be used with a network variable [NCC#407]

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.
Improper uses of the nv_properties clause:

static int abc nv_properties { heartbeatTime };
SNVT_temp_f temperature
nv_properties { heartbeatTime };

Proper use of the nv_properties clause:

network output SNVT_temp_f temperature
nv_properties { heartbeatTime };

In the second "improper use" example above, the declaration may be

confused with a network variable declaration, however, it is not. The

declaration actually is just a variable declaration using the type of the
SNVT (this is a legitimate declaration, but not a network variable, so it

cannot have a property list).

408

Array index for property or member cannot be used in this context [NCC#408]

A reference to a property name in a property list contained an array index

expression, but the property is not an array.