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. QserialPort Frame Burts / time efficiency
Forum Updated to NodeBB v4.3 + New Features

QserialPort Frame Burts / time efficiency

Scheduled Pinned Locked Moved General and Desktop
1 Posts 1 Posters 273 Views 1 Watching
  • 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.
  • Flaming MoeF Offline
    Flaming MoeF Offline
    Flaming Moe
    wrote on last edited by Flaming Moe
    #1

    Hello there,

    i´m new to serial communication on OS driven Platforms and have a question regarding efficency of Portusage.

    Let´s assume the following Szenario:
    I have a Qt project where are existing several instances of Class. These classes are kind of mirrors of physical existing devices which are connected in a bus through a USB<=>Uart Bridge.

    There are two ways possible to do the communication.
    1.) Send a Frame in a Byteburst for each Instance-PhysicalDevice Pair (calling serial.write severall times)

    2.) Gather all Frames and send them in one large frame (calling serial.write just once)

    I´m talking about ~20 Instance-PhysicPairs.
    Is one large frame "MUCH" more efficient or just "a little" more efficient than multiple bursts?

    best regards,
    Moe

    A lovely day for a ̶g̶̶u̶̶i̶̶n̶̶n̶̶e̶̶s̶ DUFF^^

    1 Reply Last reply
    0

    • Login

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