06-07-2018 11:30 AM
Hi,
How i can to convert the 2D array in labview to 2Da rray string like in the C/C++/JS like this but in a dynamic way!
Thank you for your help!
Solved! Go to Solution.
06-07-2018 11:39 AM
That's a simple formatting question, right? Do you want a 3x3 solution or an universal solution?
I would autoindex on an FOR loop, use "array to spreadsheet string" with comma as delimiter on each row (1D array), pad with brackets, autoindex the outputs and repeat on the 1D string array after the FOR loop once more. See how far you get.
06-07-2018 11:42 AM
Thank you for your response but i searsh an universal solution(dynamic), I wanted to know if there was already someone who made this application.
06-07-2018 11:43 AM - edited 06-07-2018 11:45 AM
My solution IS an universal solution that works on any size array. Have you tried?
(Please explain your use of the word "dynamic". It's ambiguous here)
06-07-2018 11:47 AM
not yet I'll try it and I'll keep you informed thank youuu
06-07-2018 11:53 AM - edited 06-07-2018 12:01 PM
Here's how it could look like. Works for any size, even non-square arrays. Change the format for other numeric types (DBL, etc.)
06-07-2018 01:37 PM
it work thank youuuuu very much.