mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-05-23 18:02:29 -04:00
Close to OK with message averaging?
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/map65@2541 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
46280056b0
commit
6fce19c9f1
@ -53,15 +53,15 @@ subroutine decode0(dd,ss,savg,nstandalone)
|
|||||||
call timer('map65a ',0)
|
call timer('map65a ',0)
|
||||||
call map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
|
call map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
|
||||||
mousedf,mousefqso,nagain,ndecdone,ndiskdat,nfshift,ndphi, &
|
mousedf,mousefqso,nagain,ndecdone,ndiskdat,nfshift,ndphi, &
|
||||||
nfcal,nkeep,mcall3b,nsum,nsave0,nxant,rmsdd,mycall,mygrid, &
|
nfcal,nkeep,mcall3b,nsum,nsave,nxant,rmsdd,mycall,mygrid, &
|
||||||
neme,ndepth,hiscall,hisgrid,nhsym,nfsample,nxpol,mode65)
|
neme,ndepth,hiscall,hisgrid,nhsym,nfsample,nxpol,mode65)
|
||||||
|
|
||||||
call timer('map65a ',1)
|
call timer('map65a ',1)
|
||||||
call timer('decode0 ',1)
|
call timer('decode0 ',1)
|
||||||
if(nstandalone.eq.0) call timer('decode0 ',101)
|
if(nstandalone.eq.0) call timer('decode0 ',101)
|
||||||
|
|
||||||
write(*,1010) nsum,nsave0
|
write(*,1010) nsum,nsave
|
||||||
1010 format('<m65aFinished>',2i4)
|
1010 format('<DecodeFinished>',2i4)
|
||||||
flush(6)
|
flush(6)
|
||||||
|
|
||||||
return
|
return
|
||||||
|
@ -325,6 +325,11 @@ subroutine map65a(dd,ss,savg,newdat,nutc,fcenter,ntol,idphi,nfa,nfb, &
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if(ndphi.eq.1 .and.iloop.eq.12) call getdphi(qphi)
|
if(ndphi.eq.1 .and.iloop.eq.12) call getdphi(qphi)
|
||||||
|
if(nqd.eq.1) then
|
||||||
|
write(*,1013) nsum,nsave
|
||||||
|
1013 format('<QuickDecodeDone>',2i4)
|
||||||
|
flush(6)
|
||||||
|
endif
|
||||||
if(nagain.eq.1) go to 999
|
if(nagain.eq.1) go to 999
|
||||||
enddo
|
enddo
|
||||||
|
|
||||||
|
@ -821,6 +821,12 @@ void MainWindow::createStatusBar() //createStatusBar
|
|||||||
lab5->setMinimumSize(QSize(50,10));
|
lab5->setMinimumSize(QSize(50,10));
|
||||||
lab5->setFrameStyle(QFrame::Panel | QFrame::Sunken);
|
lab5->setFrameStyle(QFrame::Panel | QFrame::Sunken);
|
||||||
statusBar()->addWidget(lab5);
|
statusBar()->addWidget(lab5);
|
||||||
|
|
||||||
|
lab6 = new QLabel("Avg: 0/0");
|
||||||
|
lab6->setAlignment(Qt::AlignHCenter);
|
||||||
|
lab6->setMinimumSize(QSize(50,10));
|
||||||
|
lab6->setFrameStyle(QFrame::Panel | QFrame::Sunken);
|
||||||
|
statusBar()->addWidget(lab6);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWindow::on_tolSpinBox_valueChanged(int i) //tolSpinBox
|
void MainWindow::on_tolSpinBox_valueChanged(int i) //tolSpinBox
|
||||||
@ -1254,13 +1260,14 @@ void MainWindow::readFromStdout() //readFromStdout
|
|||||||
while(proc_m65.canReadLine())
|
while(proc_m65.canReadLine())
|
||||||
{
|
{
|
||||||
QByteArray t=proc_m65.readLine();
|
QByteArray t=proc_m65.readLine();
|
||||||
if(t.indexOf("<m65aFinished>") >= 0) {
|
if(t.indexOf("<QuickDecodeDone>") >= 0) {
|
||||||
// int nsum,nsave;
|
m_nsum=t.mid(17,4).toInt();
|
||||||
// scanf("<m65aFinished> %d %d",&nsum,&nsave);
|
m_nsave=t.mid(21,4).toInt();
|
||||||
// m_nsum=nsum;
|
QString t2;
|
||||||
// m_nsave=nsave;
|
t2.sprintf("Avg: %d/%d",m_nsum,m_nsave);
|
||||||
// qDebug() << m_nsum << m_nsave;
|
lab6->setText(t2);
|
||||||
qDebug() << t;
|
}
|
||||||
|
if(t.indexOf("<DecodeFinished>") >= 0) {
|
||||||
if(m_widebandDecode) {
|
if(m_widebandDecode) {
|
||||||
g_pMessages->setText(m_messagesText);
|
g_pMessages->setText(m_messagesText);
|
||||||
g_pBandMap->setText(m_bandmapText);
|
g_pBandMap->setText(m_bandmapText);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user