Bct; Bos - AMX Modero G5 Instruction Manual

X series g5 touch panels
Hide thumbs Also See for Modero G5:
Table of Contents

Advertisement

Programming - Send Commands
Button State Commands (Cont.)

?BCT

?BOS

82
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
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
Modero G5 Touch Panels - Configuration and Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents