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

problem with SHM lib

2019-06-27
2019-07-03
  • mos89@yahoo.com - 2019-06-27

    When i use the example program compilation is OK
    when i try to use it on a new programm i have some errors unknown type and conversion error
    i am sure i miss something

    IMG: Untitled2.png

    IMG: Untitled.png

     
  • e.kislov - 2019-06-27

    Use namespaces:

    SysTypes.RTS_IEC_RESULT
    SysShm.SysSharedMemoryCreate
    ...

     
  • mos89@yahoo.com - 2019-06-27

    one library was missing SysTypes interfaces

    how to know dependcy between libs ?

     
  • e.kislov - 2019-06-27

    mos89@yahoo.com hat geschrieben:
    one library was missing SysTypes interfaces
    how to know dependcy between libs ?

    Press on "+" symbol in Library Manager beside library name.
    You should add SysTypes library or use nested namespace:

    SysShm.SysTypes.RTS_IEC_RESULT

     
  • mos89@yahoo.com - 2019-07-03

    e.kislov hat geschrieben:
    Press on "+" symbol in Library Manager beside library name.
    You should add SysTypes library or use nested namespace:
    SysShm.SysTypes.RTS_IEC_RESULT

    thanks

     
  • mos89@yahoo.com - 2019-07-03

    e.kislov hat geschrieben:
    Press on "+" symbol in Library Manager beside library name.
    You should add SysTypes library or use nested namespace:
    SysShm.SysTypes.RTS_IEC_RESULT

    I try to use anther lib CAA FILE

    How do i know the dependency ? CAA_FILENAME is unknonwn type

    IMG: codesys lib1.png

     
  • e.kislov - 2019-07-03

    FILE.CAA.FILENAME

     

Log in to post a comment.