The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Doubly Devilish: Building Arrays of Clusters

SercoSteveB
Active Participant

Which of the following are possible contents of Array Out following execution of the VI?

 

NOTE:  Multiple answers may apply.

 

Building Arrays.png

 

Building Arrays Answers.png

Comments
nik35324
Member

D if the "output cluster" order for Numeric, String and Bool is 0,1,2 respectively. For others the run arrow is broken because two different cluster types are compared.

crossrulz
Knight of NI

D


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Matt-A.
Member

D

DaleR
Member

D

SriLalitha
Member

D

MrStevenUND
Member

D

Tsjabrantes
Member

D...

Tarciso Junior
+55 (11) 996-282-103
Skype: Tarciso.junior2
Email: Tsjabrantes@gmail.com
http://br.linkedin.com/pub/tarciso-junior/23/a83/463
SercoSteveB
Active Participant

Answer: D.  Nice one all.  A slightly different scenario to the previous post where all of the elements in the cluster were of the same data type.  In this post the difference in data data types works in our favour as we will get a broken arrow, as nik35324 points out, if the clusters are different.

 

i always use Bundle/Unbundle by Name in preference to Bundle/Unbundle as you avoid the issues seen in the previous post with the addition of a code readability benefit.

levonsg
Member

D

https://images.youracclaim.com/size/340x340/images/2edb5b1a-9414-44e1-8519-c774fc6dd079/36015_Certificate_Badges_FINAL__1__NI_Instructor_v5.png