4.DeviceConcept
HDMI-TPS-TX200series–User'sManual
32
Appliedfirmwarepackage:v1.3.2b3 | LDCsoftware:v2.5.7b2
4.10.
GPIO Interface
The GPIO (General Purpose Input/Output) port is a multifunctional input/output interface to control the
transmitterorthird-partydevicesandperipherals.Youcanestablishconnectionbetweenthecontroller/
controllabledeviceandthetransmitterbythe8-polePhoenixconnector.Sevenpin'sdirectionisconfigurable
independently based on needs of the application.
GPIO Options - Example
The Concept
CeilinglampisturnedoffbyRelay1andprojectionscreenisrolleddownbyRelay2whensignalreceived
fromthePCovertheVGAinput.BothrelaysarecontrolledbytheGPIOport.
Settings of the Transmitter
▪
For Relay 1
:createaneventinEventmanager:whensignalispresentonInput1(I1)thensetGPIOpins
tolowlevelforRelay1opening.AlsocreateanothereventwhensignalisnotpresentonInput1(I1)
thensetGPIOpinstohighlevelforRelay1closing.
▪
For Relay 2
:createaneventinEventmanagerwhensignalispresentonInput1(I1)thensetGPIOpins
tohighlevelforRelay2closing.AlsocreateanothereventwhensignalisnotpresentonInput1(I1)
thensetGPIOpinstolowlevelforRelay2opening.
WhenthePCstartstoplaythevideopresentation,thesignalisreceivedovertheVGAinputsoGPIOpins
sendsignaltoRelay1toopenwhichresultsturningoffthelights.FurthermoreGPIOpinsalsosendsignal
toRelay2tocloseandtheprojectionscreenisrolleddown.Whenthepresentationisended,signalceases
ontheVGAinput,soGPIOpinssendsignaltoRelay1toclosewhichresultsturningonthelightsandsends
signaltoRelay2toopensoprojectionscreenreturnstoitsenclosure.
ATTENTION!
Pleasealwayschecktheelectricalparametersofthedeviceswhatyouwanttocontrol.The
maximumcurrentofoneGPIOpinis30mA,themaximumtotalcurrentforthesevenpinsis180mA.
SeetheLDCsettingsforGPIOportinthe
section.SeealsothedetailsabouttheEventManagersettings
in the
section.
4.11.
The Event Manager Feature
The Event Manager feature means that the device can sense changes on its ports and is able to react
accordingtothepre-definedsettings.LightwareDeviceControllercontainsauser-friendlysoftwaretooland
allowstocreateEventsbydefiningaConditionandanAction.
Event Manager example
Seemoreinformationaboutthesettingsinthe
Event M
The AND Operator
DIFFERENCE:
ThisfeatureisavailablefromFWpackagev1.3.0b6.
Thepracticalexperiencehasshownthatthereisaneedtoexaminemoreconditions(uptofour)asfollows:
ifoneofthesetconditionsbecomestrue(whiletheotherconditionsarefulfilled),thenthesetActionis
launched.Forexample,inameetingroomwehavethefollowingsituation:
▪
Signalispresentonaninputport,
▪
AGPIOpinstatebecomes’low’(byanexternaldevice).
If the two
Conditions
are present at the same time, the
Action
islaunched.Justcreatethetwo
Conditions
into
separate Events, then create a third Event, select the two
Conditions
anddefinethe
Action
.
Seethe
sectionforthesettingsinLDC.
Event Manager Variables
DIFFERENCE:
ThisfeatureisavailableonlyforSW4-TPS-TX240-PlusfromFWpackagev1.3.0b6.
Abrandnewareaisopenedbyimplementingthevariables.Youcancreatecustomvariablesinnumber
ortextformatwhichcanbeusedintheEventManager.Thevariablescanhavethefollowingproperties/
methods:
▪
Numeric(integer)typewithmin/maxvaluesetting,orstring-type(determinedautomatically)
▪
Increment/stepthenumericvalue,
▪
Value-dependentcaseoperations,
▪
ReadingandstoringthevalueofanLW3propertyintoastringoranumericvariable.
Thedefinedvariablesarestoredinanon-volatilememoryandthevalueiskeptincaseofareboot.The
newopportunitiesallowcreatingamonitoring/controllingsystemwithoutconnectinganadditionalcontrol
processor.
Seethe
sectionforthesettingsinLDC.