10-27-2015 08:47 AM
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
10-28-2015 07:27 AM
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
10-30-2015 12:11 PM
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.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
10-31-2015 02:18 PM
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