AnsweredAssumed Answered

[PI_UFL] [Error] 2059. Value start/end is incorrect.

Question asked by AFlor on Aug 14, 2015
Latest reply on Aug 17, 2015 by AFlor

Hi Community,

 

I am receiving this error for every line when running PI UFL (v3.4.21).

14-Aug-2015 10:43:10  [-9999]> 2015;08;14;1;4617;4617;

14-Aug-2015 10:43:10 [PI_UFL] [Error] 2039. Value start/end is incorrect.

 

Data file is processed and marked as _OK, but no values are stored in PI Server.

 

The imput file data is like this:

2015;08;14;1;4617;4617;

2015;08;14;2;4451;4451;

2015;08;14;3;4247;4247;

2015;08;14;4;4089;4089;

2015;08;14;5;4089;4089;

2015;08;14;6;409;409;

*

My INI file is like this:

[INTERFACE]

PLUG-IN=AsciiFiles.dll

 

[PLUG-IN]

IFM=D:\OMIE\marginalpdbc_20150814.1

IFS=N

REN=_OK

ERR=BAD

PURGETIME=1d

PFN=False

NEWLINE=13,10

 

[SETTING]

DEB=0

MAXLOG=10

MAXLOGSIZE=20

MSGINERROR=C:\Program Files (x86)\PIPC\Interfaces\PI_UFL\Logs\err.log

OUTPUT=C:\Program Files (x86)\PIPC\Interfaces\PI_UFL\Logs\out.log

LOCALE=en-us

 

[FIELD]

FIELD(1).NAME="Y"

FIELD(1).TYPE="Int32"

FIELD(2).NAME="M"

FIELD(2).TYPE="Int32"

FIELD(3).NAME="D"

FIELD(3).TYPE="Int32"

FIELD(4).NAME="P"

FIELD(4).TYPE="Number"

FIELD(5).NAME="Timestamp"

FIELD(5).TYPE="DateTime"

FIELD(5).FORMAT="yyyyMMddhh"

FIELD(6).NAME="H"

FIELD(6).TYPE="Int32"

FIELD(7).NAME="PP"

FIELD(7).TYPE="Number"

FIELD(8).NAME="Void"

FIELD(8).TYPE="String"

 

[MSG]

MSG(1).NAME="LineaDatos"

 

[LineaDatos]

LineaDatos.FILTER=C1=="*"

Y=["(*);*;*;*;*;*;*"]

M=["*;(*);*;*;*;*;*"]

D=["*;*;(*);*;*;*;*"]

H=["*;*;*;(*);*;*;*"]

P=["*;*;*;*;(*);*;*"]

PP=["*;*;*;*;*;(*);*"]

Void=["*;*;*;*;*;*;(*)"]

Timestamp=Y+M+D+H

StoreInPI("OMIE_Price_24h",,Timestamp,P,,,)

 

Any idea?

 

Thanks in advance!

Outcomes