Seite 1 von 1
Strange CPU Usage with fast run mode
Verfasst: Montag 21. Mai 2012, 10:16
von alex_evil
Hi Abacom,
i have a little problem with my application.
When I use it with fast run mode at regular intervals of time the application freezing for a short period.
As attachment you can see the screenshot of the use of the processor from the task manager.
I try to run the application into Windows XP Pro SP3 virrtual machine and on Windows 7 64 bit PC and i have the same problem.
If i use the application with slow run mode the application also freezing at regular intervals of time.
How can i fix this problem?
Thanks
Re: Strange CPU Usage with fast run mode
Verfasst: Mittwoch 23. Mai 2012, 08:11
von abacom
Likely some other process is blocking Profilab regularly.
Re: Strange CPU Usage with fast run mode
Verfasst: Mittwoch 23. Mai 2012, 12:11
von alex_evil
How can I check this?
Thank's
Alessandro
Re: Strange CPU Usage with fast run mode
Verfasst: Mittwoch 23. Mai 2012, 15:45
von alex_evil
Hi,
other processes does not block ProfiLab.
if I make a test application without modbus tcp reading holding registers everything works properly.
Alessandro
Re: Strange CPU Usage with fast run mode
Verfasst: Mittwoch 23. Mai 2012, 17:12
von compander
Sim-Speed SLOW, please.
You have:
Re: Strange CPU Usage with fast run mode
Verfasst: Dienstag 29. Mai 2012, 17:52
von compander
Projectfunction by SLOW OK?
Re: Strange CPU Usage with fast run mode
Verfasst: Mittwoch 30. Mai 2012, 08:39
von abacom
Looks like the device fails to respond or disconnects regularly, leading to (blocking) re-connect action.
Can you verify this? Latest update installed by the way?
Re: Strange CPU Usage with fast run mode
Verfasst: Sonntag 3. Juni 2012, 13:07
von alex_evil
Hi, I tried it with low speed and the problem remains the same. The application freezing regularly only when modbus devices are disconnected or the network is not avaible.
For me is not a big issue but i think the problem is in the modbus error handling.
I have Profilab Expert with the last update (05/15/2012)
Alessandro
Re: Strange CPU Usage with fast run mode
Verfasst: Dienstag 5. Juni 2012, 08:28
von abacom
If connection gets lost (why?) ProfiLab will automatically try to reconnect to the device (which is blocking the proccess).
No idea how to avoid this.