DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to use the data finder to query the maximum and minimum values from an indexed channel without loading the whole tdms file

I know that properties can by queried using the data finder. I have a cRIO that is writing data to .tdms files and I would like to selectivley query or filter query results based on the maximum and minimum values of certain channels. I would like to do this without loading the data into DIAdem. I see that there is a preview window of the channel in the data finder window, is this information accessable? What would be the best way to accomplish my goal. 

 

My last resort will be to have the LabVIEW program running on the cRIO calculate the minimum and maximum values and explicitly set them on the channel.

 

Thanks for your help

0 Kudos
Message 1 of 4
(4,409 Views)

Hi NeedDIAdemHelp,

 

The only way to query channel minimum and maximum properties in DIAdem 2015 and prior versions is to save the data file with minimum and maximum channel properties, so that the DataFinder can index those values.  You can either do that during your data acquisition, or you can add them in afterwards with LabVIEW or DIAdem.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 2 of 4
(4,374 Views)

Yeah I'd suggest writing it when the data is aquired.  It is a property of the file or group or channel which can be searched on.  The data it self can't be searched.  This seems like a big limitation but realizing you can write any parametric data or settings to a TDMS file can help with this, so write as many properties you think you might need.

0 Kudos
Message 3 of 4
(4,332 Views)

Hi All,

 

It is a limitation to not index the data values in all the channels, but it was also a conscious design choice.  If you want to search on all the channel values, your data base is going to get very large very quickly.  Since most of our customers acquire lots of data, this didn't seem like the right way to go.

 

Brad Turpin

DIAdem Product Support Engineer

National Instruments

0 Kudos
Message 4 of 4
(4,318 Views)