AMX Modero G5 Instruction Manual page 96

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

Advertisement

Programming - Send Commands
Button State Commands (Cont.)
?BMX
(Cont.)
86
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 Touch Panels - Configuration and Programming

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents