Increase Tx waveform storage & update wide graph nsps for FST240

This commit is contained in:
Bill Somerville 2020-07-18 10:35:26 +01:00
parent 4e0f1103b6
commit 8b35e744d0
No known key found for this signature in database
GPG Key ID: D864B06D1E81618F
3 changed files with 4 additions and 2 deletions

View File

@ -85,7 +85,7 @@ extern struct {
} echocom_; } echocom_;
extern struct { extern struct {
float wave[14278656]; float wave[(160+2)*134400*4]; /* (nsym+2)*nsps scaled up to 48kHz */
int nslots; int nslots;
int nfreq; int nfreq;
int i3bit[5]; int i3bit[5];

View File

@ -15,7 +15,7 @@ subroutine foxgen()
! common block. ! common block.
parameter (NN=79,ND=58,NSPS=4*1920) parameter (NN=79,ND=58,NSPS=4*1920)
parameter (NWAVE=(160+2)*134400) !the biggest waveform we generate (FST240-1800) parameter (NWAVE=(160+2)*134400*4) !the biggest waveform we generate (FST240-1800 at 48kHz)
parameter (NFFT=614400,NH=NFFT/2) parameter (NFFT=614400,NH=NFFT/2)
character*40 cmsg character*40 cmsg
character*37 msg,msgsent character*37 msg,msgsent

View File

@ -420,6 +420,8 @@ void CPlotter::DrawOverlay() //DrawOverlay()
if(m_TRperiod==60) nsps=4000; if(m_TRperiod==60) nsps=4000;
if(m_TRperiod==120) nsps=8400; if(m_TRperiod==120) nsps=8400;
if(m_TRperiod==300) nsps=21504; if(m_TRperiod==300) nsps=21504;
if(m_TRperiod==900) nsps=66560;
if(m_TRperiod==1800) nsps=134400;
float baud=12000.0/nsps; float baud=12000.0/nsps;
bw=3.0*h*baud; bw=3.0*h*baud;
} }