08-20-2012 03:51 AM
Hello there.
I am trying to figure our a way to put String inputs into a table in left right and top bottom.
eg
string 1 goes to Row0Col0 (R0C0)
string 2 goes to R0C1
string 3 goes to R1C0
string 4 goes to R1C1
and so on.
I basically want to implement this in a larger VI which needs a report to be printed with data neatly spread out in rows and columns.
And the data is "String" and not numeric.
Can anyone help ?
Solved! Go to Solution.
08-20-2012 03:53 AM
A sample VI to make my point more clear ?
08-20-2012 04:05 AM
Hi Rohit,
You could try using the decimate 1D array to take alternate elements out of an array, and build this into a new array (see attached snippet).
Many thanks,
08-20-2012 04:18 AM
08-20-2012 04:30 AM - edited 08-20-2012 04:34 AM
@GerdW
Great !!!!!!!!
I was wondering if someone would ever answer a Newbie like me.
You were prompt and your solution was very straight and did exactly what i wanted to see in the result.
Thanks a lot.
Cheers.
08-20-2012 04:32 AM - edited 08-20-2012 04:35 AM
@Josh E
Thanks a ton.
Your solution was very easy.
But only problem was that I wanted String 2 to go to R0C1 and String 3 to go to R1C0.
The result was getting swapped.
So I interchanged the build array terminals and got my work done.
Thanks for the extremely prompt solution.
Cheets.