define_double_command


Description:

Macro

Identifier

Displayed Name

Function Identifier

Group*

Unit*

Range Min*

Range Max*


Example using all options:

define_double_command(

cmdSetBacklightVoltage,

"Set Backlight Voltage",

SetBacklightVoltage,

0,

"V",

0.0,

3.3

);

Example without options:

define_double_command(

cmdSetPercentage,

"Set Percentage",

SetPercentage,

,

,

,


);


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

define_double_command_id


Description:

Macro

Identifier

Displayed Name

Function Identifier

Id

Sub Id

Group*

Unit*

Range Min*

Range Max*


Example using all options:

define_double_command_id(

cmdSetBacklightVoltage,

"Set Backlight Voltage",

SetBacklightVoltage,

2,

56,

,0

"V",

0.0,

3.3

);

Example without options:

define_double_command_id(

cmdSetPercentage,

"Set Percentage",

SetPercentage,

2,

56,

,

,

,


);


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


Copy to your project:

define_double_command_id(Identifier, "DisplayedName", CommandFunction, Id, SubId, optional_GroupNr, "optional_Unit", optional_Min, optional_Max);