On 22 September 2014 we have created DP with names station1, station2 and station3 and
started data collection by Modbus TCP protocol for 3 weeks. Now we want to rename these
data points to 4262, 6540 and 7758 respectively. Unfortunately we couldn’t do it.
Question 1: How to rename data point?
After that on 05 October 2014 we created new data points 4262, 6540 and 7758 and tried to
insert data by means of command dpSetTimedWait from files to which we saved data from
station1, station2 and stateion3. We were unable to do it. The only data that was stored for
these data points is data with timestamps >= 05 october 2014. Saving data with timestamps
earlier than 05 october 2014 gave following error:
WCCILdata (0), 2014.10.09 00:31:17.167, PARAM,WARNING, 54,
Unexpected state, HistArchive, processDpVC, correction value can
only be sent for periods when archivation was active - datapoint:
System1:7758.ControlAndDiagnosticsMod.flood:_corr.._value (Type:
208 Sys: 1 Dp: 517 El: 48 : _corr.._value)"
Is it possible to store data with timestamps earlier than datapoint creation?
How to rename data point?
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to rename data point?
Hello,
Question 1: Right now the only solution to rename a datapoint is the following procedure:
-- make an ASCII-export of the datapoint you want to rename with all its configs
-- delete the datapoint
-- rename the datapoint in the ASCII-file
-- make an import of the ASCII-file
Question 2: Normally it is not possible to write historical values for a dp-element for a time before it was created.
This is only possible when
-- the archive files for the time where you want to write the values are existing in the system
-- there are free entries available in those files and the files are not compressed
-- the dp-element was never set when adding the _archive-config
The values have to be written in chronological order then.
Best Regards
Leopold Knipp
Senior Support Specialist
Question 1: Right now the only solution to rename a datapoint is the following procedure:
-- make an ASCII-export of the datapoint you want to rename with all its configs
-- delete the datapoint
-- rename the datapoint in the ASCII-file
-- make an import of the ASCII-file
Question 2: Normally it is not possible to write historical values for a dp-element for a time before it was created.
This is only possible when
-- the archive files for the time where you want to write the values are existing in the system
-- there are free entries available in those files and the files are not compressed
-- the dp-element was never set when adding the _archive-config
The values have to be written in chronological order then.
Best Regards
Leopold Knipp
Senior Support Specialist
- leoknipp
- Posts:2928
- Joined: Tue Aug 24, 2010 7:28 pm
Re: How to rename data point?
Hello,
just for your information. If you want to have access to historical data for the elements of a specific datapoint after renaming it you have to ensure that the same DP-ID is used.
With the given procedures this works if no other process is creating new datapoints after the deletion of the datapoint and before the ASCII import is finished.
Best Regards
Leopold Knipp
Senior Support Specialist
just for your information. If you want to have access to historical data for the elements of a specific datapoint after renaming it you have to ensure that the same DP-ID is used.
With the given procedures this works if no other process is creating new datapoints after the deletion of the datapoint and before the ASCII import is finished.
Best Regards
Leopold Knipp
Senior Support Specialist