SignalExpress

cancel
Showing results for 
Search instead for 
Did you mean: 

writing file to .lvm results in repeated subheaders and time restart

Is there a way to generate .lvm files in Signal Express that capture a continuous signal?  I've output acoustic
measurement data in ascii/txt format, and the result is as I would expect:
 
TIME     Pressure1     Pressure2 ...
 
with no breaks due to sampling.  How can I get the same info into the .lvi without the repeated subheaders?
The problem is that when I read the .lvm back into SE, the samples are not a continuous measurement.
 
Thanks,
 
-J.A.L.

Message Edited by J.A.L. on 06-29-2007 04:32 PM

0 Kudos
Message 1 of 5
(6,702 Views)
Without your code, it is hard to tell, but you probably have the Segment Headers selection set to one header per segment.  Change it to one header only and you should be good to go.
0 Kudos
Message 2 of 5
(6,685 Views)
I looked for the "one header per segment" option, but didn't see it.  The only options that seem to be available in SE 2.0.0 Full
Save to ASCII/LVM dialogue are:
 
1) overwrite
2) overwrite once, then append to file
3) verwrite and backup file
4) append to file
5) next available file name
 
The only one that dumps all of the data to a single new file is #2, but it treats each sample as a separate measurement
with a subheader rather than a continuous mesurement.  I could put together a perl script to massage the output, but was
hoping to avoid the extra step.
0 Kudos
Message 3 of 5
(6,679 Views)
The option that was suggested above is not available for LVM. The reason is that the LVM headers include the number of samples in the file, but since the original header doesn't get updated while writing continuously, a new header gets created every time to show the accurate number of samples in that chunk of data. If you are willing to do without the full header information but only have signal names instead, you can select the "Export file type" to be "Generic ASCII (.txt), and then you can write to file in a continuous manner while only having the signal names at the top of the file.
 
Note that you'll probably have to modify the "Time Axis Preference" setting (only available when the export file type is Generic ASCII) to be "Relative Time" to match the LVM output.
 
Hope this helps.
Phil
 
Message 4 of 5
(6,673 Views)
Thanks, Phil.  I thought that might be the only route, now it's confirmed. -jal
0 Kudos
Message 5 of 5
(6,666 Views)