On Thu, 7 Apr 2016, Peter M. Groen wrote:
In a for-loop, I'm sending 10 signals directly in one burst, like so :
for( int nCount = 0; nCount < number_of_signals; nCount++ )
{
std::cout << "[SignalSender::timerTimeOut] - "
<< QString( "Signal Sending. Timer : %1, Run : %2,
Sequence : %3" ) .arg( timer_interval_msecs )
.arg( run_number )
.arg( nCount ).toStdString() << std::endl;
emit signalSendSequence( timer_interval_msecs, run_number,
nCount ); QCoreApplication::processEvents();
}
The processEvents() call in the loop turns "one burst" into ten. Or worse.
Harri.
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest