LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Query multiple TDMS Files

Hi,

 

I would like to evaluate the option of using TDMS files instead of an SQL database.

I will need to simply extract/query results that follow some conditions from multiple TDMS files.

 

I found many articles but could not find one example of how to extract data from multiple tdms files.

Should I have Data Finder or DIADEM ? or can I simply use LabVIEW ?

 

I am attaching a simple VI that generates 50 TDMS files (at the same folder as the VI), with "random" properties ('Title' and 'Type') and "random" data colums ('Temperature', 'Channel', 'Power').

Save the VI in a new folder and Run it. it will generate 50 TDMS files (see block diagram).

 

Now, considering those files, (for example) how can one extract only the the data where Test='Test2'  and Type='Type1' and (Temperature=25 or Power>0.4) ?

 

 

Amitai.

0 Kudos
Message 1 of 7
(3,709 Views)

You want to use DataFinder.  You can then use LabVIEW to do a querry through the DataFinder.  I'm sure there are examples floating around in the LabVIEW Example Finder.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 7
(3,698 Views)

Hi crossrulz

 

 

 

0 Kudos
Message 3 of 7
(3,683 Views)

I'm pretty sure it is included with the Professional.  I'm not sure about the other versions of LabVIEW.  If you install LabVIEW with your current license and it is installed, you are good to go.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 4 of 7
(3,668 Views)

The DataFinder toolkit is awesome when dealing with TDMS report indexing.  Lots of good stuff can be done with report look ups.  Find me a report that was made after this date, before this date, made on this PC, running this version of software, for a UUT ran in this nest location, with this operator name, that failed.  Queries like that can be made very easily once the indexing is complete.

 

As for pricing.  It is included with the developer suite, but I'm pretty sure it isn't included with any professional, or full package.  If you go to a page like the PID Fuzzy Logic Toolkit you'll see in bold at the top it says it is included with Full and Professional.

 

The DataFinder page doesn't have this.

 

Oh and there are several examples found in the Example Finder.  Download a trial and see if it is worth it.

0 Kudos
Message 5 of 7
(3,608 Views)

@Hooovahh wrote:

The DataFinder toolkit is awesome when dealing with TDMS report indexing.  Lots of good stuff can be done with report look ups.  Find me a report that was made after this date, before this date, made on this PC, running this version of software, for a UUT ran in this nest location, with this operator name, that failed.  Queries like that can be made very easily once the indexing is complete.

 

As for pricing.  It is included with the developer suite, but I'm pretty sure it isn't included with any professional, or full package.  If you go to a page like the PID Fuzzy Logic Toolkit you'll see in bold at the top it says it is included with Full and Professional.

 

The DataFinder page doesn't have this.

 

Oh and there are several examples found in the Example Finder.  Download a trial and see if it is worth it.


According to here, the DataFinder Toolkit is an add-on that is included in the Developer Suite.  So it looks like Hooovahh is correct.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 6 of 7
(3,595 Views)

aSquared wrote:

I found many articles but could not find one example of how to extract data from multiple tdms files.

Should I have Data Finder or DIADEM ? or can I simply use LabVIEW ?.


By the way, DIAdem uses the DataFinder for its querrying.  But I think you will need the DataFinder Toolkit in order to perform the querries in LabVIEW.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 7 of 7
(3,591 Views)