laokang
-
Posts
3 -
Joined
-
Last visited
Never
Content Type
Profiles
Forums
Downloads
Gallery
Posts posted by laokang
-
-
There are two easy ways to approach this :
1/ Use the OpenG commander and use the package that handles variants.
There is a very useful function that writes a cluster immediatly to an INI file!!
(see this link: http://www.openg.org/content/category/4/67/45/)
2/ use the labview cluster to XML string and vice-versa approach.
Then write this XML string to a file / read the string from a file.
Oskar
Thanks, Oskar.
When I go to that OpenG link, it seems I should download something(openg_commander-2.0-alpha3.zip).
What is in that zip file and how to use it?
Maybe this is a stupid question. I am a newbie and have never heard of OpenG before.
Kang
-
I am new for LabVIEW. I have learned a lot from this forum. It's very helpful.
I have a cluster with several different data types (Number, String). Any simple way to save it to a spreadsheet? I have tried to change all the members to string type and write as an array.
I have some trouble to read strings from the saved file. How to read one string by another if several strings are saved in one line with only some "block" seperator between them?
Any other better solution?
Thanks.
How to save Cluster to a file?
in Database and File IO
Posted
For my case, write/read XML solves the problem. I am glad that the program looks simpler.
I will try the OpenG later. I believe it will be a great help if I want to be a good LabVIEW programmer.
Thanks, Oscar and Jim.