Specifications
EssentialsofCrestronProgramming
76
SourceSelectionFeedback
TheprogrammingforsourceselectionfeedbackutilizesanInterlock‐Togglesymbol,
whichincorporatesInterlockandTogglefunctionsinonesymbol.Thisisnecessary
becauseeachsourceselectbuttonwilltogglethecorrespondingtransportcontrol
subpageopenandclosed.Atthesametime,thebuttonsneedtobeinterlockedsothat
onlyonesubpagecanbeactiveaton
etime.TheInterlock‐Togglesymbolaccomplishes
thisbecauseittogglesthestateofagivenoutputhighandlowwitheachrisingedgeof
thecorrespondinginput,andalsointerlockstheoutputssothatonlyoneoutputcanbe
highatonetim
e(breakbeforemake).
Arisingedgeofthe<clear>inputimmediatelyforcesalloutputstozero.Thesignal
attachedtothisinputispartofthePowerOffeventandwillbediscussedlater.
SerialI/O
Uponselectingasource,thetouchpanelwilldisplayamessageindicatingthecurrently
selectedsource.Thestringisupdatedduringruntimeastheselectedso
urcechanges.
TheSIMPLprogramwillutilizetheSerialI/Osymboltosendstringsdynamicallytothe
touchpanel.
Asseenintheexample,eachofthesourceselectionbuttonpresseshasbeenroutedtoan
<in>inputontheSerialI/Osymbol.Ontherisingedgeofaninput,thecorresponding
string(indicatedintheparameterfield)willbetransmittedon<tx$>.The<tx$>outputis