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

Saving Trace

jkobi
2021-10-27
2021-10-27
  • jkobi

    jkobi - 2021-10-27
    Hello I am actually doing a Trace with codesys V3.5 and I don't understand how can I save the trace in a file
    
    If someone can help me thank you
    
     
  • BY

    BY - 2021-10-27

    I am not sure I understood correct. If you click right on the trace page, then you can save your trace with "Save trace" item on there.

     
  • jkobi

    jkobi - 2021-10-27

    Actually I try to do that and it's there is not even a "save trace" and I would like to do it automatically like when a condition happen,a file is create with a save of the trace.

     
  • BY

    BY - 2021-10-27

    You can automatically record a trace with a variable in the program. also you can add a condition to it. You can see these futures on the "Trace configuration" window (right click on the trace page and click "Configuration").

    But I am not sure that you can save the trace automatically. Normally you should have "Save trace" item when you right clicked on the trace page. At least I have.

     
  • jkobi

    jkobi - 2021-10-27

    Well i forgot to say hat I want it in the visualisation but i find out how to do it but now I save the trace and i want to load them but there is an error and the file is different that normal ones

    If someone can help me

     
  • jkobi

    jkobi - 2021-10-27

    And the error

     
  • BY

    BY - 2021-10-27

    Ah ok. Now I tried "trace" on visualization and saved successfully. Also I could load the trace file.

    without seeing your configuration, it's hard to say something but you need to be carefull with the trace name, configuration when you want to load. They need to be same with saved trace. Other wise loading is not possible.
    Also you need to be sure that you are on the same application with the saved trace. If you download another application and load the saved trace previously, then loading is not possible again.

    I hope these can help you.

     
  • jkobi

    jkobi - 2021-10-27

    Thank you for your response I also succesfully load it but Know I would like to know if I can restart a new trace after I load the file which mean unload it and restart the trace ?

     
  • BY

    BY - 2021-10-27

    I think no. After loading, you need to restart application again. Otherwise, it does not permit to start the trace again.

     

Log in to post a comment.