55 views
in System Integration by
Hello,

I currently have a very large buffer of data on my system I am trying to display on the GUI. I have a AttrText that shows activity data from the system that the user can slide through to view it. The AttrText displays a 1000 Byte string that holds data from the large buffer. I maintain this string by sending the string to the system, converting to an 8 bit string, and performing calculations to locate the string within the large buffer to add/remove text lines from the string depending on whether the user is scrolling up/down. The string is then converted back to 16-bit and sent to the GUI. This implementation works but it results in the GUI being a bit choppy when the user scrolls to the top or bottom edge of the 1000 Byte string. Is there a better way to display large amounts of scrollable data in the GUI that results in a smoother experience?

1 Answer

0 votes
by
Hello leo,

I don't know a better solution. Possibly you have to optimize it a little bit. Other option would be to maintain the entire text in a single large string and avoid the string manipulations. This depends on how much RAM your target system has available.

Best regards

Paul Banach

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...