Developer Center Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Read element of a 2D Array from Cluster

i must improve a VI that i s able to read a generic cluster in input and convert its elements in something of readable.

this cluster contains other element as boolean constant, boolean control, text string, dbl constant....

I need to read cluster and write all the elemet inside a document (text or something readable from an operator), as a report.

i try to follow the example of help desk of labview 8.6 NI_Example\foundamental\Array_and_Cluster\Flattened_String_to_Variant.

it's a nice example, but there is a problem with the 2D Array: the vi is able to write only the dimension of  2D array, while i need to write all the element of 2D array.  I search some controls to improve this function, but i failed.

So,  i'm waiting your help.


thanks,

Nicola

0 Kudos
Message 1 of 2
(5,149 Views)

Hi Nicola -

I'm not quite sure I understand your data structure. Do you have a 1-D array of clusters, and these clusters contain 2-D arrays (among other elements)? And you would like to able to convert this data structure to a variant, correct?

Chris Bolin
LabVIEW Partner Program, CLA
0 Kudos
Message 2 of 2
(3,488 Views)