
7. LW3 Programmers’ Reference
RAP-B511 series
– User's Manual
52
Query the Clicked Status
Command and Response
Ý
GET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.Clicked
Ü
pr·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.Clicked=
<clicked_nr>
Parameters
Identifier
Parameter description
<clicked_nr>
Gives feedback about the number of the quick button presses (max. 1 sec
between the presses). After the clicking, the value restores to default (0)
immediately. It can be set as a condition in the Event Manager when the trigger
should be e.g. a double click.
Example
Ý
GET /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.Clicked
Ü
pr /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.Clicked=0
Query the Longpress Status
Command and Response
Ý
GET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.LongPress
Ü
pr·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.LongPress=
<longpress_status>
Parameters
Identifier
Parameter description
Parameter values
<longpress_status>
True, when the button has been
pressing more than 1 sec.
true
: The button has been pressed more than 1sec.
false
: The button has been pressed less than 1 sec.
Example
Ý
GET /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.LongPress
Ü
pr /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.LongPress=false
7.6. Button LED Configuration
General parameters
Identifier
Parameter description
Parameter values
<LED_ID>
LED identifier (LED1 is behind the BUTTON1)
LED1-11
7.6.1.
Enable the Button LED
ATTENTION!
If the Button LED is not enabled, the following LED-related settings will not executed.
Command and Response
Ý
SET·/MANAGEMENT/UI/LEDS/
<LED_ID>
.Enabled=
<LED_enable>
Ü
pw·/MANAGEMENT/UI/LEDS/
<LED_ID>
.Enabled=
<LED_enable>
Parameters
<LED_enable>
true:
The button LED is allowed to light.
false:
The button LED is not allowed to light.
Example
Ý
SET /MANAGEMENT/UI/LEDS/LED11.Enabled=true
Ü
pw /MANAGEMENT/UI/LEDS/LED11.Enabled=true
7.6.2.
Set Background Light of the Button
Set the TrueFunction
Here can define how the LEDs behave, when the button is pressed or released. This property takes into
consideration the
Set the Button Interaction State
. If it is true (
<btn_ID>
.State=true), the LED will light
according to this setting.
Command and Response
Ý
SET·/MANAGEMENT/UI/LEDS/
<LED_ID>
.TrueFunction=
<light_mode>
Ü
pw·/MANAGEMENT/UI/LEDS/
<LED_ID>
.TrueFunction=
<light_mode>
Parameters
Identifier
Parameter description
Parameter values
<light_mode>
Type of the background light.
0
: Off
1
: Low brightness
2
: High brightness
3
: Blinking
4
: Slow blinking
5
: Sine pulse
Example
Ý
SET /MANAGEMENT/UI/LEDS/LED11.TrueFunction=1
Ü
pw /MANAGEMENT/UI/LEDS/LED11.TrueFunction=1