we found a bug after the migration of our system from WinCC OA 3.15 -> WinCC OA 3.16
the INTEGER archived datapoints are displayed differently from the Scada server and from the Remote UI.
From the SCADA server, it displays the values correctly. (where is running the RD manager).
From the remote UI, it display the INTEGER datapoint historical values as Boolean (0 is value is 0, 1 is value is different from 0).
-> The remoteUI panel is launch from the SCADA server: it the same panel.
This strange behaviour appears only on INTEGER values, archived via the RDB manager.
-> float, bool, ...are OK
-> archived INTERGER with local WinCC OA archive manager are also displayed correctly.
RemoteUi & SCADA server are running WinCC OA 3.16
Thanks in advance for your support.
issue displaying INTEGER archived values from a remote UI
- lwallet
- Posts:19
- Joined: Mon Oct 23, 2017 3:50 pm
issue displaying INTEGER archived values from a remote UI
- mkoller
- Posts:741
- Joined: Fri Sep 17, 2010 9:03 am
Re: issue displaying INTEGER archived values from a remote UI
Your are using RDB archiving ?
Do you use the same config entries for both UI managers ?
E.g. one using queryRDBdirect = 1, the other does not ?
Also, how do you query and display the archived values ?
Are we talking about a trend ?
Do you use dpQuery() or dpGetPeriod() ?
We'd need all the details, please.
If both UI managers do the same, they will display the same result.
Let's find the difference.
Do you use the same config entries for both UI managers ?
E.g. one using queryRDBdirect = 1, the other does not ?
Also, how do you query and display the archived values ?
Are we talking about a trend ?
Do you use dpQuery() or dpGetPeriod() ?
We'd need all the details, please.
If both UI managers do the same, they will display the same result.
Let's find the difference.
- lwallet
- Posts:19
- Joined: Mon Oct 23, 2017 3:50 pm
Re: issue displaying INTEGER archived values from a remote UI
Your are using RDB archiving ? Yes, RDB manager is used to archive values on server side
Do you use the same config entries for both UI managers ? Yes, config entries for [ui] are the same on server & RemoteUi. They are the following :
[ui]
visionResizeMode = "Zoom"
trendLegendStyle = 0
queryRDBdirect = 1
E.g. one using queryRDBdirect = 1, the other does not ? Both are using queryRDBdirect
Also, how do you query and display the archived values ? We are dislpaying the data from the trend widget
Are we talking about a trend ? Yes
Do you use dpQuery() or dpGetPeriod() ? what is used with the trend widget
We'd need all the details, please.
If both UI managers do the same, they will display the same result.
Let's find the difference.
I have noticed a difference btw SCADA server config files 3.15 & 3.16 after the migration
-> it changes the langs entry to utf-8 (langs = "en_US.utf8") - before was iso
-> it has introduced a new entry "useDbAsIso = 1", I did not find documentation on this entry
I hope this helps. To not hesitate to ask me for further information.
Do you use the same config entries for both UI managers ? Yes, config entries for [ui] are the same on server & RemoteUi. They are the following :
[ui]
visionResizeMode = "Zoom"
trendLegendStyle = 0
queryRDBdirect = 1
E.g. one using queryRDBdirect = 1, the other does not ? Both are using queryRDBdirect
Also, how do you query and display the archived values ? We are dislpaying the data from the trend widget
Are we talking about a trend ? Yes
Do you use dpQuery() or dpGetPeriod() ? what is used with the trend widget
We'd need all the details, please.
If both UI managers do the same, they will display the same result.
Let's find the difference.
I have noticed a difference btw SCADA server config files 3.15 & 3.16 after the migration
-> it changes the langs entry to utf-8 (langs = "en_US.utf8") - before was iso
-> it has introduced a new entry "useDbAsIso = 1", I did not find documentation on this entry
I hope this helps. To not hesitate to ask me for further information.
- esperrer
- Posts:1
- Joined: Tue Oct 25, 2011 5:05 pm
Re: issue displaying INTEGER archived values from a remote UI
"useDbAsIso = 1" can be used for existing ISO projects when the project language is changed from ISO to UTF8.
It will convert all strings written into the database from UTF8 to ISO and all strings read from the database from ISO to UTF8.
So it allows to read exisitng data in the database as UTF8.
Note that there are some restrictions and there is an important bug fix for this feature in 3.16 P003.
Cheers,
Ewald
It will convert all strings written into the database from UTF8 to ISO and all strings read from the database from ISO to UTF8.
So it allows to read exisitng data in the database as UTF8.
Note that there are some restrictions and there is an important bug fix for this feature in 3.16 P003.
Cheers,
Ewald