Strange CPU Usage with fast run mode

Antworten
alex_evil
Beiträge: 6
Registriert: Donnerstag 26. April 2012, 11:34

Strange CPU Usage with fast run mode

Beitrag 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
Dateianhänge
strange task manager trend
strange task manager trend
task manager trend.JPG (169.66 KiB) 20036 mal betrachtet
abacom
Site Admin
Beiträge: 4099
Registriert: Dienstag 23. September 2008, 10:54
Kontaktdaten:

Re: Strange CPU Usage with fast run mode

Beitrag von abacom »

Likely some other process is blocking Profilab regularly.
ABACOM support
alex_evil
Beiträge: 6
Registriert: Donnerstag 26. April 2012, 11:34

Re: Strange CPU Usage with fast run mode

Beitrag von alex_evil »

How can I check this?

Thank's
Alessandro
alex_evil
Beiträge: 6
Registriert: Donnerstag 26. April 2012, 11:34

Re: Strange CPU Usage with fast run mode

Beitrag 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
Dateianhänge
screentest.JPG
screentest.JPG (173.02 KiB) 19745 mal betrachtet
compander
Beiträge: 657
Registriert: Dienstag 14. Oktober 2008, 17:06
Wohnort: Markt Schwaben

Re: Strange CPU Usage with fast run mode

Beitrag von compander »

Sim-Speed SLOW, please.
You have:
Dateianhänge
bsim.jpg
bsim.jpg (11.45 KiB) 19562 mal betrachtet
compander
Beiträge: 657
Registriert: Dienstag 14. Oktober 2008, 17:06
Wohnort: Markt Schwaben

Re: Strange CPU Usage with fast run mode

Beitrag von compander »

Projectfunction by SLOW OK?
abacom
Site Admin
Beiträge: 4099
Registriert: Dienstag 23. September 2008, 10:54
Kontaktdaten:

Re: Strange CPU Usage with fast run mode

Beitrag 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?
ABACOM support
alex_evil
Beiträge: 6
Registriert: Donnerstag 26. April 2012, 11:34

Re: Strange CPU Usage with fast run mode

Beitrag 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
abacom
Site Admin
Beiträge: 4099
Registriert: Dienstag 23. September 2008, 10:54
Kontaktdaten:

Re: Strange CPU Usage with fast run mode

Beitrag 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.
ABACOM support
Antworten

Zurück zu „Thema Modbus“