6. LW3 Programmers’ Reference
HDMI20-OPTC series – User's Manual
42
6.1. Overview
The Lightware Protocol #3 (LW3) is implemented in almost all new Lightware devices (matrix switchers,
signal extenders and distribution amplifiers) since 2012. The protocol is ASCII-based and all commands
are terminated with a carriage return (Cr, ‘\r’) and line feed (Lf, ‘\n’) pair. It is organized as a tree structure
that provides outstanding flexibility and user-friendly handling with ‘nodes’, ‘properties’ and ‘methods’. The
Advanced View
of the Lightware Device Controller software is the perfect tool for browsing and learning how
the LW3 protocol can be used in practice.
6.2. Protocol Rules
6.2.1. LW3 Tree Structure and Command Structure (examples)
6.2.2. General Rules
▪
All names and parameters are
case-sensitive
.
▪
The nodes are separated by a slash (‘/’) character.
▪
The node name can contain the elements of the English alphabet and numbers.
▪
Use the
TCP
port no. 6107
when using LW3 protocol over Ethernet.
▪
When a command is issued by the device, the received response cannot be processed by the CPU.
▪
The node paths describe the exact location of the node, listing each parent node up to the root.
Ý
CALL /MEDIA/VIDEO/XP:switch(I1:O1;I1:O2)
Ü
mO /MEDIA/VIDEO/XP:switch
Command type
(GET/SET/CALL/MAN)
Prefix of the response
Path of the method/property
Path of the method/property
Method/property
Method/property
Parameters
Command
Response
/
MEDIA
VIDEO
XP
SourcePortCount
SourcePortStatus
DestinationPortCount
DestinationPortStatus
DestinationPortAutoselect
[...]
I1
I2
O1
O2
UART
ETHERNET
EDID
MANAGEMENT
PRESETS
[...]
LW3 Programmers’ Reference
The device can be controlled through Lightware 3 (LW3) protocol commands to ensure the compatibility with other
Lightware products. The supported LW3 commands are described in this chapter.
Î
Î
Î
Î
Video Port and Crosspoint Settings
Î
Î
Î
Sending Message via the Communication Ports
Î
Î