The Daily CLAD

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

Re: Cluster to Array Node

SercoSteveB
Active Participant

What are the contents of 'Array Out' following execution of the VI?

Cluster to Array.bmp

Cluster to Array Answers 2.bmp

Comments
Kumarhatti
Member

Ans is : b

ambaum01
Member

b

Aaron M. Baumer
crossrulz
Knight of NI

B



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
RAMESHB
Member

Ans is -- B

MrStevenUND
Member

B

Asha_Nagaraj
Member

Ans is B

sumapatil
Member

Ans is B

jagadishj
Member

The Ans is: B

mini09
Active Participant

Bingo B as well....

SercoSteveB
Active Participant

Answer: B.  Nice one Kumarhatti, ambaum01, crossrulz, RAMESHB, MrStevenUND, Asha_Nagaraj, sumapatil, jagadishj & gnshmrthy.

A little bit easy that one.  One question springs to mind; why is there no default value for Cluster to Array?

crossrulz
Knight of NI

SercoSteveB wrote:


                       

A little bit easy that one.  One question springs to mind; why is there no default value for Cluster to Array?


                   

Because the compiler knows how many elements are in the cluster.  It therefore knows how big of an array to make.

When going to the cluster, the compiler has no clue how many elements to put in the cluster since arrays can be dynamic in length.



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
SercoSteveB
Active Participant

Nice one GM.  CTAATCM (Cluster to Array - Array to Cluster Master) doesn't have the same ring to it.

This post and the previous one use constants (arrays and clusters) as inputs to the Cluster to Array and Array to Cluster nodes, which is slightly misleading as it suggests that the inputs to the nodes are always constant.  I chose input constants to simplify the delivery of the question (no need to show the Front Panel). 

In reality it is only the structure of the input Cluster that is fixed, the array size, as crossrulz says, is dynamic and will vary.

crossrulz
Knight of NI

SercoSteveB wrote:


                       

Nice one GM.  CTAATCM (Cluster to Array - Array to Cluster Master) doesn't have the same ring to it.

I would say use LVM (LabVIEW Master), but that sounds a little arrogant.



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
SercoSteveB
Active Participant

LVM is already taken

adiveppa
Member

Ans is B

beautyandbrains
Member

B

ashwinilele
Member

B