06-09-2024 03:05 AM
Hello,
I'm trying to query some data from "My DataFinder" starting from xlsx files. As you can see in the pictures when I search the "channel name" I received some files, If I add the "channel value" I received nothing.
Where I fault?
06-10-2024 01:34 AM
Be aweare of the fact that DIAdem calculates Min/Max on the fly when importing your data.
This thread discusses the behavior.
So if you want to query on min/max you need to calculate them in the DataPlugin. Else you can't do it.
06-10-2024 01:58 AM
Thank you for your answer. I read the post. So, do you think the best choice is to save the file in TDM? I mean I open the file in xlsx and save it on tdms?
06-10-2024 08:38 AM
Not sure what the best option is. There are those two:
Be aware that saving TDM files using the Excel addin will also have no min/max information.
06-10-2024 10:55 AM
With the solutions you propose, I have to import the file before I can analyze the data. Correct?
A third hypothesis could be that I have a (labview) software that reads continuosly the "source folder" and if there is a xls files, it opens and converts it into a tdms file and saves it in the "destination folder". In this case I connect "My Data Finder" to the destination folder so I have the data ready to be analyzed.
What about it?
06-11-2024 01:13 AM
The first approach is to modfy the DataPlugin like Brad describes. This is potentially the better one.
You need to modify the DataPlugin (vbs code) by
AddCharacteristics
There is no automatism. You need to implement it in the Dataplugin. Because the DataPlugin calculates those values you can use them later on in DataFinder because they exist already on Index time.
This is what DIAdem does on load automatically (if not disabled). Even LabVIEW won't fill the values automatically.