Historical timestamp trend

Discussion about recent product features & solutions!
Search

Post Reply
2 posts • Page 1 of 1
Indrani125
Posts: 1
Joined: Wed Aug 07, 2019 8:50 am

Historical timestamp trend

Post by Indrani125 » Fri Oct 11, 2019 10:03 am

I am working on MQTT Client driver available in WinCC OA 3.16. I am trying to push values, status and timestamp using JSON Profiles.
Is it possible to archive values with older timestamps using MQTT Protocol?
The format is shown as under:
{"Status":0,"Time":"2019-10-11T08:50:15.658Z","Value":85}

I tested with past values but the same was not reflected in the archives.

User avatar
leoknipp
Posts: 1936
Joined: Tue Aug 24, 2010 5:28 pm

Re: Historical timestamp trend

Post by leoknipp » Mon Oct 14, 2019 7:04 am

Do you want to write historical values into the WinCC OA database?
If you want to write for a dp element a value which is older than the current timestamp of the original value you have to write a correction value using dpSetTimed() and the attribute _corr.._value.

Best Regards
Leopold Knipp
Senior Support Specialist

Post Reply
2 posts • Page 1 of 1