![Lightware MX2-16x16-DH-8DPi-A-R User Manual Download Page 84](http://html1.mh-extra.com/html/lightware/mx2-16x16-dh-8dpi-a-r/mx2-16x16-dh-8dpi-a-r_user-manual_1915446084.webp)
9. LW3 Programmers’ Reference
MX2-HDMI20 series – User's Manual
84
Applied firmware package: v1.7.0 | LDC software: v2.5.1b5
9.5.13.
Setting the Audio Mode
Command and Response
#audio #analogaudio
Ý
SET·/MEDIA/PORTS/VIDEO/
<in>
/EMBEDDEDAUDIO.AudioMode=
<audio_mode>
Ü
pw·/MEDIA/PORTS/VIDEO/
<in>
/EMBEDDEDAUDIO.AudioMode=
<audio_mode>
Parameters
Identifier
Parameter description
Parameter values
<audio_mode>
The current audio mode
OFF:
no audio in the video stream
HDMI:
the original audio is embedded in the video stream
ANALOG *:
the analog audio of the input port is embedded in
the video stream
*Analog audio properties appears only in
-Audio
suffixed models,
where there is an analog audio port beside the HDMI port.
Example
Ý
SET /MEDIA/PORTS/VIDEO/I1/EMBEDDEDAUDIO.AudioMode=OFF
Ü
pw /MEDIA/PORTS/VIDEO/I1/EMBEDDEDAUDIO.AudioMode=OFF
INFO: In case of
-A
or
-Audio
suffixed models, modifying the /MEDIA/PORTS/VIDEO/
<in>
/EMBEDDEDAUDIO.
AudioMode=
<audio_mode>
property will change the
/MEDIA/PORTS/VIDEO/
<in>
/ANALOGAUDIO.
AudioMode=
<audio_mode>
property.
9.5.14.
Sending CEC Commands Towards the Source
INFO: The hidden first 2 bit of the CEC command is static (always 04), it refers to the logical address of
the sender and the addressee.
0:
sender is a
TV
;
4:
the addressee is the
Playback Device 1
.
9.5.14.1.
Sending an OSD String
Sending the OSD string consists of two steps. First, set the CEC.OsdString property with the desired text,
after that, call the CEC.send(set_osd) method.
#cec
Step 1 – Setting the CEC.OsdString Property
Command and Response
Ý
SET·/MEDIA/PORTS/
<in>
/CEC.OsdString=
<text>
Ü
pw·/MEDIA/PORTS/
<in>
/CEC.OsdString=
<text>
The following characters are allowed as
<text>
parameter: Letters (A-Z) and (a-z), hyphen (-), underscore (_),
numbers (0-9), and dot (.). Max length: 14 characters.
Example
Ý
SET /MEDIA/PORTS/VIDEO/I1/CEC.OsdString=Lightware
Ü
pw /MEDIA/PORTS/VIDEO/I1/CEC.OsdString=Lightware
Step 2 – Call the CEC.send(set_osd) method
Command and Response
Ý
CALL·/MEDIA/PORTS/VIDEO/
<in>
/CEC:send(set_osd)
Ü
mO·/MEDIA/PORTS/VIDEO/
<in>
/CEC:send=OK
Example
Ý
CALL /MEDIA/PORTS/VIDEO/I1/CEC:send(set_osd)
Ü
mO /MEDIA/PORTS/VIDEO/I1/CEC:send=OK
9.5.14.2.
Sending a CEC Command in Text Format
Command and Response
Ý
CALL·/MEDIA/PORTS/VIDEO/
<in>
/CEC:send(
<command>
)
Ü
mO·/MEDIA/PORTS/VIDEO/
<in>
/CEC:send=OK
Example
Ý
CALL /MEDIA/PORTS/VIDEO/I1/CEC:send(power_on)
Ü
mO /MEDIA/PORTS/VIDEO/I1/CEC:send=OK
The followings are accepted as
<command>
:
image_view_on
standby
ok
back
up
down
left
right
root_menu
setup_menu
contents_menu
favorite_menu
media_top_menu
media_context_menu
number_0
number_1
number_2
number_3
number_4
number_5
number_6
number_7
number_8
number_9
dot
enter
clear
channel_up
channel_down
sound_select
input_select
display_info
power_legacy
page_up
page_down
volume_up
volume_down
mute_toggle
mute
unmute
play
stop
pause
record
rewind
fast_forward
eject
skip_forward
skip_backward
3d_mode
stop_record
pause_record
play_forward
play_reverse
select_next_
media
select_media_1
select_media_2
select_media_3
select_media_4
select_media_5
power_toggle
power_on
power_off
stop_function
f1
f2
f3
f4