LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Data Processing- Filter data in tdms using Labview

Hi,

 

I had wrote a program that save all the raw data in a tdms file. 

But I am facing problem to filter out those data that I wanted. (Please refer to tdms file attached) I need to filter out those rows that 'At Position' is 1, and save those data in another sheet in that tdms file for further data processing.

Can it be done in Labview?

 

I had also attached the Labview Code. Please go to the 'Data Collecting and Processing' Loop.

 

Appreciate your help.

 

Regards,

Lie Theng

 

 

Download All
0 Kudos
Message 1 of 2
(2,746 Views)

Hi Lie,

 

Can it be done in Labview?

Read the TDMS file using TDMS file functions.

Then apply a loop with a conditional output tunnel and use "At Position" as condition for that tunnel to filter your data…

 

There is no "ready-to-use" function for your task - but you can use all those LabVIEW functions to create a VI according to your requirements!

 

save those data in another sheet in that tdms file for further data processing.

There are no "sheets" in a TDMS file (even though Excel will display them in sheets)!

TDMS uses groups and channels…

But again: use the TDMS file functions to save your filtered data to a new TDMS file!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 2 of 2
(2,732 Views)