Live File Processor Agent Example – YSI-ProPlus

<< Click to Display Table of Contents >>

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

Live File Processor Agent Example – YSI-ProPlus

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

 

OBJECT_TYPE

OBJECT_VALUE

STRING_VALUE

Description

YSI-ProPlus

dateTimeColumnHeaderRegex

Timestamp

DT_LOGGER_DATUM.DATUM_UTC_DT; column header text contains Timestamp.

YSI-ProPlus

folderWatcherPath

C:\EarthSoft\Live\
YSI-ProPlus


YSI-ProPlus

headerLinesRegex

Timestamp

The header line contains Timestamp.

YSI-ProPlus

ignoreColumnHeadersRegex

Comment|Folder|
Unit ID

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

1.Comment

2.Folder

3.Unit ID

YSI-ProPlus

loggerCodeColumnHeaderRegex

Site

DT_LOGGER.LOGGER_CODE

YSI-ProPlus

seriesNameColumnHeaderRegexGroups

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

DT_LOGGER_SERIES.SERIES_NAME

YSI-ProPlus

seriesUnitColumnHeaderRegexGroups

\((?'a'[^)]*)\)[^(]*$

DT_LOGGER_SERIES.SERIES_UNIT

 

 

 

Timestamp,Barometer (kPA),Specific Conductance (uS/cm),Dissolved Oxygen (mg/L),ORP_1 (mV),pH_1 (Units),Temperature (C),Comment,Site,Folder,Unit ID

3/18/2013 10:24,92.14,572,12.45,372.3,8.06,0.1,,SpringField,,U1

3/18/2013 15:15,92.29,317.9,11.2,140.9,7.94,0,,SpringField,,U1

3/18/2013 16:03,92.24,1900,11.84,187.9,8.06,1.7,,SpringField,,U1