04-28-2009 10:06 AM
Hello,
in my vi I have a chart with 5 Plots displaying measurement data.
The user should be able to save all the history data from the chart at anytime. (e.g. the user watches the chart and some event happens, then he presses a "save"-button)
I know, that I can read out the history data with a property node. That is not the problem. The problem is, how do I handle the data? The type of the history data is a 1-D array of cluster of 5 elements.
I have to convert that data somehow into a 2 D-array of numbers or strings, so that I can easily save it in a text-file.
How do I convert a 1-D array of cluster of 5 elements into a 2-D array of numbers?
I use LabVIEW 7.1
Johannes
Solved! Go to Solution.
04-28-2009 10:14 AM - edited 04-28-2009 10:14 AM
04-28-2009 10:30 AM - edited 04-28-2009 10:39 AM
Gerd,
thank you for the quick response and the easy solution.
Look what I did in the meantime. I solved the problem too, but muuuch more complicate 🙂
And I have converted the numbers to strings, so that I can easily write them into a spreasheet file.
Johannes
04-28-2009 10:35 AM
04-28-2009 10:36 AM
If you want us to see your picture, you must attach the image file to your post. Your embedded image is located on your hard drive, and we can't access that.
04-28-2009 10:42 AM
04-28-2009 10:56 AM
Johannes,
There is no need to use 'Convert Number to Decimal String' at all and even if you did, it's the wrong function. Write to Spreadsheet uses a 2D DBL input.
04-28-2009 11:23 AM
Hi Dennis,
Johannes is using LV7.1 - I can't check the availability of "Write to spreadsheet" nor it's functionality right now at home (only LV8.5 available)...
Nevertheless Johannes should know that the "number to string" functions also take arrays...
04-28-2009 11:33 AM