Live File Processor Agent Example – QED

<< Click to Display Table of Contents >>

Navigation:  Live > Agents > File Agents > File Processor > Examples >

Live File Processor Agent Example – QED

Add the following settings to the ST_CONFIG table (CONFIG_SECTION = 'Live.FileProcessor', CONFIG_KEY = 'Agent').

 

OBJECT_TYPE

OBJECT_VALUE

STRING_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

Do not add series or datum for columns whose header text contains:

1.Index

2.Elapsed Time

3.Criteria

4.CRC

QED

loggerCodeFileNameRegex
Groups

^(?'a'[^_.]*)

DT_LOGGER.LOGGER_CODE = file name text before first underscore (_) or dot (.).

 

See YSI-6 example.

QED

seriesNameColumnHeaderRegex
Groups

(?'a'[^-]*)

DT_LOGGER_SERIES.SERIES_NAME

QED

seriesUnitColumnHeaderRegex
Groups

-(?'a'.*)

DT_LOGGER_SERIES.SERIES_UNIT

QED

timeColumnHeaderRegex

^Time

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

 

 

 

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