Bmp - 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.)

?BMP

84
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
"
Example response:
Custom.ID = 529
Custom.Type = 1002
Custom.Flag = 0
Custom.Value1 = 1
Custom.Value2 = 9
Custom.Value3 = 1
Custom.Text = Buggs.png
bitmap information (index 1 since index is unspecified).
"
Modero G5 Touch Panels - Configuration and Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents