Fix up Usage message for ft8sim2.

This commit is contained in:
Steve Franke 2018-07-04 12:41:43 -05:00
parent d70e3dbb26
commit 50d8945bca

View File

@ -23,12 +23,10 @@ program ft8sim2
! Get command-line argument(s) ! Get command-line argument(s)
nargs=iargc() nargs=iargc()
if(nargs.ne.8) then if(nargs.ne.8) then
print*,'Usage: ft8sim "message" nsig|f0 DT fdop del width nfiles snr' print*,'Usage: ft8sim2 "message" f0 DT fdop del width nfiles snr'
print*,'Examples: ft8sim "K1ABC W9XYZ EN37" 1500.0 0.0 0.1 1.0 0 10 -18' print*,'Examples: ft8sim2 "K1ABC W9XYZ EN37" 1500.0 0.0 0.1 1.0 0 10 -18'
print*,' ft8sim "K1ABC W9XYZ EN37" 10 0.0 0.1 1.0 25 10 -18' print*,'Examples: ft8sim2 "WA9XYZ/R KA1ABC/R FN42" 1500.0 0.0 0.1 1.0 0 10 -18'
print*,' ft8sim "K1ABC W9XYZ EN37" 25 0.0 0.1 1.0 25 10 -18' print*,' ft8sim2 "K1ABC RR73; W9XYZ <KH1/KH7Z> -11" 300 0 0 0 25 1 -10'
print*,' ft8sim "K1ABC RR73; W9XYZ <KH1/KH7Z> -11" 300 0 0 0 25 1 -10'
print*,'Make nfiles negative to invoke 72-bit contest mode.'
go to 999 go to 999
endif endif
call getarg(1,msg37) !Message to be transmitted call getarg(1,msg37) !Message to be transmitted
@ -69,7 +67,6 @@ program ft8sim2
! Source-encode, then get itone() ! Source-encode, then get itone()
call pack77(msg37,i3,n3,c77) call pack77(msg37,i3,n3,c77)
call unpack77(c77,msgsent37)
call genft8_174_91(msg37,mygrid6,bcontest,i3,n3,msgsent37,msgbits,itone) call genft8_174_91(msg37,mygrid6,bcontest,i3,n3,msgsent37,msgbits,itone)
write(*,*) write(*,*)
@ -83,6 +80,7 @@ program ft8sim2
write(*,*) write(*,*)
write(*,'(a17)') 'Channel symbols: ' write(*,'(a17)') 'Channel symbols: '
write(*,'(79i1)') itone write(*,'(79i1)') itone
write(*,*)
call sgran() call sgran()