06-10-2013 03:40 PM
Hi-
I'm having issues reading data from a Measurement File. 28 signals are merged together and saved to an LVM text file. When that file is loaded into the program, all values show up as NaN. I've looked at properties of the Read Measuement File.VI and it is reading values, however there are other things mixed in there as well - time, date, things like that. Basically I want to save a signal and replicate it exactly later on. Can I get some help?
Thanks in advance for any help.
Solved! Go to Solution.
06-10-2013 03:46 PM
Can you show us how you are writing to the file and how you are reading from the file?
06-10-2013 03:46 PM
You might be corrupting 28 signals data when you merge them to write to LVM file (or reading them back incorrectly). It would be difficult to say without looking at your VI and/or the output file.
06-10-2013 03:58 PM
Attached, Thanks.
I've tried saving as seperate signals but that yielded the same result. I aslo figured It would be pretty cumbersome to save and load back 28 seperate files, especially with a file dialog in play.
06-10-2013 04:24 PM
What happens if you uncheck "read generic text files"?
06-10-2013 04:54 PM
It greys out that whole lower half labeled "Generic Text File," including the Sample data chart.
06-10-2013 05:00 PM
@tidalwave62 wrote:
It greys out that whole lower half labeled "Generic Text File," including the Sample data chart.
... but does it read the data correctly? Have you tried?
(Note that you write it as lvm with a header, but read it as generic text file. This seems inconsistent)
06-10-2013 05:56 PM
Either way, data is not correct. I've tried it with and without headers, and tweaked other settings many many times.
06-10-2013 07:29 PM - edited 06-10-2013 08:10 PM
Can you attach a typical lvm file? How does it look like in e.g. notepad?
06-11-2013 10:37 AM
Here ya go.