04-05-2022 06:04 AM
Dear Members,
i am looking for VI TDMS file TDMS file open/create,Write,Close continuously till reaching taret file size.
Sequence of Operations are attached in imae file
Conditions are;
TDMS File size less than or equal to 50 MB
Close created TDMS file for every 5 minutes
Append the new data with existing data TDMS file
if TDMS File size greater than 50 MB, new TDMS file to be created
04-07-2022 09:55 AM
Hi gowthameie,
@gowthameie wrote:
i am looking for VI TDMS file TDMS file open/create,Write,Close continuously till reaching taret file size.
It seems you just need to start to implement your requirements in LabVIEW code.
As it's some time since you wrote your requirements: do you already have your VI available?
04-07-2022 07:44 PM
If you work out how many samples you can store in a file that is close to 50MB, then you can use the number of samples stored, rather than having to check the file size (which might be problematic if there is buffering involved). For example, you might determine that, with 8 channels in a group, you can store 10000 samples in a file and the filesize might be 45MB. So then , just store every 10000 samples in a new file.
04-11-2022 08:20 AM
Hi
Performing Data Acquisition 8 Channel High Sampling Rate (100 kHz/sec) and other 8 Channels with Sampling rate 1000/Sec.
TDMS file should have one group for High Sampling Channel and another group for low sampling rate.
(i.e) High sample channel data would be a separate sheet in one TDMS file and Low Sample channel data in a separate sheet of the same TDMS file
Any possible solution?
i was stuck on how to proceed.
04-11-2022 08:36 AM
I have a toolkit that might meet your needs. I posted the Tremendous TDMS toolkit over on VIPM.IO
It does a bunch of things but part of it is a set of classes for handling TDMS writing with file sizes, or a circular buffer. Here is a youtube video showing how it works.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord