7. LW3 Programmers’ Reference
MMX6x2-HT series – User's Manual
54
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.
7.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.
7.2.
Protocol Rules
7.2.1. LW3 Tree Structure and Command Structure (Examples)
7.2.2.
General Rules
▪
All names and parameters are
case-sensitive
.
▪
The nodes are separated by a slash (‘/’) character.
▪
The node names are comprised of the elements of the English alphabet and numbers.
▪
Use the
TCP
port no. 6107
when using LW3 protocol over Ethernet.
▪
Node paths describe the exact location of the node, listing each parent node up to the root.
CALL /MEDIA/VIDEO/XP:switch(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
[...]
I1
I2
I3
I4
I5
I6
O1
O2
O3
O4
AUDIO
ETHERNET
IR
UART
EDID
SYS
PRESETS
EVENTS
MANAGEMENT
REMOTE
Î
Î
Î
Î
Video Port and Crosspoint Settings
Î
Î
Î
Message Sending via Ethernet Port
Î
Message Sending via RS-232 Serial Port
Î
Î
Î
Î