Table Of Contents

Properties and Structure of Job Files

Last Modified: April 1, 2021

Use job files for DataFinder and Data Preprocessor instances to index or process specific files or folders in a batch process in Data Indexing or Data Preparation. Job files for DataFinder and Data Preprocessor instances have an almost identical structure. For a DataFinder instance, you can automate your systems to create job files as soon as they have generated a batch of files and prompt the indexing process. For example, you can generate a job file in a specified location with the Create Index Job File VI in LabVIEW. The following table describes the properties of job files:

Property Description
File type Text
File extensions
  • DataFinder instance: .dfij
  • Data Preprocessor instance: .dfpj
Maximum number of lines 100
Maximum file size 100 Kb
File encoding
  • UTF-16LE
  • UTF-8 with BOM
  • ANSI

The following table describes the structure of job files:

Row Syntax Description
1 DFSEBatchIndexer/PreProcessorJobFile Identifies the file as a job file for DataFinder and Data Preprocessor instances.
2 Version 1.0 The version number must be 1.0.
3-n <Command>;"<Path>";<Parameter=Value> Defines the files and folders to be indexed or processed.
spd-note-note
Note  

Verify the files and folders you define for processing and indexing exist in the raw data and search areas for the respective Data Preprocessor or DataFinder.

Command Description Parameter Parameter Values
IndexFile Indexes a file. Reindex
  • True - DataFinder and DataPreprocessor instances always reindex or reprocess the file (default)
  • False - DataFinder and DataPreprocessor instances index or process the file only if the file has changed or has been added since the last indexing or processing.
IndexFolder Indexes a folder. Reindex
  • True - DataFinder and DataPreprocessor instances always reindex or reprocess the folder.
  • False - DataFinder and DataPreprocessor instances index or process the folder only if files in this folder have changed or have been added since the last indexing or processing (default).
IndexFolder Indexes a folder. IncludeSubFolder
  • True - DataFinder and DataPreprocessor instances also index or process subfolders (default).
  • False - DataFinder and DataPreprocessor instances do not index or process subfolders.

Separate several parameters with commas, for example, <param1>=<value1>,<param2>=<value2>. The order of the parameters is arbitrary. If you do not specify a parameter, the DataFinder and Data Preprocessor instances use the default value of this parameter.

The following example shows the contents of a job file:

DFSEBatchIndexer
Version 1.0
IndexFile;"\\Server\TestData1\MyFile1.tdm";
IndexFile;"\\Server\TestData1\MyFile2.tdm";Reindex=True
IndexFolder;"\\Server\TestData2";Reindex=False,IncludeSubfolder=True

Recently Viewed Topics