How to Convert String Cluster Array to String Array?

Updated Oct 12, 2023

Reported In

Software

  • LabVIEW 2018

Issue Details

I have an array made of clusters; these clusters contain strings, as it can be seen in the following image
 

How can I convert this array of clusters to an array of strings?

Solution

To convert this array of clusters into an array of strings, you can use a For loop and a Unbundle by Name function.
 

The result of this code is the expected array of strings
 
 
 
Also, this code can be used for higher dimensions with a smaller modification, therefore, for a 2d array of clusters as input:
 

 
You can use this code
 

The output of this code is the expected 2d array of strings