10-03-2011 08:42 AM
Hi everyone!I'm using labview to get some measurements but the acquired data must be stored (or converted) as .root format for further processing to be done.Has anyone done anything similar to guide me? Alternativelly,I could use .tdms files but can i use them with linux?
10-03-2011 08:55 AM
What is the .root format? As far as I know, NI still doesn't have functionality to read TDMS files on Linux machines from LabVIEW. I'm not 100% certain on this, though. As an alternative you could use .lvm files, which are just text files. I don't know if that's a viable format for you depending on how much data you have, and what progam is consuming the data. If it's not LabVIEW, then a simple text file written using the Write to Spreadsheet File may be the easiest solution.
10-03-2011 02:23 PM
Yes,i've used text files in the past but now the size of the generated files wil be enormous with the amount of data i have to store.I don't know many details about .root format but it's supposed to be a C-based structure with arrays and cells,i've just started looking into it.
I have to find a way,the stored data to be as compact as possible and in a way that they can be easily converted to .root format..
10-03-2011 06:00 PM
Do you have any documentation on this format?
10-04-2011 03:28 AM
I only have this example but i don't know much about C++ so it doesn't make much sense to me...I'm searching the internet to find more information.I have to study a lot about this...
10-04-2011 08:00 AM
That example is just a simple wrapper DLL for the actual library that reads/writes .root files, so it doesn't describe the format.