10-31-2009 11:00 AM
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!
10-31-2009 01:33 PM
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
11-01-2009 01:45 AM - edited 11-01-2009 01:46 AM
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
11-01-2009 08:54 AM
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
11-02-2009 06:47 AM
11-02-2009 09:35 AM
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