Skip to main content
BDaki.1
Associate II
Aug 2, 2022 10:34 AM UTC
Question

Hi, regards to all. I would like to know how the model via presenter can force the view to make some change on the screen. For example, how to show new value of variable changed outside of the view.

 I could variable received in model by ModBus, to show on the actual screen.

This topic has been closed for replies.

3 replies

wired
Senior II
Aug 2, 2022 11:24 AM UTC

I suggest you familiarize yourself with the online documentation for TouchGFX. It includes tutorials on exactly how to do this.

MM..1
Super User
Aug 2, 2022 11:40 AM UTC

Model is designed to quick handle operation. Place here wait for low speed protocols data isnt good idea.

Only if is handled offload (DMA,IT) otherwise place this code into next thread in rtos...

BDaki.1
BDaki.1Author
Associate II
Aug 2, 2022 12:41 PM UTC

Thank You dear,

Your suggestion is very helpful.