From be0214af792f1619719d2380197411a4e99553b2 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Fri, 24 Mar 2006 21:13:27 +0000 Subject: [PATCH] Fixed so that files can be read while Monitoring or Auto is on. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/trunk@135 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- getfile.f90 | 9 +-------- spec.f90 | 1 - wsjt.py | 2 +- 3 files changed, 2 insertions(+), 10 deletions(-) diff --git a/getfile.f90 b/getfile.f90 index 26a1b0e93..304fd584b 100644 --- a/getfile.f90 +++ b/getfile.f90 @@ -41,7 +41,6 @@ subroutine getfile(fname,len) #ifdef Win32 open(10,file=fname,form='binary',status='old',err=998) read(10,end=998) hdr - #else call rfile2(fname,hdr,44+2*NDMAX,nr) #endif @@ -75,13 +74,7 @@ subroutine getfile(fname,len) #endif endif - if(monitoring.eq.0) then -! In this case, spec should read data from d2c -! jzc=jzc/2048 -! jzc=jzc*2048 - ndiskdat=1 - endif - + ndiskdat=1 mousebutton=0 go to 999 diff --git a/spec.f90 b/spec.f90 index 65e7a7e60..423eee16e 100644 --- a/spec.f90 +++ b/spec.f90 @@ -199,7 +199,6 @@ subroutine spec(brightness,contrast,logmap,ngain,nspeed,a) nspeed0=nspeed endif -! print*,brightness,contrast,logmap,gain,gamma,offset do i=1,iz n=0 if(a0(i).gt.0.0 .and. logmap.eq.1) n=gain*log10(0.001*a0(i)) + offset + 20 diff --git a/wsjt.py b/wsjt.py index 9f44e186c..c94360e8b 100644 --- a/wsjt.py +++ b/wsjt.py @@ -1,4 +1,4 @@ -#---------------------------------------------------------------- WSJT +#------------------------------------------------------------------ WSJT from Tkinter import * from tkFileDialog import * import Pmw