Hello,
One of the reasons why the Set Attribute and the Get Attribute might be different could be a race condition...tying to read the properties before the change has been written. Have some delay before you read the attribute.
The Historical Trend shows a constant value when it is waiting for a change. As soon as the new logged value comes in, the trend changes correctly. In other words, the Historical Trend will not show the gap of data when the logging has been turned off...it will give you a flat line. But, this will be fixed once the logging is turned on again.
Turning off the logging will keep the system from logging to the database...the Historical trend is the one that might confuse you. You can use the Read Historical Trend. VI and you will see that onc
e the logging has been turned off, no more values are generated on the database...it is only the historical trend indicator the one that is trying to fill the gaps.
Ther NI Hypertrend does not fill the gaps. Maybe this Indicator woull be less confusing for your application.
Just to recap...
Turning the Logging Off with the Set Tag Attribute.VI seems to work fine. What might confuse the user is the behaviour on the Historical Trend.
I hope this answers your question.
VG