Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How can i read data from com port of Pos device on Qt

How can i read data from com port of Pos device on Qt

Scheduled Pinned Locked Moved Unsolved General and Desktop
3 Posts 3 Posters 169 Views
  • 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.
  • C Offline
    C Offline
    coyistik
    wrote on last edited by
    #1

    I could do that but device is far away from me so i cant test it. What you suggest me and do i need a 3rd party library or can i do that with qt tools ? I should to listen serial port when connected to pc with usb of pos device.
    When i arrive that infos i will wrapped that values in database as synchronously. Just i don't know how the data will come. Maybe json or xml i need to go and test it. How i can sure ?

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      The first step would be to check the documentation of your device. They should provide you with that information.

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      2
      • mrjjM Offline
        mrjjM Offline
        mrjj
        Lifetime Qt Champion
        wrote on last edited by mrjj
        #3

        Hi
        And Qt has
        https://doc.qt.io/qt-5/qserialport.html
        to read/write to comports.

        You can use this Demo to test the comm with the device if you get access to it.
        https://doc.qt.io/qt-5/qtserialport-terminal-example.html

        1 Reply Last reply
        2

        • Login

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • Users
        • Groups
        • Search
        • Get Qt Extensions
        • Unsolved