Programming - Send Commands
88
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
?BOS
Query Button State Video Fill Command.
Get the current button state video fill.
Syntax:
"'?BOS-<vt addr range>,<button states range>'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and
2 = On state).
The response returned is a custom event with the following syntax:
Custom.ID = Button Address Code
Custom.Type = 1017
Custom.Flag = 0
Custom.Value1 = Button state number
Custom.Value2 = video state
Custom.Value3 = 0
Custom.Text = String that has the value of the video state
Examples:
SEND_COMMAND Panel,"'?BOS-560,1'"
Gets the button "OFF state" video fill.
Example response:
Custom Event 1:
Custom.ID = 560
Custom.Type = 1017
Custom.Flag = 0
Custom.Value1 = 1
Custom.Value2 = 1
Custom.Value3 = 0
Custom.Text = 1
The button state has a URL video fill.
^BSP
Set Button Size and Position Command. Set the button size and its position on the page.
Syntax:
"'^BSP-<vt addr range>,<left>,<top>,<right>,<bottom>'"
Variables:
variable text address range = 1 - 4000.
left = position of left edge of the button on the panel
top = position of the top edge of the button on the panel
right = position of right edge of the button on the panel
bottom = position of the bottom edge of the button on the panel
Example:
SEND_COMMAND panel,"'^BSP-530,20,100,50,130'"
Makes the button with variable text address 530 appear at (20,100) and be 30px by 30px
^BWW
Button State Word Wrap Enable/Disable.
Set the button word wrap feature to those buttons with a defined address range. By default, word-wrap is Off.
Syntax:
"'^BWW-<vt addr range>,<button states range>,<word wrap>'"
Variables:
variable text address range = 1 - 4000.
button states range = 1 - 256 for multi-state buttons (0 = All states, for General buttons 1 = Off state and
2 = On state).
word wrap = (0=Off and 1=On). Default is Off.
Example:
SEND_COMMAND Panel,"'^BWW-500,1,1'"
Sets the word wrap on for the button's Off state.
Summary of Contents for Modero G5
Page 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Page 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Page 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Page 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...