Duratech DA05 WinCE Uživatelský manuál Strana 26

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 41
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 25
UniversitàdegliStudidiCatania
IntroductiontoNILabVIEW
LabVIEWGLanguage:Clusters
Likeanarray,acluster isadatastructurethatgroupsdata.However,unlikeanarray,aclustercan
groupdataofdifferenttypes(i.e.,numeric,Boolean,etc.);itisanalogoustoastruct inCorthedata
membersofaclassinC++orJava.
Becauseaclusterhasonlyone"wire"intheblock
diagramclustersreducewireclutterandthe
numberofconnectorterminalsthatsubVIs need
Youcanaccessclusterelementsbyunbundlingthemallatonceorbyindexingoneatatime,
dependingonthefunctionyouchoose;eachmethodhasitsplace
Unlikearrays,whichcanchangesizedynamically,clustershaveafixedsize,orafixednumberof
wiresinthem.
Youcanconnectclusterterminalswithawireonlyiftheyhaveexactlythesametype;inother
words,bothclustersmusthavethesamenumberofelements,andcorrespondingelementsmust
matchinbothdatatypeandorder.
Bundle Unbundle
DIEEI
Zobrazit stránku 25
1 2 ... 21 22 23 24 25 26 27 28 29 30 31 ... 40 41

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

Žádné komentáře