My project has objects that when placed use custom reference panels. When closed, the custom reference panels rename the placed object and its dollar parameter. In WinCC/OA v3.14, this works fine. But in WinCC/OA v3.15, the same panels do not work the same. The first time an object is placed and the reference panel is closed, the placed object name and dollar parameter are assigned correctly. However, if the reference panel is opened later to change some things that affect the placed object name and dollar parameter, the placed object name will get updated as expected, but the dollar parameter does not change. When the reference panel is closed, getDollarParams() is used to get the present object name and dollar parameter (these objects only have one dollar param), and setDollarParams () is used to set the new placed object name and dollar parameter.
I have created a very simple project in v3.14 with an object panel and reference panel that work correctly. I then used v3.15 to convert this same project to v3.15, and with no other changes it does not work correctly as described above. If this test project would be helpful in understanding the problem described, please reply so and I will post with instructions of how to recreate the problem.
I also tried an object that uses one dollar parameter and with no custom reference panel (it uses the standard built-in reference panel). It seems to work the same way, which is different than it worked in v3.14: The first time the dollar parameter value is assigned, it works, but if the built-in reference panel is used again to try to change the dollar parameter value, it does not work.
Has anyone else experienced this problem? I looked in the v3.15 help for documentation on the setDollarParams() function, but it does not seem to have changed from v3.14, so I would expect it to work the same, which it does not.
Any help with this would be appreciated.
setDollarParams() works differently in WinCC/OA v3.15 than v3.14
- tgdannemiller
- Posts:23
- Joined: Thu Apr 21, 2016 3:29 pm
setDollarParams() works differently in WinCC/OA v3.15 than v3.14
- tgdannemiller
- Posts:23
- Joined: Thu Apr 21, 2016 3:29 pm
Re: setDollarParams() works differently in WinCC/OA v3.15 than v3.14
I encountered this problem in (Win x64) v3.15 patch 002, but it appears to be fixed in patch 003., so this issue is now resolved.
- schneebergera
- Posts:89
- Joined: Sun Apr 03, 2016 5:52 pm
Re: setDollarParams() works differently in WinCC/OA v3.15 than v3.14
Hello,
yes - this behavior is fixed within WinCC_OA 3.15 P003.
Please find note in the readme text (ReadmeP003).
In summary, it can be stated that all dollar-params will be marked as modified when setting all of them.
Therefore "$-parameters" will be inherited correctly to reference, now.
regards,
Andreas
yes - this behavior is fixed within WinCC_OA 3.15 P003.
Please find note in the readme text (ReadmeP003).
In summary, it can be stated that all dollar-params will be marked as modified when setting all of them.
Therefore "$-parameters" will be inherited correctly to reference, now.
regards,
Andreas