AnsweredAssumed Answered

Copy and (re)compress archive values with AF SDK

Question asked by martin.mertens on Apr 4, 2016
Latest reply on Apr 6, 2016 by pthivierge



a suggestion in the thread was to force a new tag compression by writing tag archive values into a new, empty tag (which has the compdev settings that should be applied).


How can I realize that by using AF SDK?


As soon as I reference the RecordedValues "values" of a tag and copy them into an empty tag "pointCopy" by using



pointCopy.UpdateValues(values, AFUpdateOption.Insert, AFBufferOption.Buffer);


the result seems to be independent from any compdev setting of pointCopy, resulting in an 1:1 archive copy of the source tag.


What am I doing wrong here?


Thank you.