mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-08-05 15:42:24 -04:00
Try up to three times to open 'decoded.txt".
git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@7559 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
1f65b19bf1
commit
f66d142963
@ -68,13 +68,23 @@ subroutine multimode_decoder(ss,id2,params,nfsample)
|
|||||||
nz=min(NTMAX*12000,kbad+100)
|
nz=min(NTMAX*12000,kbad+100)
|
||||||
! id2(1:nz)=0 ! temporarily disabled as it can breaak the JT9 decoder, maybe others
|
! id2(1:nz)=0 ! temporarily disabled as it can breaak the JT9 decoder, maybe others
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if (params%nagain) then
|
nfail=0
|
||||||
open(13,file=trim(temp_dir)//'/decoded.txt',status='unknown', &
|
10 if (params%nagain) then
|
||||||
position='append')
|
open(13,file=trim(temp_dir)//'/decoded.txt',status='unknown', &
|
||||||
|
position='append',iostat=ios)
|
||||||
else
|
else
|
||||||
open(13,file=trim(temp_dir)//'/decoded.txt',status='unknown')
|
open(13,file=trim(temp_dir)//'/decoded.txt',status='unknown', &
|
||||||
|
iostat=ios)
|
||||||
end if
|
end if
|
||||||
|
if(ios.ne.0) then
|
||||||
|
nfail=nfail+1
|
||||||
|
if(nfail.le.3) then
|
||||||
|
call sleep_msec(100)
|
||||||
|
go to 10
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
if(params%nmode.eq.4 .or. params%nmode.eq.65) open(14,file=trim(temp_dir)// &
|
if(params%nmode.eq.4 .or. params%nmode.eq.65) open(14,file=trim(temp_dir)// &
|
||||||
'/avemsg.txt',status='unknown')
|
'/avemsg.txt',status='unknown')
|
||||||
if(params%nmode.eq.164) open(17,file=trim(temp_dir)//'/red.dat', &
|
if(params%nmode.eq.164) open(17,file=trim(temp_dir)//'/red.dat', &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user