QT Timers Delay in Process



  • HI all,

    I am newbie to QT. As i am developing an application, got struck with the timers controls. I want to run 6 timers at time in some conditions. and in some conditions 3 timers.

    In this process 2 timers got delayed bcoz of the other as per my knowledge i think so.

    My timers n its intervals r as follows -
    1st timer -
    @
    timer_HMIScrLvl4 = new QTimer(this);
    connect(timer_HMIScrLvl4, SIGNAL(timeout()), this, SLOT(update_HMIScrLvl4()));
    timer_HMIScrLvl4->setInterval(100);@
    2nd timer -
    @ Timer_failure_display = new QTimer(this);
    connect(Timer_failure_display, SIGNAL(timeout()), this, SLOT(failure_display()));
    Timer_failure_display->setInterval(250);@
    3rd timer -
    @ Timer_footer = new QTimer(this);
    connect(Timer_footer, SIGNAL(timeout()), this, SLOT(footer()));
    Timer_footer->setInterval(250);@
    4th timer -
    @ Timer_diagonostic_refresh = new QTimer(this);
    connect(Timer_diagonostic_refresh, SIGNAL(timeout()), this, SLOT(diagonostic_refresh()));
    Timer_diagonostic_refresh->setInterval(50);@
    5th Timer -
    @ Timer_information_refresh = new QTimer(this);
    connect(Timer_information_refresh, SIGNAL(timeout()), this, SLOT(information_refresh()));
    Timer_information_refresh->setInterval(25);@
    6th timer -
    @ Timer_footer = new QTimer(this);
    connect(Timer_footer, SIGNAL(timeout()), this, SLOT(footer()));
    Timer_footer->setInterval(250);@

    1st & 2nd timers are the main timers i should not wanted them to be delayed, they should run at a time.

    Thanks in Advance.

    Forgive me if any thing i posted is against to the rules if the forum.

    plzz help me if possible as early as possible.



  • Closed as "duplicate":/forums/viewthread/20492/


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.