archiving error

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
3 posts • Page 1 of 1
tanisito
Posts:3
Joined: Mon Nov 13, 2017 9:46 am

archiving error

Post by tanisito »

Hi everybody,

We are starting a new project and generating new datapoint list. Some configurations are on default value by the momment.

recently, we realize of an error got any time we dp_set.

WCCOAvalarch (5), 2018.04.02 13:15:18.616, IMPL, SEVERE, 54, Unexpected state, DPE not present (ErrNum=4), ErrorDP: DpId = 613, elementId = 40, Archive::processWrite - DPE does not exist in this SetFile, trying to add it, [D:\\workspaces\\3.15\\workspace\\Exe\\DataNew\\ValueArchive\\Archive.cpp:2559]
WCCOAvalarch (5), 2018.04.02 13:15:18.623, PARAM,SEVERE, 54, Unexpected state, Archive, addElement_Impl, Element can't be added because maximum # of 300 elements was reached
WCCOAvalarch (5), 2018.04.02 13:15:18.629, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, Archive::processWrite - DPE not present and can not be created, ErrorDP: DpId = 613, elementId = 40
WCCOAvalarch (5), 2018.04.02 13:15:18.635, PARAM,SEVERE, 54, Unexpected state, Archive, processWrite, DpId = 613, ElementId = 40 , startArchivingFlag = 0

We were looking into archiving configuration and there is a value "300" for DP elements. what is the impact of this parameter on state archive? is it the maximun number of value changes allowed or the maximun datapoints number present is that archive configuration?

Thanks and regards.

adaneau
Posts:310
Joined: Tue Feb 21, 2012 9:49 am

Re: archiving error

Post by adaneau »

Hi,

Archive can be seen as a matrix of DPE / Value changes

You cannot push more DPE than the max DPE (eg creating new _archive linked to this specific archive). If you try anyway you will get the previous message.

If you want to change this value, then you need to trigger a fileswitch to apply new settings as this is pre allocated.

BR
Alexandre

tanisito
Posts:3
Joined: Mon Nov 13, 2017 9:46 am

Re: archiving error

Post by tanisito »

Thanks for the quick response.

Efectively, we increased DPE number and modified storing options to save historical data on different files and the problem solves.

Regards.

3 posts • Page 1 of 1