WDP 2025 - Problem with counter update via Dispatcher
 

WDP 2025 - Problem with counter update via Dispatcher

Begonnen von Pierangelo, 11. Juni 2026, 14:35:35

Vorheriges Thema - Nächstes Thema

Pierangelo

Hello

I have created a dispatcher record to update a counter (ligthblue in the picture counter.jpg) with the value of the 3 blu counters (see attached image). When I start the simulationn the value is correctly calculated but when the counters change their values the ligthblue counter is not updated. Where is the error?

Thanks for any help
Pierangelo
  • Win-Digipet-Version:
    2015.1b
  • Anlagenkonfiguration:
    Intellibox + Uhlenbrock feedback modules
  • Rechnerkonfiguration:
    Windows 7 64 bit -8Gb Ram

Bernd Senger

Ciao Pierangelo,

for questions like this, it seems a better idea to provide an actual backup of your project  and of course to show the complete screenshots of the dialogues.  I suggest that you have switched on the special functions in the dispatcher. With these functions for example you're able to ask for conditions in a timely depended base (e.g. every second).
Viele Grüße vom Rand Berlins
Bernd Senger
+++

----------------------------------------
Sonstiges
biete gerne Hilfe an, Sprachen: Deutsch, Englisch
  • Win-Digipet-Version:
    WDP 2025.x Beta
  • Anlagenkonfiguration:
    N-Anlage Neubau, ECoS II, TAMS mc2, YaMoRC YD7001, MDec.LDT, digikeijs LocoNet Rückm. (190 RMK)
  • Rechnerkonfiguration:
    i5 32GB, Win11, Pro, 34"+24" Screen

Bernd Senger

Ciao Pierangelo,
as supplement to my post this morningi made an example for summarizing two counters and present the result in a third counter. The query in this example will be done every second. In your case you'll maybe set additional conditions.
Please take a look to both attached pictures. I'm sorry, the screenshots has been taken with the german version, but it should be similary to the italian version.
Viele Grüße vom Rand Berlins
Bernd Senger
+++

----------------------------------------
Sonstiges
biete gerne Hilfe an, Sprachen: Deutsch, Englisch
  • Win-Digipet-Version:
    WDP 2025.x Beta
  • Anlagenkonfiguration:
    N-Anlage Neubau, ECoS II, TAMS mc2, YaMoRC YD7001, MDec.LDT, digikeijs LocoNet Rückm. (190 RMK)
  • Rechnerkonfiguration:
    i5 32GB, Win11, Pro, 34"+24" Screen

Pierangelo

Hi Bernd

Many thanks for your answer. Using the special function in the dispatcher I obtain the desired result.
I do not take into account that the condition remains true and the related action do not switch. Using the special function "on counter change" the action is taken properly.

Thanks
Pierangelo

  • Win-Digipet-Version:
    2015.1b
  • Anlagenkonfiguration:
    Intellibox + Uhlenbrock feedback modules
  • Rechnerkonfiguration:
    Windows 7 64 bit -8Gb Ram