Echelon Neuron Manual de usuario Pagina 104

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 180
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 103
96 Neuron C Compiler Errors (NCC)
NCC# Description
417
Invalid declaration type for ‘properties’ clause [NCC#417]
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).
418
Cannot have multiple ‘properties’ clauses on a variable [NCC#418]
The Neuron C Version 2 syntax permits nonsense declarations like the
following example, but the compiler later determines that there are too
many properties clauses in the declaration.
Improper use of the nv_properties clause:
network output SNVT_temp_f temperature
nv_properties { heartbeatTime }
nv_properties { defaultOutput };
The properties clause is a comma-separated list, and corrected use of the
declaration above is shown below:
network output SNVT_temp_f temperature
nv_properties { heartbeatTime,
defaultOutput };
419
A ‘cp’ network variable cannot be an ‘output’ NV [NCC#419]
Configuration property network variables can only be declared as input
network variables. See the chapter describing the use of configuration
properties in the
Neuron C Programmer's Guide
.
420
Network variable’s property is a duplicate [NCC#420]
The
LONMARK
Application Layer Interoperability Guidelines
specify that
no more than one property of any particular SCPT or UCPT type may be
used for a network variable. Consult that document for more information.
Vista de pagina 103
1 2 ... 99 100 101 102 103 104 105 106 107 108 109 ... 179 180

Comentarios a estos manuales

Sin comentarios