Programming
111
Modero G4 Touch Panels - Configuration and Programming
Streaming Video, MXA-MP/MPL Commands (Cont.)
^SLT
MXA-MP and MXA-MPL Command Set.
Syntax:
"'^SLT-<device>,<subcommand>'"
Examples:
^SLT-1,reboot=<current(default),previous,factory>
Variables:
Device = 1 (Device is always 1 for the MXA-MP and MXA-MPL, the only device type currently supported
by Modero X Series panels)
Subcommands:
Reboot the MXA-MP/L. If "current" is used, or if no parameter is given, it is a simple reboot. Other
parameters can tell the MP/L to change firmware loads as follows:
current - simple reboot (default)
previous - reboot and revert the MXA-MP/L the previously installed firmware
factory - reboot and revert the MXA-MP/L to the factory installed version.
^SLT-1,reboot=<current(default),previous,factory>
MXA-MPL Audio/video enable command. Sets the option to enable video, or both audio and video on
subsequent streams from the MXA-MPL.
^SLT-1,audiovideoenable=<video(default)|both>
Note: this command will take effect on the next Stream start. It can still be overridden in the ^SLT-1,start
command.
Set format, resolution and rate for MXA-MPL video, where:
format = <hdmi|dvi>
Resolution = <horizontal>x<vertical><i|p>@<rate>
^SLT-1,videomode=<format>,<resolution>
Turn on/off video input to the MXA-MPL.
^SLT-1,videoinput=<on|off>
Note: It is highly recommended that the ^SDM commands be used to start and stop video from the MXA-
MPL rather than the commands below. The SDM command will issue the start/stop to the MXA-MPL, as
well as starting/stopping the decoding side on the panel. The "audiovideoenable" command above can be
used to set the audio/video option that will be invoked in the processing of the ^SDM command.
MXA-MPL Start stream. Tells the MXA-MPL to start streaming video or both audio and video
(default=video, or the mode set by the "audiovideoenable" subcommand above).
^SLT-1,start=<video,both>
MXA-MPL Stop stream. Tells the Breakout Box to stop streaming.
^SLT-1,stop
Query the value of any status field reported by the MXA-MP/L, such as version, serialNo, macAddress,
inputInfo, streamInfo, type. Response is a custom event as follows:
CUSTOM.TYPE = EVENTID = 770
CUSTOM.ID = ADDRESS = 0
CUSTOM.FLAG = 0
CUSTOM.VALUE1 = Message ID (echoed 'id' value from query)
CUSTOM.VALUE2 = 0
CUSTOM.VALUE3 = 0
CUSTOM.TEXT = Value of the status field specified by 'statusField' in the query
?SLT-1,querystatus=<statusField>,[id]
While not necessary, creating video windows with width, height, and origin being
multiples of 16 is a good practice. If the width and height are not multiples of 16,
video could be cropped asymmetrically by the boundaries of the button.
The MXA-MPL only supports 2-channel stereo audio over HDMI.