08-06-2012 01:58 PM
Hi All,
I am flattening a cluster to string by using flatten to string.vi. The cluster contains strings and arrays. The flattened string contains the length of the string appended to the string.
So, if I have a cluster with just 1 string and has value ="LabVIEW". the flattened string would be "0007LabVIEW". Flatten to string vi has a boolen input "prepend string or array size?". even if I set the boolean to false, it still adds the length of the string. Is this a bug?
Solved! Go to Solution.
08-06-2012 02:02 PM
I believe if you read the Detailed Help of the Flatten To String Function you will see this is not a bug. That boolean only applies to the top-level data, once you put something in a cluster or array, all bets are off.