define_double_event


Description:

Macro

Identifier

Displayed Name

Group*

Unit*

Range Min*

Range Max*

Value Formatter*


Example using all options:

define_double_event(

eventAirTemperature,

"Air Temperature",

4,

"°C",

0.0,

90.0,

"F2"

);

Example without options:

define_double_event(

eventPercentage,

"Percentage",

,

,

,

,


);


*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_double_event(Identifier, "DisplayedName", optional_GroupNr, "optional_Unit", optional_Min, optional_Max, "optional_Formatter" );

define_double_event_id


Description:

Macro

Identifier

Displayed Name

Id

Sub Id

Group*

Unit*

Range Min*

Range Max*

Value Formatter*


Example using all options:

define_double_event_id(

eventAirTemperature,

"Air Temperature",

9,

2,

4,

"°C",

0.0,

90.0,

"F2"

);

Example without options:

define_double_event_id(

eventPercentage,

"Percentage",

9,

2,

,

,

,

,


);


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


Copy to your project:

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