Thanks for a great *.m file. I'm having a bit of trouble though, I'm trying to load a *.lvm file like this short 4KB example http://dl.dropbox.com/u/12840152/test18xy.lvm pretty standard 2011 *.lvm file I guess.
I) When I use the v1.2 lvm_import file as it is I get the same error as "Vepashka" above as "Error in ==> lvm_import at 357
data.(fieldnm).Comment = rawdata{numdatacols+2}{1};"
II) When I comment out the "consolidate into a simple array" part starting at line 349 and just keep the line 349 "data.data=rawdata" then I am able to complete the import
The only trouble with method II) is that my data.data struct is empty! Any help would be much appreciated as I'm struggling with my master thesis
when I downloaded this file a week before, it doesn't work for me. I just sent email to author, in reply I got very quick and brief solution. After couple of emails exchange, finally he sorted problem of
lvm_import('Data07v2.LVM');
Importing Data07v2.LVM:
??? Index exceeds matrix dimensions.
Error in ==> lvm_import at 164
val = v_in{1}{1};
for Labview prof 9.0.1 , NI scope 3.6 and Xp prof SP3.
Thanks for time and keep it up.
cheers
@Omar: good point. LabView creates an empty column with the label "X_Value" even if there is no X data in the file. The latest version of lvm_import ignores the label if there is no X data in the file.
The first cell in data.Segment1.column_labels is always the string 'X_Value' regardless of whether or not there is a time column in the lvm file. Is this intended?
Comment only