cancel
Showing results for 
Search instead for 
Did you mean: 

Touchgfx Splash Screen

KM L.1
Associate II

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

5 REPLIES 5
Romain DIELEMAN
ST Employee

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

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

KM L.1
Associate II

Hi,

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

Thank you

Komala

KM L.1
Associate II

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

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...