mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-11-26 06:08:42 -05:00
More diagnostic output, better format, to "diag.txt".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8609 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
62a6ab86a8
commit
5307289ef8
@ -7744,7 +7744,11 @@ void MainWindow::foxTest()
|
||||
QFile f("steps.txt");
|
||||
if(!f.open(QIODevice::ReadOnly | QIODevice::Text)) return;
|
||||
|
||||
QFile fdiag("diag.txt");
|
||||
if(!fdiag.open(QIODevice::WriteOnly | QIODevice::Text)) return;
|
||||
|
||||
QTextStream s(&f);
|
||||
QTextStream sdiag(&fdiag);
|
||||
QString line;
|
||||
QString t;
|
||||
QString msg;
|
||||
@ -7791,7 +7795,12 @@ void MainWindow::foxTest()
|
||||
foxRxSequencer(msg,hc1,rptRcvd);
|
||||
}
|
||||
if(line.contains("Tx1:")) foxTxSequencer();
|
||||
|
||||
qDebug() << "aa" << m_maxQSOs << m_houndQueue.count() <<m_foxQSOinProgress.count()
|
||||
<< m_foxRR73Queue.count() << line.mid(37).trimmed();
|
||||
t.sprintf("%3d %3d %3d %3d %3d %3d ",m_maxQSOs,m_houndQueue.count(),
|
||||
m_foxQSOinProgress.count(),m_foxRR73Queue.count(),m_foxQSO.count(),
|
||||
m_loggedByFox.count());
|
||||
sdiag << t << line.mid(37).trimmed() << "\n";
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user