Programming - Send Commands
92
Modero G5 Touch Panels - Configuration and Programming
Button State Commands (Cont.)
^SDM
Button State Streaming Digital Media Command.
Starts or stops a streaming session. Stream starts if a valid URL is specified and stops if server URL string is
empty or invalid. To use this command, the current page should have one visible streaming button.
Syntax:
"'^SDM-<addressArray>,<stateArray>,<URL>'"
Variables:
URL =
<protocol://><host name or host ip><:video port><:optional audio port>
URL for connected MXA-MPL =
UDP://169.254.11.12:5700
Protocol could have the following values:
udp = MPEG2 transport stream over UDP
http = Motion JPEG (JFIF format over MIME Multipart) [Modero X Series Panels Only]
rtpmpeg2 = MPEG2 elementary stream over RTP/RTCP [Modero X Series Panels do not support]
rtpmpeg4 = MPEG4 elementary stream over RTP/RTCP [Modero X Series Panels do not support]
If the optional audio port is not specified, video port + 2 is used for audio.
URL for USB drive attached to the panel =
"'^SDM-<Address range>,<State range>,file:///udisk/path_to_video_file_on_usb_drive'"
The 'file:///udisk/' must be exactly as documented (there must be three '/' characters after the 'file:').
Example:
SEND_COMMAND Panel,"'^SDM-400,1,file:///udisk/Video-Clip.mp4'"
Example:
SEND_COMMAND 10001:2:0,"'^SDM-10,2,udp://234.4.0.4:5500'"
Sets ON state to play video on multicast address.
SEND_COMMAND 10001:2:0,"'^SDM-10,1,cam://local'"
Sets OFF state to play camera.
SEND_COMMAND 10001:2:0,"'^SDM-10,1,stop'"
Stop playing the current video.
SEND_COMMAND 10001:2:0,"'^SDM-10,1,'"
Stop playing the current video.
SEND_COMMAND 10001:1:0,"'^SDM-10,1,udp://169.254.11.12:5700'"
Start playing the current video.
Note: When using the variable "udp," this must be in lower case.
^TEC
Set Text Effect Color Command.
Set the text effect color for the specified addresses/states to the specified color.
The Text Effect is specified by name and can be found in TPD5. You can also assign the color by name or RGB
value (RRGGBB or RRGGBBAA).
Syntax:
"'^TEC-<vt addr range>,<button states range>,<color value>'"
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).
color value = Refer to
RGB Triplets and Names For Basic 88 Colors
on page 114 for more information.
Example:
SEND_COMMAND Panel,"'^TEC-500.504&510.515,1&2,12'"
Sets the text effect color to Very Light Yellow on buttons with variable text 500-504 and 510-515.
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 ...