Specifications

EssentialsofCrestronProgramming
84
AppleTVs
TheVirtualPresentationRoomfeatures2AppleTVservers.Thissectionwilldiscuss
howtouseBuffersymbolsfordevicesthatuseasharedsetofbuttons.Thetouchpanel
projectprovidesonesubpagethatcontainsthetransportcontrolsforanAppleTV
device.ThissubpagecanbecalledupbyeitherofthetwoAp
pleTVsourcesinthe
SIMPLprogram.TheBuffersymbolallowstheprogramtodeterminewhichAppleTV
sourcethetransportbuttonswillcontrol.
TheBuffersymbolcanbethoughtofasagatethatcanbeopenedorclosed,thus
controllingtheflowofda
ta.Whenthegateisopen,digitalsignalsareallowedtoflow
unalteredfromtheinputstothecorrespondingoutputs.Whenthegateisclosed,all
outputsignalsaresettologiclowandtheinputsignalshavenoeffectonthem.
Openingandclosingthegateishandledbythe<enable>input.Whenth
esignal
connectedtothisinputishigh,theBufferisenabled(thegateisopen),andwhenthis
signalislow,thesymbolisdisabled(thegateisclosed).
ThesourceselectbuttonpressforAppleTV1willbeconnectedtothe<enable>inputof
oneBuffersymbol,whilethebuttonpressforAp
pleTV2willbeconnectedtothe
<enable>inputofasecondBuffersymbol.WhenagivenBufferisenabledthetransport
controlsignalswillflowuninterruptedtothecorrespondingIRport.
NotefromtheexamplethatonlyoneBuffershouldbeenabledatanygiventime.Iftwo
Bufferswereenabledatonce,pressingthePLAYbuttonwouldcausemultiple
commandstobeissued,whichisnotwhatwewant.Therefore,theSIMPLprogram