![Lightware UMX-HDMI-140 User Manual Download Page 119](http://html1.mh-extra.com/html/lightware/umx-hdmi-140/umx-hdmi-140_user-manual_1915487119.webp)
7. LW3 Programmers’ Reference
UMX-HDMI-140 series– User's Manual
119
Applied firmware package: v1.3.0b5 | LDC software: v2.5.6b2
7.19.2. Further Commands
Command and Response
ç
CALL·/MEDIA/CEC/
<port>
:send(
<command>
)
æ
mO·/MEDIA/CEC/
<port>
:send
Parameters
The
<port>
parameter means the video input (I1-I4) or video output (O1-O2) port. The following is accepted
as
<command>
:
image_view_on
standby
text_view_on
active_source
get_cec_version
set_osd
clear_osd
give_power_status
The
set_osd
command requires to send also another command, see the following section.
Example
ç
CALL /MEDIA/CEC/I2:send(standby)
æ
mO /MEDIA/CEC/I2:send
7.19.3.
Sending an OSD String
The OSD string sending consists of two steps. First, set the
OsdString
property with the desired text, then call
the
send
method.
Command and Response
ç
SET·/MEDIA/CEC/
<port>.
OsdString=
<text>
æ
pw·/MEDIA/CEC/
<port>
.OsdString=
<text>
ç
CALL·/MEDIA/CEC/
<port>
:send(set_osd)
æ
mO·/MEDIA/CEC/I2:send
Parameters
Parameter
Parameter description
Values
Value description
<port>
Video input or video
output port
I1-I4
Video inputs
O1
Video output
<text>
The desired OSD string
Letters (A-Z) and (a-z), hyphen (-), underscore (_),
numbers (0-9), and dot (.). Max length: 14 characters.
Example
ç
SET /MEDIA/CEC/I2.OsdString=Lightware
æ
pw /MEDIA/CEC/I2.OsdString=Lightware
ç
CALL /MEDIA/CEC/I2:send(set_osd)
æ
mO /MEDIA/CEC/I2:send
7.19.4. Sending CEC Commands in Hex Format
ç
CALL·/MEDIA/CEC/
<port>
:sendHex(
<hex_code>
)
æ
mO·/MEDIA/CEC/
<port>
:sendHex
Parameters
Parameter
Parameter description
Values
Value description
<port>
Video input or video output
port
I1-I4
Video inputs
O1
Video output
<hex_code>
The desired CEC command
Max. 30 character (15 byte) in hexadecimal format.
Example
ç
CALL /MEDIA/CEC/I2:sendHex(8700E091)
æ
mO /MEDIA/CEC/I2:sendHex
7.19.5. Querying the Last Received CEC Message
ç
GET /MEDIA/CEC/
<port>
.LastReceivedMessage
æ
pr /MEDIA/CEC/
<port>
.LastReceivedMessage=
<CEC_message>
Parameters
Parameter
Parameter description
Values
Value description
<port>
Video port
I1-I4
or
O1
<CEC_message>
The last incoming CEC message
from the connected device.
Example
ç
GET /MEDIA/CEC/I2.LastReceivedMessage
æ
pr /MEDIA/CEC/I2.LastReceivedMessage=give_power_status
TIPS AND TRICKS:
This property can be a condition in the Event manager. When the connected device
sends status information via CEC, it could be a trigger for an action.