Specifications
EssentialsofCrestronProgramming
80
ThebuttonfeedbackfortheUpandDownbuttonsissimplymomentaryfeedback.The
buttonwilldisplayintheactivestateforaslongasthebuttonisbeingpressed.When
thebuttonisreleased,thebuttonfeedbackwillreverttotheinactivestate.Theonly
programmingthisfeedbacktyperequiresistotiethesa
mesignalnametoboththeinput
andoutputofthetouchpanelsymbol.
VolumeMuteFeedback
InthefollowingexamplethefeedbackfortheMutebuttonishandledbyaToggle
symbol.Aswell,theVolume_Muteoutputisconnectedtothe<clock>inputofthe
Toggle,thustogglingthebuttonfeedbackwitheachpressoftheMutebutton.In
addition,theVolumeUpandDownsignalsareputthroughanORsym
bol.Ifeitherof
thesesignalsgoeshigh,thiswillactivatetheoutputoftheORsymbol,thusdrivingthe
Togglesymbol’s<reset>inputhighandturningoffthemutebuttonfeedback.
VolumePreset
InadditiontotheVolumeUpandDownbuttons,theVTPro‐eprojectprovidesthree
VolumePresetButtonsthatsetthevolumeto25%,50%and75%.TheSIMPLprogram
accomplishesthisusinganAnalogInitializesymbol,whichsetsananalogsignaltoa
specificvalue.
However,asdiscussedearliertheAnalogIntital
izewillimmediately“step”theoutput
tothetargetvalue,andtheeffectcanbethatthevolumewillcuttooabruptly.Instead,a
smoothtransitionfromthecurrentvolumeleveltothepresetlevelisneeded.Inthiscase
theoutputoftheAnalogInitializeisroutedtoanAnalogRateLimiter,whichsmooths
outthetransitionasrequired.