欢迎来到天天文库
浏览记录
ID:47694223
大小:173.55 KB
页数:17页
时间:2019-10-24
《论文翻译备注》由会员上传分享,免费在线阅读,更多相关内容在工程资料-天天文库。
1、英语翻译原文备注:2.Clustersgrouplikeorunlikecomponentstogether.EquivalenttoarecordinPascalorastructinC.Clustercomponentsmaybeofdifferentdatatypes・Examples:Errorinformation一GroupingaBooleanerrorflag,anumericerrorcode,andanerrorsourcestringtospecifytheexacterror.Userinformation一Groupingastringi
2、ndicatingauser'snameandanIDnumberspecifyingtheirsecuritycode・Allelementsofaclustermustbeeithercontrolsorindicators・YoucannothaveastringcontrolandaBooleanindicato匚Clusterscanbethoughtofasgroupingindividualwires(dataobjects)togetherintoacable(cluster).3.Demonstratehowtocreateaclusterfro
3、ntpanelobjectbychoosingClusterfromtheArray&Clusterpalette・Thisoptiongivesyouashell(similartothearrayshellwhencreatingarrays)・Youcansizetheclustershellwhenyoudropit.right-clickinsidetheshellandaddobjectsofanytype・Note:Youcanhaveaclusterinsideofacluster.Theclusterbecomesacontroloranindi
4、catorclusterbasedonthefirstobjectyouplaceinsidethecluster.CreateaclusterconstantontheblockdiagrambychoosingClusterConstantfromtheClusterpalette・Thisgivesyouanemptyclustershell・Youcansizetheclusterwhenyoudropit.Putotherconstantsinsidetheshell・Note:Youcannotplaceterminalsforfrontpanelob
5、jectsinaclusterconstantontheblockdiagram,norcanyouplace"special"constantsliketheTaborEmptyStringconstantwithinablockdiagramclustershe11.4.YoucreateaclusterconstantontheblockdiagrambyselectingaclusterconstantontheFunctions»AllFunctions»Clusterpalette,placingitontheblockdiagram,anddragg
6、ingaconstantintotheclustershell.Ifyouhaveaclustercontrolorindicatoronthefrontpanelandyouwanttocreateaclusterconstantcontainingthesameelementsontheblockdiagram,youcaneitherdragthatclusterfromthefrontpaneltotheblockdiagramorright-clicktheclusteronthefrontpanelandselectCreate»Constantfro
7、mtheshortcutmenu.5.Elementsarcassignedanorderbasedontheorderinwhichtheyarcaddedtothecluster.Forexample,ifyouhavetwoBooleansandyouwanttoupdateoneofthem,youneedtoknowwhichiswhich.YoucanchangetheorderoftheelementsbypoppingupontheedgeoftheclusterandchoosingClusterOrder.Asmallnumberappears
8、nextt
此文档下载收益归作者所有