Programming
62
AXB-TPI/3 Touch Panel Interface 3
Shorthand Variable Text Commands (Cont.)
@BMF
Sets multiple
attributes to a
button, slider, or
gauge by sending
embedded codes
and data.
Allows buttons to be moved and re-sized.
This command allows you to program up to 12
attributes on one command line.
Syntax:
"'@BMF',<variable text address>,’<attribute data>'"
Variables:
variable text address = 1 - 255.
attrubute data:
’%R,<left>, <top>, <right>, <bottom>’ = Sets the Rectangle position.
’%B’,<border styles> = See the Border Styles and Programming Numbers table on
page 51.
’%F’,<font styles> = See the Font Styles and Programming Numbers table on page 50.
’%T’,<button text > = ASCII characters (empty is clear)
’%P’,<bitmap> = Bitmap filename (empty is clear)
’%I’,<icon> = 1 - 255 (icon numbers are assigned in TPDesign3 project file)
’%J’,<text alignment> = 1 - 9 as shown the following alignment chart
For %C1-%C6, see the Colors and Programming Numbers table on page 50
’%C1’,<on-state fill color>
’%C2',<off-state fill color>
’%C3’,<on-state border color>
’%C4’,<off-state border color>
’%C5’,<on-state text color>
’%C6’,<off-state text color>
Example:
SEND COMMAND Panel,"'@BMF',255,’%T POWER |ON’
’%B’,’4’,’%C1’,’72'"
Sets the text on button 255 to POWER ON (appears on two lines), adds a triple-line bor-
der, and sets the On-state color to White.
@BOR
Set the border
style on a button.
Syntax:
"'@BOR',<variable text address>,<border style>"
Variables:
variable text address = 1 - 255.
border style = See the Border Styles and Programming Numbers table on page 51.
Example:
SEND COMMAND Panel,"'@BOR',65,11"
Sets the border style to Double shadow on button 65.
@BOS
Set the video
window Slot ID to
the new Slot ID.
This works only if the specified slot is not the same as the current slot selected.
Syntax:
"'@BOS',<variable text address>,<slot number>"
Variables:
variable text address = 1 - 255.
slot number = 1 - 3.
Example:
SEND COMMAND Panel,"'@BOS',2,3"
Sets the variable text video button 2 to show Slot 3 video.
1
4
7
8
9
6
3
2
5
Содержание AXB-TPI/3
Страница 1: ...instruction manual Touch Panels and Accessories AXB TPI 3 Touch Panel Interface 3 Firmware version G3 ...
Страница 6: ...iv AXB TPI 3 Touch Panel Interface 3 Table of Contents ...
Страница 32: ...TPI Configuration and Usage 26 AXB TPI 3 Touch Panel Interface 3 ...
Страница 72: ...Programming 66 AXB TPI 3 Touch Panel Interface 3 ...
Страница 79: ...Upgrading the Firmware 73 AXB TPI 3 Touch Panel Interface 3 9 Press F10 to exit the SoftROM program ...
Страница 80: ...Upgrading the Firmware 74 AXB TPI 3 Touch Panel Interface 3 ...
Страница 84: ...Troubleshooting 78 AXB TPI 3 Touch Panel Interface ...
Страница 87: ...Appendix 81 AXB TPI 3 Touch Panel Interface ...