Search found 42 matches

Search

by ozangor
Fri Jul 02, 2021 9:31 am
Forum: HowTos
Topic: Clearing a text field which has a float format?
Replies: 5
Views: 7691

Re: Clearing a text field which has a float format?

Hi there, I think updating the format in KeyboardFocusIn/Out events might be helpful for you. Keep your textbox format as string, update the format back to float when KeyboardFocusIn is triggered (when typing cursor appears). When your action button is clicked, you can set the format back to string ...
by ozangor
Tue Oct 13, 2020 9:03 am
Forum: Bugs / Problems
Topic: Complex data structures json
Replies: 2
Views: 3593

Re: Complex data structures json

Hi there, The issue seems to be, you are trying to use time objects as keys in json. You can use timestamp keys by casting the time to a string. mapping data = makeMapping((string)makeTime(2020,1,1), makeMapping("dp1.value", 596.9,"dp2.value", 915.9), (string)makeTime(2020,1,1,1)...
by ozangor
Thu Oct 01, 2020 6:06 pm
Forum: Bugs / Problems
Topic: Alarm query missing entries
Replies: 0
Views: 9900

Alarm query missing entries

Hi there, I am having a critical issue with querying the database, either from default AES, or my own dpQuery(select alert... implementation. Upon receiving s7+ program alarms, i'm parsing the alert texts, and generate new impulse alerts using some other datapoint's alert handler. There is also anot...
by ozangor
Tue Sep 15, 2020 1:27 pm
Forum: HowTos
Topic: How to trigger flush of aloverflow db
Replies: 2
Views: 4374

Re: How to trigger flush of aloverflow db

I set up my system to do file switch every 1 hour, or if adynvar.db file of the active fileset exceeds 50 mb(checked every 5 minutes). So all of my filesets have 50 to 100mb of data in them. After my overflow db is full, the automatic flushing to the proper filesets did not take place. So the overfl...
by ozangor
Tue Sep 15, 2020 8:17 am
Forum: HowTos
Topic: How to trigger flush of aloverflow db
Replies: 2
Views: 4374

How to trigger flush of aloverflow db

Hi there, I am having issues with alert overflow db and figuring out how it works. From help, I can say that if the received timestamp is not in the scope of current file set, it is written to the overflow db. And WinCC OA cyclically flushes the overflow db entries, into proper file-sets (when the a...
by ozangor
Fri Jul 24, 2020 9:43 am
Forum: Features / Solutions
Topic: Active Directory block login
Replies: 1
Views: 6052

Active Directory block login

Hi there, In our project, we enabled the active directory authentication. I have two challenges right now: 1 - I need to block the login entirely if the user trying to login is not a member of any of the 5 predefined groups. Is it possible to do this via configuration? 2 - Is there also a way to dis...
by ozangor
Mon Mar 02, 2020 9:17 am
Forum: Bugs / Problems
Topic: Calling a function from CTRL++ in control extension causes crash
Replies: 2
Views: 4326

Re: Calling a function from CTRL++ in control extension causes crash

Thanks for the answer. I was blindly looking at the function call actually :) Thought I was just passing a copy of the object, but it was a ref.
by ozangor
Wed Feb 26, 2020 11:41 am
Forum: Bugs / Problems
Topic: Calling a function from CTRL++ in control extension causes crash
Replies: 2
Views: 4326

Calling a function from CTRL++ in control extension causes crash

Hi there, We have implemented a special communication protocol. In a control manager, we are managing multiple connections by giving some connection ids. Whenever a message is received, a function in c++ is called by the library. That callback function also calls a registered CTRL++ function. Whenev...
by ozangor
Fri Jan 03, 2020 2:12 pm
Forum: Features / Solutions
Topic: Disabling table widget auto scroll when a new entry is added
Replies: 2
Views: 7127

Re: Disabling table widget auto scroll when a new entry is added

Hi Leopold, happy new year!

I found the answer in another thread, forgot to update here. There is an attribute called "stop" for the table widget but it is not documented. That solved my problem.
by ozangor
Tue Dec 24, 2019 12:46 pm
Forum: Features / Solutions
Topic: Disabling table widget auto scroll when a new entry is added
Replies: 2
Views: 7127

Disabling table widget auto scroll when a new entry is added

Hi there, I need to stop autoscrolling of the table widget when a new row is added via appendLine or insertLineN function. Whenever I call either of these functions, table scroll automatically moves to the location where the entry is added. How do I possibly disable this functionality in order to ke...