Search found 37 matches

Search

by moto3101
Thu Jul 08, 2021 1:52 pm
Forum: Bugs / Problems
Topic: Prevent waitThread() warning message
Replies: 6
Views: 4976

Re: Prevent waitThread() warning message

Hey Leo, yes I am pretty sure the parallel processing is faster. By the way: What happens, if I reach the maximum number of threads on a windows machine? Will the remaining threads be queued and processed sequentially again? I couldnt find anything in the help. Regarding your proposal: I also though...
by moto3101
Tue Jul 06, 2021 4:07 pm
Forum: Bugs / Problems
Topic: Prevent waitThread() warning message
Replies: 6
Views: 4976

Re: Prevent waitThread() warning message

Hi Leo, thanks for your reply. Please consider the following example where I have a large number of objects which must go through some time consuming checks. The check for the objects are independent and thus the can be executed in parallel instead of sequentially. However, all checks must be finish...
by moto3101
Mon Jul 05, 2021 3:28 pm
Forum: Bugs / Problems
Topic: Prevent waitThread() warning message
Replies: 6
Views: 4976

Prevent waitThread() warning message

Hello together, is there a way to check whether a ctrl thread (that I started with `startThread()`) is still running? If I am using waitThread() on an already finished thread, I will get a warning in the Logviewer, which I would like to prevent: WCCOActrl (3), 2021.07.05 15:27:25.483, CTRL, WARNING,...
by moto3101
Tue Apr 27, 2021 6:28 pm
Forum: Bugs / Problems
Topic: dpConnect callback in derived classes
Replies: 0
Views: 15373

dpConnect callback in derived classes

Hello together, please consider the following example: class BaseClass { public BaseClass() { //default constructor } public void init() { setupConnect(); } protected void setupConnect() { dpConnect(this, cbTestMethod, true, "Pump1.State"); //works dpConnect(this, "cbTestMethod",...
by moto3101
Wed Mar 17, 2021 5:22 pm
Forum: Bugs / Problems
Topic: [Bug?] [3.17] Very Strange Behavior with Overriding Protected Callbacks in derived Classes
Replies: 2
Views: 4227

Re: [Bug?] [3.17] Very Strange Behavior with Overriding Callbacks in derived Classes

There also seems to be a problem with the "this" operator for protected methods: Executing this class BaseLogic { public BaseLogic() { //default constructor } public void init() { this.setupConnect(); } protected void setupConnect() { DebugTN("baseClass SetupConnect!"); } }; clas...
by moto3101
Wed Mar 17, 2021 4:50 pm
Forum: Bugs / Problems
Topic: [Bug?] [3.17] Very Strange Behavior with Overriding Protected Callbacks in derived Classes
Replies: 2
Views: 4227

[Bug?] [3.17] Very Strange Behavior with Overriding Protected Callbacks in derived Classes

Hello together, I recently came across a very weird behavior when trying to override callbacks in derived classes in CTRL++. please consider the following simple example (for reasons of space I put everything together) Dpl for Import # ascii dump of database # DpType TypeName TestPump.TestPump 1#1 S...
by moto3101
Wed Jan 20, 2021 12:12 pm
Forum: Features / Solutions
Topic: [3.16] UiConnect and triggerEvent
Replies: 6
Views: 11616

Re: [3.16] UiConnect and triggerEvent

Thanks for your example, Mike!

I will look at it and try to create another prototype with the approach I had in mind.

Also, it would be great if one of the ETM colleagues would share his/her ideas on this topic :)
by moto3101
Mon Jan 18, 2021 1:44 pm
Forum: Features / Solutions
Topic: [3.16] UiConnect and triggerEvent
Replies: 6
Views: 11616

Re: [3.16] UiConnect and triggerEvent

Hi, not a resident guru, but I had a very similar requirement, and had to implement exactly what you describe. i.e. a daisy chain of events connected to their parent panel by uiConnect until reaching the required level. I am sure you could find an alternate, easier to implement, solution by use of ...
by moto3101
Fri Jan 15, 2021 5:57 pm
Forum: Features / Solutions
Topic: [3.16] UiConnect and triggerEvent
Replies: 6
Views: 11616

[3.16] UiConnect and triggerEvent

Hello together, I have a question regarding triggerEvent and UiConnect. What is your proposed way of implementing an information exchange between panels which are loaded within a MasterModule with several SubModules using the "triggerEvent" functionality. (In previous WinCC versions, the i...