Programming - Send Commands
82
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
?BCT
Get Text Color Command. Get the current text color.
Syntax:
"'?BCT-<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).
custom event type 1013:
Flag - Zero
Value1 - Button state number
Value2 - Actual length of string (should be 9)
Value3 - Zero
Text - Hex encoded color value (ex: #000000FF)
Text length - Color name length (should be 9)
Example:
SEND COMMAND Panel,"'?BCT-529,1'"
Gets the button 'OFF state' text color information. The result sent to Master would be:
ButtonGet Id = 529 Type = 1013
Flag = 0
VALUE1 = 1
VALUE2 = 9
VALUE3 = 0
TEXT = #FFFFFEF
?BOS
Get Button State Video Fill.
The ? BOS queries a button state and returns the video fill value, including the URL and loop count.
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).
custom event type 1017:
Flag - Zero
Value1 - Button state number
Value2 - fill type value (0 = none, 1 = URL, 101 = MPL)
Value3 - Loop Count ( 0 = Infinite, >0 number of times to loop)
Text - Digital Video URL
Example:
SEND COMMAND Panel,"'?BOS-400,1'"
Gets the button with address code 'OFF state' video fill information. If the button state had been set to
URL video fill (either in TPD5 or via ^SDM command) with a URL of udp://234.4.4.2:5678, the result sent
to the Master would be:
ButtonGet Id = 400 Type = 1017
Flag = 0
VALUE1 = 1 (Off State)
VALUE2 = 1 (URL fill type)
VALUE3 = 0 (loop count = 0 which is infinite looping)
TEXT = udp://234.4.4.2:5678
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 ...