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

Library Documentation check with script

esskaey
2016-04-27
2016-04-28
  • esskaey - 2016-04-27

    Hello,

    I am currently using Codesys v3.5 sp8 to build libraries and subsequently *.compiled-library files with DocFormat property as reStructuredText. Along with the POUs, the documentation is also compiled for Errors ( during save Project as compiled library). Is there any means to check the "library documentation" for Errors using script before starting to save it as compiled library?.

    An example script will help me a Long way. Thanks in advance.

    BR,

    SK

     
  • Anonymous - 2016-04-28

    Originally created by: M.Schaber

    The online help for the library documentation should describe how the json file is exported and how the libdoc.exe is used for transformation. It returns an error code if something goes wrong.

    This chain of tools can also be triggered via python scripts, you can use the .NET System.Diagnostics.Process API or the python process apis to control the libdoc.exe.

    We have some scripts in-house, but they need to be a bit polished before being published, we expect to have one available next week.

     

Log in to post a comment.