7.LW3Programmer'sReference
7.1. Overview
TheLightware Protocol #3(LW3) isimplementedinalmostallnewLightwaredevices(matrixswitchers,
signal extenders and distribution amplifiers) since 2012.The protocol is ASCII-based and all commands
areterminatedwithacarriagereturn(Cr,'\r')andlinefeed(Lf,'\n')pair.Itisorganizedasatreestructure
thatprovidesoutstandingflexibilityanduser-friendlyhandlingwith'nodes','properties'and'methods'.The
Advanced ViewoftheLightwareDeviceControllersoftwareistheperfecttoolforbrowsingandlearninghow
theLW3protocolcanbeusedinpractice.
7.2. Instructions for the Terminal Application Usage
Terminal Application
TheLW2 protocol commands can be applied to the
receiver using a terminal application. You need to
install one of them to your control device, for example
Putty or CLI.
#terminal #new
Establishing Connection
Follow the steps for establishing connection to the
receiver:
Step 1. ConnectthereceivertoaLANoverEthernet.
Step 2. Opentheterminalapplication(e.g.Putty).
Step 3. Add the IP address of the device (default:
192.168.0.100)andtheport number (6107).
Step 4. SelecttheRaw connection type, and open the
connection.
Once the terminal window is opened, you can enter
theLW3protocolcommandswhicharelistedinthe
followingsections.
LW3 protocol command communication in a terminal window
HDMI-TPS-TX200series–User'sManual
7.3. Protocol Rules
7.3.1. LW3 Tree Structure and Command Structure (examples)
/
MEDIA
EDID
EVENTS
PRESETS
SYS
MANAGEMENT
REMOTE
[...]
7.3.2. General Rules
▪
All names and parameters are case-sensitive.
Thenodesareseparatedbyaslash('/')character.
▪
▪
ThenodenamecancontaintheelementsoftheEnglishalphabetandnumbers.
▪
UsetheTCP port no. 6107whenusingLW3protocoloverEthernet.
Whenacommandisissuedbythedevice,thereceivedresponsecannotbeprocessedbytheCPU.
▪
▪
Thenodepathsdescribetheexactlocationofthenode,listingeachparentnodeuptotheroot.
Appliedfirmwarepackage:v1.2.0 | LDCsoftware:v2.2.0
VIDEO
XP
SourcePortCount
SourcePortStatus
DestinationPortCount
Command type
DestinationPortStatus
[...]
(GET/SET/CALL/MAN)
I1
I2
O1
Command
O2
AUDIO
Response
UART
IR
ETHERNET
Prefixoftheresponse
CEC
66
Pathofthemethod/property
Method/property
Parameters
CALL /MEDIA/VIDEO/XP:switch(I1:O2)
mO /MEDIA/VIDEO/XP:switch
Method/property
Pathofthemethod/property