Programming - Send Commands
86
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
?BMX
(Cont.)
The response returned is a series of custom events (one for each valid index) with the following syntax:
Custom.ID = Button Address Code
Custom.Type = 1018
Custom.Flag = 0
Custom.Value1 = Button state number
Custom.Value2 = Length of Custom.Text
Custom.Value3 = Index of bitmap (0-5)
Custom.Text = String that describes the bitmap name/justification. The text looks like:
"bitmapname,justification" If absolute justification is set, then the X and Y offset are appended to the
description
Justification values are:
absolute,X,Y
top-left
top-center
top-right
middle-left
middle-center
middle-right
bottom-left
bottom-center
bottom-right
scale-to-fit
Examples:
SEND_COMMAND Panel,"'?BMX-529,1'"
Gets the button 'OFF state' bitmap information (all index with a bitmap since index is unspecified).
Example response:
Custom Event 1:
Custom.ID = 529
Custom.Type = 1018
Custom.Flag = 0
Custom.Value1 = 1
Custom.Value2 = 34
Custom.Value3 = 1
Custom.Text = button-background.png,scale-to-fit
Custom Event 2:
Custom.ID = 529
Custom.Type = 1018
Custom.Flag = 0
Custom.Value1 = 1
Custom.Value2 = 26
Custom.Value3 = 2
Custom.Text = arrow.png absolute,200,100
Custom Event 3:
Custom.ID = 529
Custom.Type = 1018
Custom.Flag = 0
Custom.Value1 = 1
Custom.Value2 = 22
Custom.Value3 = 3
Custom.Text = img_icon,middle-center
For this case, 3 bitmaps are defined and 3 custom event s are sent as a response.
Содержание Modero G5
Страница 58: ...Settings Menu 48 Modero G5 Touch Panels Configuration and Programming ...
Страница 62: ...Gestures 52 Modero G5 Touch Panels Configuration and Programming ...
Страница 66: ...MXA MP and MXA MPL Programming 56 Modero G5 Touch Panels Configuration and Programming ...
Страница 138: ...Appendix B Bargraph Functions 128 Modero G5 Touch Panels Configuration and Programming ...
Страница 143: ...Appendix C Video Streaming Troubleshooting 133 Modero G5 Touch Panels Configuration and Programming ...