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

Fehlende IODrvGPIO Bibliothek

riesermauf
2015-10-23
2015-11-02
  • riesermauf

    riesermauf - 2015-10-23

    Hallo
    bei mir fehlt die obige Bibliothek, ich habe schon probiert unter
    Bibliotheksverwalter - Download fehlender Bibliotheken, aber da kommt immer
    der Fehler "Download fehlgeschlagen", wie komme ich zu dieser Bibliothek, ich arbeite mit
    der aktuellen CoDeSYS Version 3.5 SP7 Patch 2.

    l.g.

    IMG: Codesys_Download.jpg

     
  • eschwellinger

    eschwellinger - 2015-10-24

    Hallo,

    du musst mit rechtsclick im Geräte Baum auf dem Pi dessen Version aktualisieren dann passt alles wieder zusammen.

    Der Grund warum dieses Bibliothek nicht nachladbar ist (im Moment vielleicht kann man das ändern)
    diese Bibliotheken und viele andere werden beim Raspberry Pi als offene Bibliothek mit dem Package ausgeliefert. (Damit User reinschauen können wie es realisiert ist und auch ändern könnten wenn Sie es wollen)
    "c:\Users\DeinWindowsUsername\CODESYS Control for Raspberry PI\2.2.0.2\Libraries\IoDrvGPIO.library"

    Dein Problem ist also vermutlich: In deinem Projekt verwendest du eine ältere Pi Gerätebeschreibungsversion die auch eine ältere GPIO library anzieht die aber auf deinem System nicht installiert ist. (vermutlich hast du die Fehlende Pi Gerätebeschreibung ja über den Download nachgeladen?)
    Daher -> Gerät aktualisieren im Projekt auf den Raspberry Pi (rechtclick im Baum)..
    GPIO's im Gerätebaum löschen + wieder neu einfügen dabei wird die neue Lib dann verwendet (die ja auch auf deinen System ist)

    Grüße
    Edwin

     
  • riesermauf

    riesermauf - 2015-10-24

    Hallo Edwin

    danke für die Hilfe, aber ich glaube bei mir passt irgend etwas im System nicht.
    Als ich das "CODESYS Control for Raspberry PI_2.2.0.2.package" installiert habe
    sind drei Fehlermeldungen gekommen und zwar das unter anderem eben die IODRVGPIO
    Bibliothek nicht installiert werden kann da das Verzeichnis nicht leer ist (siehe Anhang).
    Habe das packege deinstalliert und nochmals neu installiert, aber der Fehler bleibt.

    Ich habe das Demo Projekt Webvisu aus obigen Package verwendet, desweiteren
    sehe ich den Gerätebaum nicht.

    Schönes Wochenende

    IMG: Codesys_Fehler_Install1.jpg

    IMG: Codesys_Fehler_Install2.jpg

    IMG: Codesys_Fehler_Install3.jpg

     
  • eschwellinger

    eschwellinger - 2015-10-25

    Hi,
    hm.. was komisches ich würde mal folgendes versuchen:
    1. Pi Package deinstallieren
    Verzeichnis: ,"c:\Users\<deinwindowsusername>\CODESYS Control for Raspberry PI\2.2.0.2" löschen
    2. Pi Package neu installieren - schauen ob es ohne Fehlermeldung funktioniert</deinwindowsusername>

    Wenn immer noch Fehlermeldung beim installieren kommen mal Windows temp Verzeichnis anschauen..
    cd %temp%
    wieviele Dateien findest du hier?

    Grüße
    Edwin

     
  • riesermauf

    riesermauf - 2015-10-27

    Hallo
    das Pi Package habe ich vorab schon einmal deinstalliert und das
    Verzeichnis gelöscht, bei der Neuinstallation sind eben obige Fehler
    wieder gekommen.

    Unter C:\Windows\temp sind halt die üblichen log und txt Dateien
    von den Windows Sicherheitsupdates (KB.....)

    Unter cd %temp% (c:\Users\ich\AppData\Local\Temp\ sind relativ viele
    Dateien und Verzeichnisse, unter anderem auch ein "ElementPreview100v357.project"

    Sonst kann ich nichts in Bezug auf Codessys finden.

    Ich habe auch schon die komplette Codesys Programmierumgebung de- und wieder
    neu installiert.

    l.g.

     
  • eschwellinger

    eschwellinger - 2015-10-27

    Hi,

    da hilft fürchte ich nur das DiagnoseTool zu verwenden und uns das log zu schicken.

    "c:\Program Files (x86)\3S CODESYS\CODESYS\Common\DiagnosisToolLauncher.exe"

    oder alternativ zusammen draufschauen dazu pm an Support schreiben.

    Grüße
    Edwin

     
  • riesermauf

    riesermauf - 2015-10-27

    Hallo

    ein Auszug vom Package Manager Installations-Log

    ================================================================================
    Kind:            Bibliothek
    Data:            Libraries/RaspberryPiCamera.compiled-library
    Data ID:         RaspberryPiCamera, 3.5.4.0 (3S - Smart Software Solutions GmbH)
    Current profile: 
    ================================================================================
    Target item is existing. Checksum is 'B7-24-49-66-B0-8F-58-78-23-F3-59-C5-36-27-36-FA'.
    Source item is identical to target item.
    Reference counter is already existing. Value is '4'.
    ==> Reference counter has been incremented.
    Das Verzeichnis ist nicht leer.
    Stack trace follows:
       bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
       bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
       bei _3S.CoDeSys.LibManObject.LibraryLoader.UnloadTemporaryLibrary(String stTemporaryLibraryId)
       bei _3S.CoDeSys.LibManObject.LibraryBrowserLibrary..ctor(IManagedLibrary library, String stPath)
       bei _3S.CoDeSys.LibManObject.LocalLibraryBrowser.CreateLibrary(IManagedLibrary manlib)
       bei _3S.CoDeSys.LibManObject.LocalLibraryBrowser.AddLibrary(IManagedLibrary library, String stPath, Boolean writeImmediately)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.DoInstallLibrary(String path, Boolean overwrite, Boolean sandbox)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.DoInstallLibrary(String path, Func`1 queryOverwriteCallback, Boolean sandbox)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.InstallLibrary(String stPath, Func`1 queryOverwriteCallback)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.InstallLibrary(String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.LibManObject.UnderlyingManagedLibraryManager.InstallLibrary(IManagedLibraryRepository repos, String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.LibManObject.ManagedLibraryManager.InstallLibrary(IManagedLibraryRepository repos, String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.PackageManagement.LibraryItem.get_DisplayName()
       bei _3S.CoDeSys.PackageManagement.LibraryItem.GetDataId(IPackageInstallationContext context)
       bei _3S.CoDeSys.PackageManagement.Logger.OnLogItem(Object sender, LogItemEventArgs e)
       bei _3S.CoDeSys.PackageManagement.PackageInstallationContext.ReportLogItem(IItem item)
       bei _3S.CoDeSys.PackageManagement.Installer.DoExecuteItemInner(IItem item, Boolean& bNeedRestart, Boolean& bNeedOptionProtection)
    ================================================================================
    Kind:            Bibliothek
    Data:            Libraries/SM3_Drive_Servo.library
    Data ID:         SM3_Drive_Servo, 1.4.0.0 (3S - Smart Software Solutions GmbH)
    Current profile: 
    ================================================================================
    Target item is existing. Checksum is '57-83-58-A6-D4-2A-D1-A6-90-32-FE-06-70-75-EE-5E'.
    Source item is identical to target item.
    Reference counter is already existing. Value is '4'.
    ==> Reference counter has been incremented.
    ================================================================================
    Kind:            Bibliothek
    Data:            Libraries/SPI_MCP3008.library
    Data ID:         Raspberry SPI MCP3008, 1.1.0.0 (3S - Smart Software Solutions GmbH)
    Current profile: 
    ================================================================================
    Target item is existing. Checksum is 'F5-EF-1A-BC-70-E1-04-B9-DC-F5-DE-6A-F2-22-32-64'.
    Source item is identical to target item.
    Reference counter is already existing. Value is '3'.
    ==> Reference counter has been incremented.
    ================================================================================
    Kind:            Bibliothek
    Data:            Libraries/SPI_PiFace.library
    Data ID:         Raspberry SPI PiFace, 1.2.0.0 (3S - Smart Software Solutions GmbH)
    Current profile: 
    ================================================================================
    Target item is existing. Checksum is 'A4-C3-6F-4F-F6-C0-77-79-16-FF-E9-21-77-1D-60-D6'.
    Source item is identical to target item.
    Reference counter is already existing. Value is '1'.
    ==> Reference counter has been incremented.
    ================================================================================
    Kind:            Bibliothek
    Data:            Libraries/I2C_AdafruitPWM.library
    Data ID:         Raspberry I2C AdafruitPWM, 1.2.0.0 (3S - Smart Software Solutions GmbH)
    Current profile: 
    ================================================================================
    Target item is existing. Checksum is 'D4-19-18-6B-F3-11-B6-C1-A5-4C-25-2C-C1-CE-50-C9'.
    Source item is identical to target item.
    Reference counter is already existing. Value is '2'.
    ==> Reference counter has been incremented.
    Das Verzeichnis ist nicht leer.
    Stack trace follows:
       bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
       bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
       bei _3S.CoDeSys.LibManObject.LibraryLoader.UnloadTemporaryLibrary(String stTemporaryLibraryId)
       bei _3S.CoDeSys.LibManObject.LibraryBrowserLibrary..ctor(IManagedLibrary library, String stPath)
       bei _3S.CoDeSys.LibManObject.LocalLibraryBrowser.CreateLibrary(IManagedLibrary manlib)
       bei _3S.CoDeSys.LibManObject.LocalLibraryBrowser.AddLibrary(IManagedLibrary library, String stPath, Boolean writeImmediately)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.DoInstallLibrary(String path, Boolean overwrite, Boolean sandbox)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.DoInstallLibrary(String path, Func`1 queryOverwriteCallback, Boolean sandbox)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.InstallLibrary(String stPath, Func`1 queryOverwriteCallback)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.InstallLibrary(String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.LibManObject.UnderlyingManagedLibraryManager.InstallLibrary(IManagedLibraryRepository repos, String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.LibManObject.ManagedLibraryManager.InstallLibrary(IManagedLibraryRepository repos, String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.PackageManagement.LibraryItem.get_DisplayName()
       bei _3S.CoDeSys.PackageManagement.LibraryItem.GetDataId(IPackageInstallationContext context)
       bei _3S.CoDeSys.PackageManagement.Logger.OnLogItem(Object sender, LogItemEventArgs e)
       bei _3S.CoDeSys.PackageManagement.PackageInstallationContext.ReportLogItem(IItem item)
       bei _3S.CoDeSys.PackageManagement.Installer.DoExecuteItemInner(IItem item, Boolean& bNeedRestart, Boolean& bNeedOptionProtection)
    Das Verzeichnis ist nicht leer.
    Stack trace follows:
       bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
       bei System.IO.Directory.DeleteHelper(String fullPath, String userPath, Boolean recursive, Boolean throwOnTopLevelDirectoryNotFound)
       bei System.IO.Directory.Delete(String fullPath, String userPath, Boolean recursive, Boolean checkHost)
       bei _3S.CoDeSys.LibManObject.LibraryLoader.UnloadTemporaryLibrary(String stTemporaryLibraryId)
       bei _3S.CoDeSys.LibManObject.LibraryBrowserLibrary..ctor(IManagedLibrary library, String stPath)
       bei _3S.CoDeSys.LibManObject.LocalLibraryBrowser.CreateLibrary(IManagedLibrary manlib)
       bei _3S.CoDeSys.LibManObject.LocalLibraryBrowser.AddLibrary(IManagedLibrary library, String stPath, Boolean writeImmediately)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.DoInstallLibrary(String path, Boolean overwrite, Boolean sandbox)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.DoInstallLibrary(String path, Func`1 queryOverwriteCallback, Boolean sandbox)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.InstallLibrary(String stPath, Func`1 queryOverwriteCallback)
       bei _3S.CoDeSys.LibManObject.AbstractFileBasedManagedLibraryRepository.InstallLibrary(String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.LibManObject.UnderlyingManagedLibraryManager.InstallLibrary(IManagedLibraryRepository repos, String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.LibManObject.ManagedLibraryManager.InstallLibrary(IManagedLibraryRepository repos, String stPath, Boolean bOverwrite)
       bei _3S.CoDeSys.PackageManagement.LibraryItem.get_DisplayName()
       bei _3S.CoDeSys.PackageManagement.LibraryItem.GetDataId(IPackageInstallationContext context)
       bei _3S.CoDeSys.PackageManagement.Logger.OnLogItem(Object sender, LogItemEventArgs e)
       bei _3S.CoDeSys.PackageManagement.PackageInstallationContext.ReportLogItem(IItem item)
       bei _3S.CoDeSys.PackageManagement.Installer.DoExecuteItemInner(IItem item, Boolean& bNeedRestart, Boolean& bNeedOptionProtection)
    

    wo eben die Meldung steht, das das Verzeichnis nicht leer ist

    Weiters im Anhang das log File vom Diagnose Tool, ich musste die Datei auf txt umbenennen
    da diese sonst nicht hochgeladen werden kann.

    l.g.

    27.10.2015 15 51 54.txt [51.58 KiB]

     
  • eschwellinger

    eschwellinger - 2015-10-28

    Hi,
    am besten du meldest dich mal beim 3S Support.

    Grüße
    Edwin

     
  • riesermauf

    riesermauf - 2015-10-30

    Hallo Edwin

    nochmals danke für die schnelle und kompetente Hilfe bei meinem Problem.

    Ich habe aber noch ein Problem mit der Lizenz am Raspi, im codesyscontrol.log
    steht * CoDeSysControl DEMO VERSION - runs 2 hours ** obwohl
    ich eine gültige Lizenz habe.

    Ich habe schon das bäckup zurück in den restore Ordner kopiert und den
    Raspi neu gestartet, aber die Demo Version bleibt.

    Hat das upgrade des Raspi (z.B. Kernel von 3.12.35 auf 4.1.12+) eine Auswirkung
    auf die Lizenz.
    Wie stelle ich fest ob die Lizenz gültig ist (im Ordner backup liegt ein file "3SLicenseInfo.tar"

    Ich habe mir das codesyscontrol.log nochmals durchgeschaut und eine Zeile entdeckt:
    runtime license detected - switching to unlimited mode
    bedeutet das, das die Lizenz aktiv ist.

    Danke und schönes Wochenende

     
  • eschwellinger

    eschwellinger - 2015-10-30

    Hallo,

    ja das ist ok, wenn man die SPS startet kommt diese Demo Meldung,
    die wir aber dann beim ersten auslesen "runtime license detected - switching to unlimited mode"
    wenn ne Lizenz gefunden wird.
    Also alles bestens.
    Überprüfen ob die Lizenz ok kann man auch wenn man an der Stelle wo man die Lizenz aktiviert hat (Also online gehen und SPS- Einstellungen)
    die Lizenz Einstellung anschaut, hier kann man prüfen ob die Lizenz auf dem Gerät.

    Grüße
    Edwin

    IMG: BrowseLicenses.jpg

     
  • riesermauf

    riesermauf - 2015-11-02

    Hallo Edwin

    danke für die Antwort, der Text "* CoDeSysControl DEMO VERSION - runs 2 hours **"
    am Anfang der log Datei ist halt ein bisschen verwirrend.

    lg.

     

Log in to post a comment.