11-02-2009 03:18 PM
Hello!
I am writing a save/load section for a Labview program. I write a few scalar parameters in the first segment of a measurement fil, then I write a few arrays of data. While loading, normally I want to read the pareameters first, and then read the data arrays.
The text file has correctly two segemnets with the data. However, when rading the lvm file, it reads the first segment again in the second reading. I have played with Reset options but I could not fix it. I have attached a word file with both save and load block diagrams. Am I doing this right?
Also a second issue is that I want to save two-dimensional arrays, but when it reads the file, each column is separated in the output signals.
Thank you,
-- Reza
11-03-2009 05:55 PM
Hi Reza,
I have been able to reproduce what you are seeing. I am looking into this further and will let you know what I find out. Thanks for your question!
Kristen H.
11-05-2009 11:55 AM
Thank you Kristen. Looking forward to your answer to this problem.
-- Reza
11-05-2009 12:24 PM
11-05-2009 02:42 PM
11-05-2009 03:41 PM
11-05-2009 05:41 PM
11-05-2009 07:10 PM
Hi Reza,
I believe this to be a bug and have reported it to R&D. However, for a workaround, do not include headers in your LVM file or use TDMS file type instead.
Kristen H.
11-06-2009 01:51 PM
Thank you Kristen. I tried binary tdms type as well, the same problem happens there (reading the first segment again). It may be helpful to know that TDMS fileviewer shows that the file has been save correctly.
-- Reza
11-09-2009 01:32 PM
Hi Reza,
I was able to plot both signals when I configured my TDMS file to have only one header. I'm guessing the one header per section issue is related to the LVM header issue. I will file another bug report to get that corrected. Sorry about the inconvenience.
Kristen H.