Programming - Send Commands
84
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
?BMP
Query State Bitmap Command.
Get the current bitmap name.
Syntax:
"'?BMP-<vt addr range>,<button states range>,[index]'"
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).
Optional index = 0 - 5 The index of the bitmap to query. If not specified, the first valid bitmap is returned , but
a chameleon image is excluded. The indexes are defined as:
0 - Chameleon Image (if present)
1 - Bitmap 1
2 - Bitmap 2
3 - Bitmap 3
4 - Bitmap 4
5 - Bitmap 5
The response returned is a custom event with the following syntax:
Custom.ID = Button Address Code
Custom.Type = 1002
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 represents the bitmap name
Example:
SEND_COMMAND Panel,"'?BMP-529,1'"
Gets the button
"
OFF state
"
bitmap information (index 1 since index is unspecified).
Example response:
Custom.ID = 529
Custom.Type = 1002
Custom.Flag = 0
Custom.Value1 = 1
Custom.Value2 = 9
Custom.Value3 = 1
Custom.Text = Buggs.png
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 ...