NI DataFinder Server Edition - Choosing DataFinder Indexing Procedures

Publish Date: Feb 04, 2014 | 0 Ratings | 0.00 out of 5 | Print

DataFinder offers different ways to trigger the indexing of new and changed files in the specified search areas. Choosing the best indexing procedure depends on your specific environment. To select how DataFinder indexes your files, from the menu bar go to Settings » Configure… and go to the Indexer tab. From here you can choose how automatic indexing is triggered by clicking the ‘’ button.

Figure 1. Use the Configuration dialog box to select how DataFinder automatically indexes files. 

 

Automated Indexing Triggered by Data File Changes

This is the default option for DataFinder. Every time a new file is created or changed within a search area, a set of events is triggered by the operating system. When activating this indexing option, DataFinder registers itself for these specific events and automatically triggers the indexing of the new and changed files.

In some situations, such as on specific file servers or massive file changes inside the search areas, DataFinder can miss these events – so some or multiple file never get indexed.

For this reason we recommend to additionally turn on the scheduled indexing. In this case files that have been missed indexing by events are indexed at a later time on a consistent schedule.

 

Trigger Indexing by a Job File

Use a job file whenever you integrate DataFinder with a process which writes test files such as TDM or TDMS files (or other) directly into DataFinder search areas. Extend your process to create the job file after the new files has been copied into the search areas. DataFinder will execute one job file after the other and index all files defined within. The job file is a simple text file containing the list of files to index including specific indexing options.

This process is reliable even in situations when you need to pause or terminate DataFinder.  After DataFinder is started again it will continue indexing files as defined by the specific job files.

We additionally recommend turning on the scheduled indexing for the case that files are copied to DataFinder by different processes or creation of a job file has failed. This will ensure all files are indexed on a consistent schedule.

 

Turn Off Automated Indexing

If scheduled indexing is sufficient for you, for instance scheduled indexing accomplishes the indexing of all new and changed files overnight, or you are using a DIAdem or LabVIEW triggered indexing procedure, you may turn off automated indexing.

 

Scheduled Indexing

You can activate scheduled indexing parallel to other indexing procedures. Scheduled indexing can be configured on an hourly, daily or weekly basis. Scheduled indexing is a recommended additional indexing process which will help keeping your indexing on a consistent schedule, even in the situation when the designated indexing procedure failed for whatever reason.

 

Trigger Indexing Using LabVIEW

If your process is controlled by LabVIEW and the DataFinder Toolkit is installed on the same server machine as DataFinder, you may choose LabVIEW to trigger the indexing of DataFinder.  Using LabVIEW You can trigger the indexing of a single file or a whole folder, optionally including sub-folders.

Figure 2. Trigger index files or folders by using DataFinder invoke nodes in LabVIEW.

 

Trigger Indexing Using DIAdem

In case your process is controlled by DIAdem and DIAdem is installed on the same server machine as DataFinder, you can use DIAdem scripting to trigger the indexing process.

Figure 3. Trigger index files or folders by using scripting commands in DIAdem. 

 

Additional Resources

Learn more about NI DataFinder

Back to Top

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit