08-11-2014 06:29 AM
Hello,
I need some help in creating a 2D-array from some input-arrays
1) The string-array with three values should be in first postion
2) Then there is another 2D-array that contains 3 times 10 values.
I want to show now these ten values in the three columns.
How can this be done?
Thank you
Solved! Go to Solution.
08-11-2014 06:39 AM
Personally, I would use a table with the colum headers visible. You can then set your headers to be your first array.
As far as your numbers, use one of the functions in the String->Number/String Conversion palette to change your numbers into a string. Choose whichever conversion you need based on the format you want. You can then have a 2D array of strings to pass into your table.
Or if you insist on using an array, use Build Array to conbine your header array with your data array.
08-11-2014 06:45 AM - edited 08-11-2014 06:46 AM
Hi One,
after more than 600 post in the forum and so being titled an "Active Participant" you really ask for some (very) basic array operations?
Have you ever considered to take the LabVIEW beginner courses offered by NI on their website (for free)?
You want to build an array so you should use the BuildArray function…
08-11-2014 06:48 AM
The problem is that, if using "Build-Array", the values are going from left to right.And then they are not under the column-names.
It would be nicer if they are from top to bottom.
08-11-2014 07:12 AM - edited 08-11-2014 07:15 AM
08-11-2014 07:23 AM - edited 08-11-2014 07:25 AM
solved in previous reply
08-11-2014 07:26 AM
@OnlyOne wrote:
solved in previous reply
Then you should actually mark GerdW's post as a solution.