File Processor Agent Example – QED

<< Click to Display Table of Contents >>

 >Live > Agents > File Agents > File Processor > Examples >

File Processor Agent Example – QED

 

Setting

Value

Description

QED.dateTimeColumnHeaderRegex

^Date

DT_LOGGER_DATUM.DATUM_UTC_DT date; column header text starts with Date.

QED.folderWatcherPath

C:\EarthSoft\Live\QED


QED.headerLinesRegex

Date.*Time

The header line contains Date + anything (.*) + Time.

QED.ignoreColumnHeadersRegex

Index|Elapsed Time|Criteria|CRC

Don't add series or datum for columns whose header text contains:

1.Index

2.Elapsed Time

3.Criteria

4.CRC

QED.loggerCodeFileNameRegexGroups

((?'a'.*)_|(?'b'.*)\.|(?'c'.*))

DT_LOGGER.LOGGER_CODE = file name text before last x, where x =

1.underscore (_), else

2.dot (.), else if no underscore or dot,

3.everything.

 

See YSI-6 example.

QED.loggerDescPrefix

QED


QED.seriesNameColumnHeaderRegexGroups

(?'a'[^-]*)

DT_LOGGER_SERIES.SERIES_NAME

QED.seriesUnitColumnHeaderRegexGroups

-(?'a'.*)

DT_LOGGER_SERIES.SERIES_UNIT

QED.timeColumnHeaderRegex

^Time

DT_LOGGER_DATUM.DATUM_UTC_DT time; column header text starts with Time.

 

And default (non-QED) settings:

 

Setting

Value

Description

dateTimeFormats


Empty; determined automatically.

delimiters

,

The fields are separated by commas.

utcOffsetHrs

0

DT_LOGGER.UTC_OFFSET_HRS

 

 

Index,Elapsed Time,Criteria,Date,Time,Temp-C,Temp-F,pH,SpC-mS/cm,Salin-PSS,TDS-g/L,DO%-Sat,DO-mg/L,Circ,ORP-mV,Turb-NTU,Batt-V,CRC

0,0:00,No,24-Jun-04,7:46:03,23.03,,9.45,0,0.01,,74.2,5.29,Off,276,14.6,4.5,0x6030

1,0:00,No,24-Jun-04,7:47:54,23.04,,12.84,0.001,0.01,,73.8,5.26,On,189,17.4,4.5,0xA7B1

2,2:00,Yes,24-Jun-04,7:49:55,23.08,,11.46,0,0.01,,70.2,5,On,197,20.1,4.4,0x6A0F