LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

TDMS file open/create,Write,Close continuously till reaching taret file size.

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

 

 

0 Kudos
Message 1 of 5
(1,839 Views)

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?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(1,797 Views)

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.

0 Kudos
Message 3 of 5
(1,788 Views)

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.

0 Kudos
Message 4 of 5
(1,768 Views)

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.

0 Kudos
Message 5 of 5
(1,765 Views)