LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Storage Issues

First, I want to ask: How many kinds of data storage method in LabVIEW?

My current system is probably generated data 200kb / s, each time I want to run 8 hours to 1 week. Which method is suitable to record data? thank you!

0 Kudos
Message 1 of 6
(3,650 Views)

I'm not sure what youa re asking.

 

You can store data in memory or in a file.

 

If it is a file you can store it either as ASCII readable characters or as binary data.

 

If it is binary, you can store it as integers or floating points, signed or unsigned, and various numbers of bits.  You can even store it as a more complex datatype such as a cluster of other datatypes.

 

200 kB /sec.  (I assume you want kilobytes and not kilobits ??  or was 200K samples/sec??) is quite a lot.  You will want to use the smallest number of bits that can still represent the resolution of data.  I'm going to assume that you are 16 bit data or smaller (14 bit, 12 bit).  So you should save it in a binary file as U16 or I16.  So now you would be 400 kB/sec.  One minute would be 24 MB  An hour =  1.44 GB.  A day = 34.56 Gb.  A week ~242 GB

0 Kudos
Message 2 of 6
(3,631 Views)

200 kb means 200 kilobytes. Just as you said, it's a lot of data. I want to save these data in a file. My data is floating points and strings.

 

As I know, LabVIEW has three methods of store data - save data in a binary file, use a database and use TDMS. I don't know which method is suitable for me to record data. I also want to ask if there are any other methods suitable for me to record data.

 

Thanks

帖子被opac在 11-01-2009 01:46 AM
时编辑过了
0 Kudos
Message 3 of 6
(3,603 Views)

TDMS writting is tested up to 1,2 Gbytes/sec !

You can write in parallel too.

 

One question is how you need to analize - view your data

0 Kudos
Message 4 of 6
(3,587 Views)
I want to analyse my data in Matlab. Of course, there is a lot of data. I would like to pick some from these data for analysis.
0 Kudos
Message 5 of 6
(3,558 Views)

If you use a binary file, you can only use the data in LanVIEW. It is very difficult to decode them and use them in Matlab.

 

So use TDMS. It is a standard format. I guess you can read those data in Matlab

0 Kudos
Message 6 of 6
(3,538 Views)