Crestron CNX-BF12 Specifikace Strana 88

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 100
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 87
EssentialsofCrestronProgramming
88
Youcancollapseasymboltoshortenthesignal/parameterlist.Otherwisethevisible
fieldsmustbedefinedtocompletethesymbol.
Othersymbolsusedifferentcompleteness,e.g.,aBuffersymbol,whichmusthavean
outputdefinedforeverydefinedinput.(Thesesymbolsexpandtheinputs,outputsand
parameterstogetheriftheyarerelated.)
Youcancommentoutasymbolthatisincompleteandth
eincompletenessofthe
programgoesawayuntilthesymboliscommentedbackin.
YoucanalsoʺautocompleteʺasymbolbyusingtheMakeSymbolCompletecommand.
Thiswillautomaticallyassignthespecialsignalname“//”tounambiguoussignals,an
d
fillinallparameterswithadefaultvalueof0d.(Parametersthatrequires e lecting froma
listwillnotbeautomaticallydefined;suchparameters mustbeassignedmanuallyto
makethesymbolcomplete.)
Tomakeasymbolcomplete
Selectthesymbol,eitherinDetailVieworProgramViewandpressCtrl+I.
or‐
Rightcli
ckthesymbol,eitherinDetailVieworProgramViewandselectMake
SymbolComplete.
or‐
Tomakeallthesymbolsintheselectednodecomplete,rightclickthenode,e.g.,the
Logicfolderorsubsystem,andselectMakeSym
bolComplete.
Ifyoudonotwanttouseaninputoroutputofasymbol, youcangivethesignalthe
specialsignalnameʺ//ʺ.
Internally,thecompilerconvertseachinstanceofʺ//ʺtoa0orreservedsignalnamenot
beingusedelsewhereintheprogram,sothatthesymbol/modulewillworkproperly.
(Becauseeachinstanceofʺ//ʺisconvertedindivi
dually,noneoftheʺ//ʺsignalsare
connectedtogether.)
To assign the signal name //
Select the signal and type the two forward slashes //, adding no other characters to
the signal name.
Zobrazit stránku 87
1 2 ... 83 84 85 86 87 88 89 90 91 92 93 ... 99 100

Komentáře k této Příručce

Žádné komentáře