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

Making a library with external C functions

GunnarK
2015-04-08
2017-02-17
  • GunnarK - 2015-04-08

    Hello

    I want to make a library to access code written in C.
    Is this posible on the Raspberry Pi?

    As an example and test, how to make a "Hello world" function in C and access it in CoDeSys on the Raspberry Pi.

     
  • eschwellinger

    eschwellinger - 2015-04-08

    Hi,
    this is not possible with Raspberry Pi, (Runtime Toolkit would be needed -> this is not free of charge )
    there is coming up a "C-Integration" with 3.5SP7 (July)
    Maybe this would be then an option... not clear if this will be available with the PI.

    BR
    Edwin

     
  • kmpm

    kmpm - 2016-07-29

    Since we now have 3.5.9.10 are there any news on the C-Integration?

     
  • rickj - 2016-08-03

    Yes, I would like to know more about this as well.

    I am an independent developer and would like to make a robot interface library for a startup company's product who has agreed to cooperate. They would provide an API through a binary c library that I would have to call.

    I have read on the website this only possible or your OEM partners. But then I read Edwin's comments here and now I am not sure this is the case in the future.

    [edit]
    C-Integration is only possible with OEM Kit. Claruification in this thread:
    l viewtopic.php?f=11&t=7116 l

     
  • bacha.damin - 2017-02-17

    someone help me please,

    i have this problem when i try to use my c library in CODESYS project.

    the traduction of error in english :
    "The device version on the hardware seems to diverge from that used within the project. Try to synchronize the version of the device in the project with that currently on the hardware using an upgrade or downgrade"

    IMG: Sans titre.png

     

Log in to post a comment.