LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read several lvm files into VI

Hello all,

 

I have a question about how to load several files into a VI. I have done a long measerement with a high samplerate so LabVIEW has made approximatelly 900 lvm files. I want to do two things. The first thing that I want to do, is to see chart/graph of the data with a scroll bar so I can look trough the data. The second thing that I want to do is write the same data (approximatelly 900 files) to lets say 20 files. So the samplerate is from 100 Hz to 0.2 Hz. Is that possible?

 

In the attachment I have put the VI that I currently have + one of the 900 files that I want to load.

 

Thanks in advance.

 

0 Kudos
Message 1 of 2
(2,005 Views)

Hello Mark,

 

I'm a bit confused about the situation:

- Although you're talking about 900 files I only see 1 file in your attachment (as you also mentioned in the post).

Do they all have the same format/sample rate (and amount of samples) in each column?

If not, then please provide the necessary examples, because I don't see your variation of 0.2 Hz to 100 Hz sample rate based on this file.

That left aside, merging files should always be possible (up to a certain point)

 

- Can you also provide the code you used to generate the lvm-files?

This will give some background information.

Especially beccause I don't see any metadata available in your lvm-files.

 

- Graph/Chart choice:

If you only want to see all data at once, then a graph would be the solution seeing that you are not interested in the data sets while they're loading and only in the full set of data. Please do also keep in mind the size of the data set you're loading.


If you want to plot all colums in the same graphg with different sample rates per channel/column, then a good idea would be a multiplot XY Graph.

However, here you will also have to keep the data set size in mind.

 

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 2 of 2
(1,980 Views)