Welcome to our new forum
All users of the legacy CODESYS Forums, please create a new account at account.codesys.com. But make sure to use the same E-Mail address as in the old Forum. Then your posts will be matched. Close

Alarm History Access Error

lsislsis
2016-06-03
2016-06-06
  • lsislsis - 2016-06-03

    When access for the first time the alarm history i get the following error.

    After restarting of visualization all works fine.
    Any suggestion?

    Regards

    IMG: AlarmHistoryError.png

     
  • eschwellinger

    eschwellinger - 2016-06-04

    Hi,
    if you rightclick on this exception line in the logger you could go to the source line in the code
    where the problem happens.
    Cold you please try to do this and give us this Information if this happens in the application or library?
    BR
    Edwin

     
  • lsislsis - 2016-06-05

    Hi
    Only this Exception have right click function and give this MSG.

    Regards

    IMG: AlarmHistoryErr.png

     
  • eschwellinger

    eschwellinger - 2016-06-05

    Hi,
    not really sure, there is an entry in the tracking database which describe this.
    It happens if you had already downloaded a alarm table (project which uses alarming) and now you download a new appliaction with new and different alarm configuratin.
    So for me it sounds like the workaround would be:
    Delete the alarmtable by a reset origin or by using the CODESYS file bowser then this should not happen.
    Could you verify this workaround?

    BR
    Edwin

     
  • lsislsis - 2016-06-05

    NOP

    After many tries with clear download and with deleting the old alarm files i take the same error.

    Where can i find this command because i can't find it?

    Regards

    IMG: AlarmHistoryErr.png

     
  • eschwellinger

    eschwellinger - 2016-06-06

    Hi,
    you need to set by rightclick to your application -properties-build- compiler define;

    VISU_NO_EXCEPTION_HANDLING
    

    Maybe you need to send the projectarchive for further investigations.
    BR
    Edwin

     
  • lsislsis - 2016-06-06

    I think the problem exists when the speed of file opening is slow.
    Because i see the problem exists most of times when we have some alarms in history not in an empty alarm history.

    If i use the same project with Control Win runtime all works OK without problem.

    Regards

     

Log in to post a comment.