LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

array of cluster to table

Solved!
Go to solution

Any  examples of creating a table from an array of clusters??  There is an example for going from a table to array of clusters.

Thanks.

0 Kudos
Message 1 of 5
(5,119 Views)

Hi Mark,

 

thoat would be a straight-forward way to convert an array of clusters into a 2D-array of strings (aka "table"):

 http://forums.ni.com/ni/attachments/ni/170/620569/1/check.png

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(5,112 Views)

Maybe I should have explained more.  My understanding was you used a cluster when you want to bundle elements of different types...ie strings,booleans, numeric.  I'm trying to create a pass/fail report to display to the operator at the end of the test.    I tried to follow your example but you can't create an array of diffrent elements.

 

 

Here is what I have:

 

 

0 Kudos
Message 3 of 5
(5,107 Views)
Solution
Accepted by topic author MarkDavid

Mark,

The table control wont take different types of data. Your best bet is to convert everything in to string.

Hope this helps.

regards,

aCe


CLA CTAChampionI'm attending the GLA Summit!
Subscribe to the Test Automation user group: UK Test Automation Group
Message 4 of 5
(5,089 Views)

That was the piece of the puzzle I needed.

Thanks everyone.

0 Kudos
Message 5 of 5
(5,082 Views)