Skip to main content
KM L.1
Associate III
October 21, 2020
Question

Touchgfx Splash Screen

  • October 21, 2020
  • 4 replies
  • 3002 views

I'm working on STM32H7 controller with TFT LCD.

Can anyone help me to splash screen for 3 seconds(The image should display for 3 sec and then switch to default screen).

Thank you

Komala

This topic has been closed for replies.

4 replies

Romain DIELEMAN
ST Employee
October 23, 2020

Hi,

What have you tried ? Could you explain exactly what you wish to do? You just want to display an image and then remove it after 3s?

Are you using the handleTickEvent() function ? Unless your hardware is not properly configured or you have a "heavy" UI (with complex 3d animations for example), 60 ticks should be 1 second. So you could wait for 180 ticks then set the image as non visible, with the NameOfImage.setVisible(false) function.

/Romain

N. SANTINI
ST Employee
October 26, 2020

Hi,

Just adding my two cents, the easiest way is to do it from the Designer tool:

  • set your splash screen as default one
  • add 2 interactions in the Designer:
    • Interaction1 :
      • trigger : screen is entered (application start),
      • action : wait for 3000 ms (adjust duration if needed)
      • check "can trigger another interaction"
    • Interaction2 :
      • trigger : Interaction1 has finished
      • action : change screen (select your actual first screen

Best regards

Nicolas

Associate III
December 8, 2023

Hi,

Actually the screen transition is working by enabling the RtoS. But I need the screen transition should happen by disabling the RtoS in my project. But unfortunately it is not happening in my case. 

Can you elaborate the reason and how to do the screen transition by disabling the Rtos ?

Thank you...

KM L.1
KM L.1Author
Associate III
October 26, 2020

Hi,

Thank you so much for your response and support.. Its working fine as i expected.

Thank you

Komala

KM L.1
KM L.1Author
Associate III
October 26, 2020

One more thing .. Is that possible to scroll the values using hardware button.