Personal Data

Username:
jelle
Joined:
2020-06-29 09:48:24

Projects

  • No projects to display.

User Activity

  • Created ticket #18 on Scripting

    Installation of missing libraries

  • Posted a comment on discussion Engineering on CODESYS Forge

    Do you have a link? I am not aware that there is a central place to share scripts

  • Posted a comment on discussion Engineering on CODESYS Forge

    Some snippets that are interesting :) Script that lists all the library dependencies: proj = projects.open(projectPath) objects = proj.get_children(recursive=True) for candidate in objects: if candidate.is_libman: for libref in iter(candidate): if libref.is_placeholder: if libref.effective_resolution is not None: libInfo = str(libref.effective_resolution) libMissing = False elif libref.default_resolution is not None: libInfo = str(libref.default_resolution) libMissing = True elif libref.is_managed:...

  • Posted a comment on discussion Engineering on CODESYS Forge

    I solved the issue by creating 3 scripts: 1. script that lists all library dependencies 2. script in Python 3 that downloads the missing libraries 3. script that install the missing libraries

  • Modified a comment on discussion Engineering on CODESYS Forge

    Good advice as workaround but I am searching for an answer to my scripting problem.

  • Posted a comment on discussion Engineering on CODESYS Forge

    Good advice as workaround but I am searching for an answer to my question.

  • Modified a comment on discussion Engineering on CODESYS Forge

    I have been trying to automatically resolve missing libraries on our build PC. First I searched the forum and found some old topics that are relevant to automate CoDeSys prompts: - https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/ - https://forge.codesys.com/forge/talk/Engineering/thread/bf6c8291a5/ The following is now implemented as Python script that runs in CoDeSys V3.5 SP16: system.prompt_handling |= PromptHandling.LogMessageKeys system.prompt_handling &= ~PromptHandling.ForwardSimplePrompts...

  • Posted a comment on discussion Engineering on CODESYS Forge

    I have been trying to automatically resolve missing libraries on our build PC. First I searched the forum and found some old topics that are relevant to automate CoDeSys prompts: - https://forge.codesys.com/forge/talk/Engineering/thread/cb4c263657/ - https://forge.codesys.com/forge/talk/Engineering/thread/bf6c8291a5/ The following is now implemented as Python script that runs in CoDeSys V3.5 SP16: system.prompt_handling |= PromptHandling.LogMessageKeys system.prompt_handling &= ~PromptHandling.ForwardSimplePrompts...

View All