Programming
178
VG Series Modero Touch Panels
"^" Button Commands (Cont.)
^BOP Set the button opacity. The button opacity can be specified as a decimal between 0 - 255, where zero (0)
is invisible and 255 is opaque, or as a HEX code, as used in the color commands by preceding the HEX
code with the # sign. In this case, #00 becomes invisible and #FF becomes opaque. If the opacity is set to
zero (0), this does not make the button inactive, only invisible.
Syntax:
"'^BOP-<vt addr range>,<button states range>,<button opacity>'"
Variable:
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).
button opacity = 0 (invisible) - 255 (opaque).
Example:
SEND_COMMAND Panel,"'^BOP-500.504&510.515,1,200'"
Example 2:
SEND_COMMAND Panel,"'^BOP-500.504&510.515,1,#C8'"
Both examples set the opacity of the buttons with the variable text range of 500-504 and 510-515 to 200.
^BOR Set a border to a specific border style associated with a border value for those buttons with a defined
address range. Refer to theTPD4 Border Styles by Name table on page 168 for more information.
Syntax:
"'^BOR-<vt addr range>,<border style name or border value>'"
Variable:
variable text address range = 1 - 4000.
border style name = Refer to theTPD4 Border Styles by Name table on page 168.
border value = 0 - 41.
Examples:
SEND_COMMAND Panel,"'^BOR-500.504&510.515,10'"
Sets the border by number (#10) to those buttons with the variable text range of 500-504 & 510-515.
SEND_COMMAND Panel,"'^BOR-500.504&510,AMX Elite -M'"
Sets the border by name (AMX Elite) to those buttons with the variable text range of 500-504 & 510-515.
The border style is available through the TPDesign4 border-style drop-down list. Refer to theTPD4 Border
Styles by Name table on page 168 for more information.
^BOS Set the video window slot ID # to the new Slot ID #. The new Slot ID # is set only if the specified slot is not
the same as the current slot selected. Pass-thru sets the pass-thru mode to On. This is an optional
parameter and ONLY passes data to the PC.
Syntax:
"'^BOS-<vt addr range>,<button states range>,<slot number>,<pass-thru>'"
Variable:
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).
slot number = 0 = No Video Fill
1 = Composite Video (Video Fill) (Video On)
1200V panels only have Slot 1 available.
2 = Component RGB
3 = Streaming Video.
pass-thru = Pass-thru disable = 0 or Pass-thru enable = 2.
Example:
SEND_COMMAND Panel,"'^BOS-500,1,1'"
Sets the button to display Composite video with no pass-thru.
Example:
SEND_COMMAND Panel,"'^BOS-500,1,2,1'"
Sets the button to display Component video with pass-thru enabled.
Refer to theVideo Slide-Out Menu section on page 122 for more information on the slot assignments
within a VG-Series panel.