06-12-2018 02:57 AM
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
06-12-2018 03:11 AM
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!