Specifications
EssentialsofCrestronProgramming
70
TheOneShotsymbolrespondstoarisingedgeonthe<trig>inputbydrivingtheoutput
signal(connectedto<out>)highforthedurationspecifiedbythedouble‐precision
<time>parameter.Theoutputsignalwillremainhighonlyforthisduration,regardless
ofwhatishappeningonthe<trig>input.Once<out>ha
sgonelow,thesymbolmaybe
re‐triggeredbyanotherrisingedge.Theoutput<out*>isthecomplementof<out>,just
aswesawwiththeTogglesymbol.
OneShotalsohasa<reset>input.ThisinputallowsyoutocancelaOne‐Shotoperation
thatisalreadyinprogress.Thatis,on
cetheoutputpulsehasstarted,theonlywayto
cancelitbeforethefull<pulse_time>haselapsedisbydrivingthe<reset>inputhigh.
ShownabovearetwoOneShot symbolsthataretriggeredoffbytheScreenUpand
ScreenDownbuttonpresses(s
inceonlyonerelaycanbeopenatatime),generatinga2‐
secondoutputpulsetodrivetherelaycommand.
DrapesControl
TheVirtualPresentationRoomusesasingle‐switch drapecontrollerforopeningand
closingthedrapes.Suchcontrollersoftenha
vealow‐voltagecontactclosureinterface:
closethecontactandthedrapesclose,openthecontactandthedrapesopen.Sincethe
touchpanelhastwobuttonsbeingroutedtoonerelay,weclearlyneedalatchingsignal
toconnecttotherelay.ASet/ResetLatchsymbolwillworkperfectlyfo
rthisapplication.
TheSet/ResetLatchsymbolimplementsthemostbasicmemoryelement,alsoknownas
aset/resetflip‐flop.Thesymbolhastwopossiblestates,referredto(oddlyenough)asset
andreset.Arisingedgeofthe<set>inputwillsetthelatchandcause<ou
t>togohigh.
Oncethistransitionisseentheoutputwillnotchangeuntilarisingedgeisseenonthe