Join/Login

Business Software

Open Source Software

For Vendors

Blog

About

More

Articles

Create

SourceForge Podcast

Site Documentation

Subscribe to our Newsletter

Support Request

For Vendors Help Create Join Login

Business Software

Open Source Software

SourceForge Podcast

Resources

Articles

Case Studies

Blog

Menu

Help

Create

Join

Login

Home

Browse

WSJT

MAP65IQ

WSJT MAP65IQ

Weak signal ham radio communication

Brought to you by: bsomervi, chetfenn, dg2ycb, k1jt

Summary

Files

Reviews

Support

Mailing Lists

Git ▾

WSJT-X

WSPR

WSPR-X

WSJT

Echo

FMT

MAP65

MAP65IQ

WSJT-X Superbuild

More...

Old SVN

Menu ▾ ▴

Browse Commits

Fork

Merge Requests 0

Branches

master

[03bddc]: / getfile2.F90  Maximize  Restore  History

Download this file

61 lines (51 with data), 1.2 kB

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60

subroutine getfile2(fname,len)

#ifdef Win32

  use dflib

#endif

  parameter (NDMAX=661500)  ! =60*11025

  character*(*) fname

  character infile*15

  parameter (NSMAX=60*96000)          !Samples per 60 s file

  integer*2 id(4,NSMAX)               !46 MB: raw data from Linrad timf2

  common/datcom/nutc,newdat2,id

  include 'gcom1.f90'

  include 'gcom2.f90'

  include 'gcom4.f90'

1 if(ndecoding.eq.0) go to 2

#ifdef Win32

  call sleepqq(100)

#else

  call usleep(100*1000)

#endif

  go to 1

2 do i=len,1,-1

     if(fname(i:i).eq.'/' .or. fname(i:i).eq.'\\') go to 10

  enddo

  i=0

10 filename=fname(i+1:)

  ierr=0

  n=8*NSMAX

#ifdef Win32

!  open(10,file=fname,form='binary',status='old',err=998)

  call rfile3a(fname,id,n,ierr)

  if(ierr.ne.0) then

     print*,'Error opening or reading file: ',fname,ierr

     go to 999

  endif

#else

  call rfile2(fname,id,n,nr)

  if(nr.ne.n) then

     print*,'Error opening or reading file: ',fname,n,nr

     ierr=1002

     go to 999

  endif

#endif

  read(filename(8:11),*) nutc

  ndiskdat=1

  ndecoding=4

  mousebutton=0

  go to 999

998 ierr=1001

999 close(10)

  return

end subroutine getfile2

SourceForge

Create a Project

Open Source Software

Business Software

Top Downloaded Projects

Company

About

Team

SourceForge Headquarters
225 Broadway Suite 1600
San Diego, CA 92101
+1 (858) 422-6466

Resources

Support

Site Documentation

Site Status

SourceForge Reviews

© 2025 Slashdot Media. All Rights Reserved.

Terms Privacy Opt Out Advertise

×
Want the latest updates on software, tech news, and AI?

Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.

Submit