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

Filename of Project

shrimps
2020-05-18
2020-05-20
  • shrimps - 2020-05-18

    Hallo in die Runde,
    wie bekomme ich in Codesys v3.x den aktuellen Projektnamen ausgelesen.
    Ich möchte ihn gerne im SPS-Code haben.

    Beste Grüße
    Shrimps

     
  • RasPi-User - 2020-05-20

    Hallo Shrimps,
    unter folgenden Link ist eine Funktion ( GetAppInfo) beschrieben, die dir alle Applikationsinformationen ausliest.

    https://forge.codesys.com/forge/talk/Engineering/thread/0294f81bbb/

    Sie funktioniert sehr gut und ich benutze sie auch in meinen Projekten. Achte darauf, dass du die Bibliothek CmpApp einbindest.

    Beste Grüße
    Reinhard

     

Log in to post a comment.