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

    Best way to send commands over Ethernet to a 2Dcode (QRcode) reader

    Communication (RS232, RS485, I2C, SPI, UDP, TCP, ...)
    2
    2
    364
    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.
    • S
      sadilekivan
      last edited by

      Hello,

      The current project I am working on uses a 2Dcode (QRcode) reader. This reader is connected over a switch to the RPI and has a static IP address. Connecting to it with its assigned software is no problem. There is a basic terminal which I can send commands over to read the code and get the data back.

      Now I'm trying to send a command from the RPI with the Rexygen system and I'm quite lost on what to use. Is there a block that manages ethernet communication or should I move this logic into a python script and just exchange the data with that?

      Thank you.

      1 Reply Last reply Reply Quote 0
      • cechuratC
        cechurat
        last edited by jaroslav_sobota

        Hi Ivan,

        thank you for your question.
        Using REXLANG function block you can manage Ethernet communication - see REXLANG documentation - part Communication functions: https://www.rexygen.com/doc/PDF/ENGLISH/BRef_ENG.pdf#page=447

        Have a look also at "0504-01 Generic UDP Sender Receiver" example which can help you to start with the implementation.

        Regards, Tomas

        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.