6.LW2Programmer'sReference
HDMI-TPS-TX200series–User'sManual
69
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
6.3.
General LW2 Commands
6.3.1. Querying the Supported Commands
TheLW2commandssupportedbythedevicecanbequeriedbythiscommand.
Command and Response
#producttype
{LCMD}
(LCMD#
<command>
:
<description>
)CrLf
...
(LCMDEND)CrLf
Example
{lcmd}
(LCMD#LCMD:Listallcommands)
(LCMD#PING:AlwaysresponsePONG)
(LCMD#CT:Compiletime)
...
(LCMDEND)
INFO:
Theresponseislonger,notallthelinescanbeseenintheexample.
6.3.2.
View Product Type
The device responds its name.
Command and Response
{i}
(I:
<PRODUCT_TYPE>
)CrLf
Example
{i}
(I:SW4-TPS-TX240)
6.3.3.
View Device Label
Thedevicerespondsitslabel-notthesameasproducttype.ThedevicelabelcanbechangedinLDC
orbyLW3command,seethe
Command and Response
{LABEL}
(LABEL=
<DEVICE_LABEL>
)CrLf
Example
{label}
(LABEL=TX_OFFICE)
6.3.4. Query Control Protocol
The device can be controlled with different control protocols. This command queries the active protocol of
the currently used control interface.
Command and Response
{P_?}
(CURRENT•PROTOCOL•=•#
<protocol>
)CrLf
Example
{P_?}
(CURRENTPROTOCOL=#1)
ThedevicecommunicateswithLW2protocol.
6.3.5.
View CPU Firmware Version
Command and Response
#firmwareversion
{f}
(FW:
<FW_VER>
•
<s>
)CrLf
Parameters
<FW_VER>
istheCPUfirmwareversion.Itisfollowedby
<s>
stringwhichmayindicatespecialversions.
Example
{f}
(FW:1.2.0b12r25)
6.3.6.
Connection Test
Simpletesttoseeiftheconnectionisestablishedsuccessfully.
Command and Response
{PING}
(PONG!)CrLf
Example
{ping}
(PONG!)