Skip to main content
moredatalesscenter
Associate III
April 15, 2021
Question

Noticeable lag updating texts rapidly

  • April 15, 2021
  • 2 replies
  • 796 views

If I alternate a text between displaying a pair of floating point numbers, e.g. 10.0005 and 5.0000, very briefly these are drawn incorrectly as 10.0000 and 5.0005, before the correct value is drawn. There seems to be a lag between the first and last character updated.

This is using snprintf() to update a char array from the float, then Unicode::strncpy() to update the text buffer from the char array, finally invalidating the text.

This topic has been closed for replies.

2 replies

Romain DIELEMAN
ST Employee
April 16, 2021

Hi,

Do you also experience this issue with the simulator or only on your hardware ? Are you working with a custom board or a ST development kit ? If you are working with a ST kit, are you using the corresponding application template available in TouchGFX Designer ?

Could you maybe share your project so that we cam try to replicate this issue ?

/Romain

moredatalesscenter
Associate III
April 16, 2021

Only on my hardware, which is custom. The simulator is fine, which presumably rules out any issues in the TouchGFX framework. I'll continue investigating my application code, as this doesn't sound like it is a known issue. Thanks.