11-13-2014 12:29 AM
Hello Brad
I tried to use "index Folder" but it does not update my files unfortunately. It only updates my files when I open the Diadem manually and click on the file.
The refresh button in Diadem does not update my files too.
My DataFinder is installed on a local PC while my files are located on a server. Is this the problem why I can not update the files or?
thanks!
11-13-2014 08:12 AM
Hi Norick,
Yes, that's the trouble. In the LabVIEW Help for the "Update Files" method, it states that this only works locally. Is there any way to cause this function to be run on the server computer hosting the DataFinder?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-13-2014 09:04 AM
Brad
the problem is that there is no server specific DataFinder installed, only a local DataFinder. The tdms files, which are generated on a local PC, are syncronized with
a server. Afterwards I need to search some specific data of those tdms files on the server.
Is there no way to run a script or LV-application which updates my files on the server? Or do I need to update the index files first on my local PC before I syncronize it
with the server?
thanks in advance
11-13-2014 04:06 PM
Hi Norick,
First of all the "local" My DataFinder is only designed for use within a given computer. There is no way with LabVIEW 2014 or DIAdem 2014 to connect to or interact with a "My DataFinder" located on a separate computer. These clients can only communicate with a DataFinder Server Edition (DFSE) on another (server) computer.
Is there a DFSE somewhere in your architecture?
How do the data files get moved into their target Search Areas? Do the clients push them to the server, or do you leave the data on the acquisition computer and have the server point to remote folders?
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-14-2014 12:27 AM
Hello Brad
No, there is no DFSE available.
The target files, located on a server, are pushed (copied) from a local machine to a folder on the server. Each local client has its own "My DataFinder" installed and therefore all files are indexed allready.
Afterwards, another PC makes a query to those files (stored on the server) through the local "My DataFinder". This works so far but not for all files. This means some files are indexed but others not (hourglass) and this is the actual problem.
In other words I query from a local PC to the files (server) through the "My DataFinder" where the search area includes the folder path to the generated tdms-files.
best regards
11-14-2014 09:04 AM
Hi Norick,
Now I understand. The fundamental issue is that files stored on a network drive do not always generate file events on every client My DataFinder pointing to them. The other complication is that only one of the clients (the one that just submitted it) knows that the new data file needs to be indexed. That submitting client can force a file index event with LabVIEW or DIAdem code, but that only updates the My DataFinder index on the submitting client. There is no way for computerA to update the My DataFinder of computerB. That leaves two options:
A) Set up each My DataFinder to index automatically every so often-- this will definitely catch any new files and index them
B) Send a message to all the other computers and have them each force a file index event on their own My DataFinder
Brad Turpin
DIAdem Product Support Engineer
National Instruments
11-14-2014 05:28 PM
... or use a centralized DataFinder Server instead.
11-17-2014 04:51 AM
Thanks for the answer Brad. I will try that...
regards