7.LW3Programmer'sReference
HDMI-TPS-TX200series–User'sManual
86
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
7.4.12.
Running a Macro
DIFFERENCE:
ThiscommandisavailableonlyforSW4-TPS-TX240-PlusfromFWpackagev1.3.0b6.
DEFINITION:
Macroisabatchofpre-definedcommandsstoredinthedevice.
#macro
Youcancreateyourcustommacrosinafile,uploadtothedeviceandrunatanytime.Theuploadingcanbe
doneoverLDC,seethe
UploadingNewMacrosintoaNewPreset
section.ThefollowingLW3commandis
suitableonlyforrunningamacro.
Command and Response
ç
CALL·/CTRL/MACROS:run(
<macro_name>
)
æ
mO·/CTRL/MACROS:run
Example
ç
CALL/CTRL/MACROS:run(Macro1)
æ
mO/CTRL/MACROS:run
7.5.
Cleartext Login Protection
DIFFERENCE:
This feature and the commands are available only for SW4-TPS-TX240-Plus from FW
packagev1.3.0b6.
Thiscleartextlogintoolallowssettingapasswordforlogin,thus,anychangeinthedevicecanbeperformed
onlyafterasuccessfullogin–comingfromanycontrolinterface(RS-232,Ethernet,etc…).Theloginisvalid
untilaTCPsocketbreakincaseofEthernetconnection.
#login
ATTENTION!
Iftheloginisenabled,theminiwebisnotavailable.
INFO:
Theloginpasswordiserasedandtheloginisdisabledwhenrestoringthefactorydefaultvalues.
Thefollowingcanbequeriedwithoutlogin:
▪
ProductName
▪
PartNumber
▪
SerialNumber
▪
FirmwareVersion
▪
PackageVersion
▪
MacAddress
7.5.1.
Setting the Login Password
Command and Response
ç
CALL·/LOGIN:setPassword(
<password>
)
æ
mO·/LOGIN:setPassword
Example
ç
CALL/LOGIN:setPassword(pr0t3ctED)
æ
mO/LOGIN:setPassword
7.5.2.
Login the Device
Command and Response
ç
CALL·/LOGIN:login(
<password>
)
æ
mO·/LOGIN:login
Example
ç
CALL/LOGIN:login(pr0t3ctED)
æ
mO/LOGIN:login
Afterasuccessfullogin,the
LoggedIn
property becomes
true
andtheLW3treeisavailable.
7.5.3.
Logout from the Device
Command and Response
ç
CALL·/LOGIN:logout(
<password>
)
æ
mO·/LOGIN:logout
Example
ç
CALL/LOGIN:logout(pr0t3ctED)
æ
mO/LOGIN:logout
Afterasuccessfullogout,the
LoggedIn
property becomes
false
andtheLW3treeisprotected.
7.5.4.
Enable the Cleartext Login Function
ATTENTION!
Thispropertycanbechangedonly,ifthe
LoggedIn
property is
true
.
Command and Response
ç
SET·/LOGIN:LoginEnable=
<login_state>
æ
pw·/LOGIN.LoginEnable=
<login_state>
Parameters
If the
<login_state>
parameter is
true
(or
1
),theCleartextloginfunctionis
enabled
, if the parameter is
false
(or
0
), the function is
disabled
.Pleasenotethatthefunctioncanbeenabledwithoutsettingapasswordbythe
setPassword
method.
Example
ç
SET/LOGIN.LoginEnable=true
æ
pw/LOGIN.LoginEnable=true