How to speed up reading ZFA-file?
 

How to speed up reading ZFA-file?

Begonnen von Per Olsen, 24. November 2015, 18:52:22

Vorheriges Thema - Nächstes Thema

Per Olsen

Hello.

I have a .ZFA-file With around 300 lines.  But it takes "forever" to scan through it.  When I f.ex. set a signal to green, so a Train can start, it takes very long time before the Train actually starts.  I look at the Inspector window, and all seems OK, but moves very slow. 

Is there any way I can speed it up?  Have I done something wrong?  I am sure it was much quicker before (in 2012 Version).

With only 1 Train active, when the Train has stopped, and is ready for departure again, I have timed it to around  40-70sec before the needed line is read and executed from the .ZFA-file.

What have I done wrong..?

Best regards,
Per.
  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control. Maerklin C-tracks. 6xBolls boosters.  2xLittfinski HSI-88 USB.  Bolls RMDs.  Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Stefan Lersch

Hello Per,

40 to 70 seconds sound to me as if you have random activated. If WDP checks feedback contacts randomly it may take that long! Check in the small ZFA window, when the ZFA is running, if you have hooked "random". If so unhook it. (I mean the small window with the red/green signal. There's a big arrow to the right. Click it and you will see more options including random.)

Also you can decrease here the time between two checks. Try 200ms.
Viele Grüße,
Stefan
  • Win-Digipet-Version:
    WDP 2021.x Beta
  • Anlagenkonfiguration:
    N-Anlage im Bau, Minitrix & Co., Tams MC 2.2.3, DCC
  • Rechnerkonfiguration:
    Quad Core 8 GB mit Win 10, 32"quot Bildschirm

Per Olsen

Hello.

No, no random generator is used.  I do not use it when testing.. :) :)

Per.
  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control. Maerklin C-tracks. 6xBolls boosters.  2xLittfinski HSI-88 USB.  Bolls RMDs.  Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.

Per Olsen

Hi again.

I reduced to 200, MUCH BETTER !!!

Regards,
Per.
  • Win-Digipet-Version:
    WinDigiPet 2021
  • Anlagenkonfiguration:
    Tams Master Control. Maerklin C-tracks. 6xBolls boosters.  2xLittfinski HSI-88 USB.  Bolls RMDs.  Viessmann and Bolls switch-decoders.
  • Rechnerkonfiguration:
    Windows 11 2,7GHz CPU, 16Gb RAM.