Skip to main content
SK S.1
Associate III
May 4, 2020
Question

How to draw a Strip chart on STM32F746GDISCOVERY Board using TouchGFX designer?

  • May 4, 2020
  • 4 replies
  • 3933 views

Hi

I'm using STM32F746GDiscovery board.

I'm using STMCubeIDE+ TouchGFX designer for GUI development.

Is it possible to design a Strip Chart using TouchGFX Designer?

If it is possible then please let me know the procedure.

With Regards

Sunil K S

Bangalore​

This topic has been closed for replies.

4 replies

Martin KJELDSEN
Principal III
May 4, 2020

Could you show an example of a strip chat style you want? Anything is possible :)

/Martin

SK S.1
SK S.1Author
Associate III
May 5, 2020

Hi Martin,

For example refer the attached image.

Strip chart need to be drawn for the sensor data received at a time interval of 500ms.

Please let me know the procedure to draw strip chart using TouchGFX designer.

With Regards

Sunil

Martin KJELDSEN
Principal III
May 5, 2020

There's no support for charts and diagrams or graphs in the designer =) But anything is possible outside of the designer as well.

Search this forum for a simple GraphApplication.zip that i uploaded a while back. It'll show you how to use the Canvas Widget Renderer in TouchGFX to draw a graph.

/Martin

SK S.1
SK S.1Author
Associate III
May 5, 2020

Thanks for the reply.

Any other Open Source GUI Tools which support drawing chart on STM32F746GDiscovery board LTDC display?Please let me know

With Regards

Sunil

Martin KJELDSEN
Principal III
May 5, 2020

Sorry, i just work on TouchGFX =) ST are phasing out emWin support (not a part of cubemx anymore) and Qt is a partner but they're not in CubeMX either, if you want help with HAL development. Only TouchGFX is supported there. Check out the Graph Application!

/Martin

Jagdish Bisawa
Visitor II
May 5, 2020

The best way would be, as Martin has suggested, to download & study the GraphApplication example in the forum. Further, there is a Graph widget available in the TouchGX Open Repository, which can also be a guide for you.

In any case, you will have to get familiar with the TouchGFX framework workings & C++ language. Knowledge of the FreeRTOS will also help.

Start with the TouchGFX designer & the discovery board & download simple examples to the board to get a feel of the framework & then move on to the the example suggested by Martin, along with the Graph available in the open repository.

To achieve what you want, you will have to create your own custom widget to exhibit the behaviour of a strip chart.

/Jagdish

SK S.1
SK S.1Author
Associate III
May 6, 2020

Thanks Jagdish for your guidance.

/Sunil