Hi, I have an application which using the AC_DataLogManager function to create csv file. After about 24h running I get following error:
2021-02-09T13:04:04Z, 0x00000011, 8, 81, 3, #### Exception: EXCEPTION[<excpt>AccessViolation</excpt>] occurred: App=[<app>Application</app>], Task=[<task>DataLogHighTask</task>]
2021-02-09T13:04:04Z, 0x00000011, 8, 81, 3, #### Exception: SOURCEPOSITION App=[<app>Application</app>] area=3, offset=<off>2413856</off>
Is there anyone who can give me a hint what the causing the error?
I do beleive there is some kind of timing error?
Please any help highly appreciated.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks for your answer Morberis
I've extended the tasktime and then it seems to be running but I've received buffer full messages/warning. I will increase the buffer size from 40000 up to 50000 and see what happens.
Would be nice to understand whats causing the problem?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
if you rightclick in the plc logger to these lines:
2021-02-09T13:04:04Z, 0x00000011, 8, 81, 3, #### Exception: EXCEPTION [<excpt>AccessViolation</excpt>] occurred: App=[<app>Application</app>], Task=[<task>DataLogHighTask</task>]
You should get info where it happens in the code.
Even if it is in a library...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi, I have an application which using the AC_DataLogManager function to create csv file. After about 24h running I get following error:
2021-02-09T13:04:04Z, 0x00000011, 8, 81, 3, #### Exception: EXCEPTION [<excpt>AccessViolation</excpt>] occurred: App=[<app>Application</app>], Task=[<task>DataLogHighTask</task>]
2021-02-09T13:04:04Z, 0x00000011, 8, 81, 3, #### Exception: SOURCEPOSITION App=[<app>Application</app>] area=3, offset=<off>2413856</off>
Is there anyone who can give me a hint what the causing the error?
I do beleive there is some kind of timing error?
Please any help highly appreciated.
A few suggestions, sorry if you've tried them already. But also when it does error, what size is the csv file?
-Try changing your task priorities so that nothing else is above the datalog high task.
-Try extending the task time
-Try increasing the buffer size.
Last edit: Morberis 2021-02-09
Thanks for your answer Morberis
I've extended the tasktime and then it seems to be running but I've received buffer full messages/warning. I will increase the buffer size from 40000 up to 50000 and see what happens.
Would be nice to understand whats causing the problem?
Hi,
if you rightclick in the plc logger to these lines:
2021-02-09T13:04:04Z, 0x00000011, 8, 81, 3, #### Exception: EXCEPTION [<excpt>AccessViolation</excpt>] occurred: App=[<app>Application</app>], Task=[<task>DataLogHighTask</task>]
You should get info where it happens in the code.
Even if it is in a library...
Thanks for answer eschwellinger!
I tried to right click in the plc logger online but didn't get any messages or nothing?
Add the project to Check...
Still I dont understand? Maybe you cold send a link or something so I could investigate?
if you think this is a bug -> send to projectarchive to CODESYS Store -> my questions - bugreport - to investigate