04-20-2006 08:04 AM
04-20-2006 08:15 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
04-20-2006 08:32 AM - edited 04-20-2006 08:32 AM
Message Edited by vmallette on 04-20-2006 08:33 AM
04-20-2006 08:45 AM
04-20-2006 08:56 AM
04-20-2006 09:27 AM
We have two ears and one mouth so that we can listen twice as much as we speak.
Epictetus
04-20-2006 09:57 AM
04-21-2006
08:02 AM
- last edited on
10-19-2025
01:45 PM
by
Content Cleaner
If your criterion is "must be able to modify outside LabVIEW" and not "must be text", then I can highly recommend HDF5, a binary, hierarchical file format. It is a standard file format supported by most analysis packages (e.g. Matlab, Mathematica). You can convert HDF5 to XML (which you will need to do if you want to support Excel). If you are interested, you can get more information at the HDF5 web page. A LabVIEW API can be downloaded from here. Note that HDF5 is difficult to learn, but easy to use once you do.
Another good option is the LabVIEW TDM format. It does have a 3 level hierarchy limit, but that doesn't sound like it will effect you. Normal TDM is XML based, so you will have no problems reading it with a text editor (although there are binary forms as well, for efficiency). There is also an Excel plug-in available to read TDM. You can read and write TDM files in LabVIEW using the normal read/write measurement Express VIs or, with more control, with the storage VIs. TDM is the native file format of DIAdem, NI's data analysis and report generating software.
If you are interested in either of these approaches and need more information, let us know.
04-21-2006 09:17 AM
Even though my username isnt the same, it's still vmallette!
Thanks DFGray for the insight. You are right, my criteria is leaned more towards, "must be able to modify outside LabVIEW" and not "must be text", but I also have to keep in mind it has to be user friendly. HDF5 sounds perfect for this type of application, but what bothers me is that the software I am writting must be easily portable to other pc's, and easy to use for anyone. The idea anyone having to install dll's and needing MatLab etc just for reading configuration files sounds a tad excessive. I will look into it though! Also, TDM looks great too, but the 3 level hierarchy limit is a drag. I know I can use this now, but I want to keep flexibility if ever I wish to add levels of information.
Out of curiosity, do you have any LabVIEW code examples for HDF5?
Thanks again for the useful information!