7. LW3 Programmers’ Reference
RAP-B511 series
– User's Manual
51
7.5.6.
Button Status Indicators
Query the Latch
Command and Response
Ý
GET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.Latch
Ü
pr·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.Latch=
<btn_latch_status>
Parameters
Identifier
Parameter description
Parameter values
<btn_latch_status>
When the button is pressed, the latch property toggles
between true and false values every time. This
property operates independently of the
.
True
or
False
.
Example
Ý
GET /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.Latch
Ü
pw /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.Latch=false
Query the Actual Status
Command and Response
Ý
GET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.ActualStatus
Ü
pr·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
/BUTTON.ActualStatus=
<btn_status>
Parameters
Identifier
Parameter description
Parameter values
<btn_status>
Shows if the button is pressed or
not at the moment.
up
: The button is not pressed at the moment.
down
: The button is pressed at the moment.
Example
Ý
GET /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.ActualStatus
Ü
pr /MANAGEMENT/UI/BUTTONS/BUTTON1/BUTTON.ActualStatus=up
7.5.4.
Set the Button Interaction State
This property gives immediate feedback about the button status, which changes depending on the button
mode. When the button function is configured with Lightware Device Controller Software, this parameter is
set as a Condition in the Event Manager.
Command and Response
Ý
SET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.State=
<btn_state>
Ü
pw·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
.State=
<btn_state>
Parameters
Identifier
Parameter description
Parameter values
<btn_state>
Button state
true
or
false
: It gives a feedback about the current state
of the button, which changes depending on the
Example
Ý
SET /MANAGEMENT/UI/BUTTONS/BUTTON1.State=true
Ý
pw /MANAGEMENT/UI/BUTTONS/BUTTON1.State=true
7.5.5.
Set the Button Name
Command and Response
Ý
SET·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
. Name=
<btn_name>
Ü
pw·/MANAGEMENT/UI/BUTTONS/
<btn_ID>
. Name=
<btn_name>
Parameters
Identifier
Parameter description
Parameter values
<btn_name>
Button name
The button name can be 33 character-long,
ASCII characters are allowed. Longer names are not accepted.
Example
Ý
SET /MANAGEMENT/UI/BUTTONS/BUTTON1.Name=Projector on
Ý
pw /MANAGEMENT/UI/BUTTONS/BUTTON1.Name=Projector on