define_int_event


Description:

Macro

Identifier

Displayed Name

Group*

Unit*

Range Min*

Range Max*

Value Formatter*


Example using all options:

define_int_event(

eventWaterLevel,

"Water Level",

4,

"cm",

-30,

30,

"D"

);

Example without options:

define_int_event(

eventCounter,

"Counter",

,

,

,

,


);


*optional argument. If Group is omitted the Group-Number will default to 0.

The unique message id is derived from the row number, in source file where the macro is used.


Copy to your project:

define_int_event(Identifier, "DisplayedName", optional_GroupNr, "optional_Unit", optional_Min, optional_Max, "optional_Formatter" );

define_int_event_id


Description:

Macro

Identifier

Displayed Name

Id

Sub Id

Group*

Unit*

Range Min*

Range Max*

Value Formatter*


Example using all options:

define_int_event_id(

eventWaterLevel,

"Water Level",

11,

1,

4,

"cm",

-30,

30,

"D"

);

Example without options:

define_int_event_id(

eventCounter,

"Counter",

11,

1,

,

,

,

,


);


*optional argument. If Group is omitted the Group-Number will default to 0.


Copy to your project:

define_int_event_id(Identifier, "DisplayedName", Id, SubId, optional_GroupNr, "optional_Unit", optional_Min, optional_Max, "optional_Formatter" );