308 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...