IML Errors and Warnings

The IzoT Interface Interpreter issues error or warning messages when necessary, following this general format:

type: filename (line number): description [IML#message-number]

Example

Error: "izot_device.c" (8): onOffline: Handler "offline" is already used with the onOnline event [IML#29]

Errors and Warnings

ID

Description

Type

1

A general syntax error occurred, with details shown in the error message.

Error

2

The offending construct does not declare a datatype or variable. Block, Datapoint, Property, and Tag directives require the declaration of a datatype and at least one variable on the left of the //@IzoT tag

Error

3

An option's numeric value is outside of the supported range.

Error

4

An option's alphanumeric value fails to match the required format.

Error

5

A required input file cannot be read.

Error

6

A generated output file cannot be written.

Error

7

The number of bindable message tags exceeds the supported maximum.

Error

8

Duplicate type name. Different items sharing the same base type (a block type, or a datapoint type, for example) can implement different characteristics, and the type names must be unique. You can resolve this issue by selecting a different, unique, type name modifier within a block or datapoint declaration.

Error

9

Too many type modifiers. Blocks and datapoints require type modifiers to be provided with the type declaration in order to produce unique type names for the implementation. For example: SNVT_amp(amp) amp; ...

One type modifier is required for datapoints or profiles that do not implement a generic SNVT_xxx member. Two type modifiers are required to implement profiles that declare members with SNVT_xxx, and the second modifier must resolve the generic type to an absolute datapoint type.

Error

10

The variable has been re-declared. Variables implementing blocks, datapoints, and properties are global C variables and must have unique names.

Error

11

An error occurred when processing the attributes supplied to the right of the //IzoT tag.

Error

12

A name error occurred when processing the attributes supplied to the right of the //IzoT tag.

Error

13

An attribute error occurred when processing the attributes supplied to the right of the //IzoT tag.

Error

14

A type error occurred when processing the attributes supplied to the right of the //IzoT tag.

Error

15

The alphanumeric ("string") value supplied with an attribute does not meet the minimum length requirements.

Error

16

The alphanumeric ("string") value supplied with an attribute exceeds the maximum length requirements.

Error

17

 An intermediate file cannot be deleted.

Error

18

The specified resource cannot be located.

Error

19

The specified block member does not exist, or is not implemented.

Error

20

The array option may only be used with property block members.

Error

21

The specified property block member's array size does not meet the array size limitations defined in the profile.

Error

22

An unspecified error occurred when processing an IzoT Interface Interpreter instruction.

Error

23

A property must be unique within its application set. For example, only one SCPTlocation property can be implemented and applied to the entire device, and only one such property can be implemented and applied to each datapoint.

Error

24

Invalid typename modifier. A typename modifier must begin with a lower or upper case letter (a-z or A-Z) or an underscore character. It must consist of letters (a-z or A-Z), digits (0-9), and underscore characters.

Error

25

Unknown property flag.

Warning/Error*

26

The specified attribute cannot be applied to the current class. For example, the implement attribute can be applied to a Block class, but is not supported by the Datapoint class.

Error

27

A required type modifier is missing.

Error

28

Another Node object has already been implemented. There can only be one Node object. This error can occur when an application makes an explicit declaration of a Node object too late—the IzoT Interface Interpreter automatically supplies a Node object when required, generally at the time the second block is implemented.

Error

29

The given event handler has already been used with another event type. Any given event handler can be registered more than once, but only with the same event type. For example, an onOnline event handler cannot also be used to implement an onOffline event.

Error

30

The onUpdate event cannot be used with an output.

Error

31

The onComplete event cannot be used with an input.

Error

32

The minimum buffer size requested with the buffersize option does not meet this application's minimum required buffer size (the requested and required minimum buffer size values are listed in the diagnostic message).

Error

33

The node object is required and must be defined.

Error

34

The selected option is not available with this target.

Warning/Error*

36

Invalid combination of property flags.

Error

37

A profile specifies a SCPTnvType property which appears to have an empty application set. This error indicates an incorrectly defined profile.

Error

38

The application's program ID has been updated to indicate that the application includes at least one changeable-type datapoint.

Warning/Error*

39

Your implementation of an optional property that applies to an optional datapoint, where the datapoint is not currently implemented, promotes the datapoint to the implementation.

Warning/Error*

40

Too many datapoints. The target's maximum number of datapoints was exceeded.

Error

41

An error occurred when recognizing or applying an explicit initial value supplied with your IML declaration.

Error

42

A block implements a profile that declares a principal datapoint member, but does not implement this member.

Error

43

A polling attribute is incorrectly used for an output or a polled attribute is incorrectly used for an input—you can only use the polled attribute for an output and the polling attribute for an input.

Warning/Error*

44

A polling or polled attribute is incorrectly used with a property—you can only use the polling and polled attributes with a datapoint.

Warning/Error*

45

A polled attribute is incorrectly used with a polling attribute—the polled and polling attributes are mutually exclusive.

Warning/Error*

46

The implementation of the polled or polling attribute differs from the profile's recommendation.

Warning/Error*

100

Unknown target.

Error

Note:  (*) This diagnostic is a warning by default, but can be changed into an error with the strict option.