REXYGEN Community Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Login

    REXLANG include file

    REXYGEN Studio
    rexlang
    3
    4
    1.4k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • cechuratC
      cechurat
      last edited by

      In general, it is possible to include other C files in REXLANG.
      However, including header files (".h") is not supported. It means that you have to include only source files (".c") with declaration inside. Including in REXLANG works as "virtual copy-paste" of mentioned C file.

      R 2 Replies Last reply Reply Quote 0
      • R
        RelaxC @cechurat
        last edited by

        @cechurat
        Hi I would like to evaluate the possibility to link my own C code with your software. The goal it to do a new block function ( Object block) on multi targets in your library software that i can use in your GUI. is It really possible ? do you have a link or documentation with an example. I dont know where i can find that. What compiler i need ? Thanks

        1 Reply Last reply Reply Quote 0
        • R
          RelaxC @cechurat
          last edited by

          @cechurat
          To be clear , I would like link a .so or .dll with the generated of rexygen, is it possible ? how i can do ? thank for your help

          R 1 Reply Last reply Reply Quote 0
          • R
            reitinge @RelaxC
            last edited by reitinge

            @relaxc Hello,

            • C code has certain limitations in the REXLANG block. A detailed description of the block is available here: https://www.rexygen.com/doc/ENGLISH/MANUALS/BRef/REXLANG.html#x274-27300015.
            • Examples for using the REXLANG block are available in the installation. By default on the C:\Program Files\REX Controls\REXYGEN 2.50.10.13491\Examples\0203_Function_Blocks_REXLANG path.
            • Compilation takes place only when translating the whole project in Rexygen Studio.
            • Unfortunately, .so or .dll files are not supported in REXLANG .
            • In REXYGEN, it is possible to call standard C language scripts with linked .so or .dll files. Scripts can be executed using the EPC block (documentation here).
            • If you can use Python instead of C, take a look at the Python block (documentation here).

            Cheers,
            Jan

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            This is a community forum for REXYGEN users and fans. Detailed information can be found at REXYGEN homepage.

            There is also an outdated REXYGEN community forum.

            Powered by NodeBB.