[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linrad] Re: Network bug, linrad-02.37



Hi Joe,

> One rather easy question, I think.  Apparently the SDR1000 uses the opposite 
> I/Q channel "sense" from Linrad.  A signal going up in frequency in the 
> PowerSDR software appears to go down in frequency in Linrad.  Is there a 
> switch or other easy way to flip I/Q in Linrad?  Quickly finding the correct 
> SDR1000 transmit frequency will be a real pain otherwise.
Rename the file users.c to users_hwaredriver.c
You must run ./configure to update Makefile afterwords.

Under Windows, rename users.c to wusers_hwaredriver.c
and run configure.exe

Then edit users_hwaredriver.c for the routine
set_hardware_rx_frequency() to contain:

fg.passband_direction = 1;
fft1_direction = fg.passband_direction;

This will swap the direction of the frequency scale.
You may also add whatever functions needed to control
the LO of your SDR1000 so you can control it from the Linrad
frequency setting box. 
 
> There also seems to be an issue in MAP65 time tags that I need to 
> investigate further.  When using an "S" file as input to linrad, MAP65 
> decodes and correctly displays the time that the file was recorded.  When 
> using linrad with the D44 as real-time input, the time is always reported as 
> 0000Z (I'm not sure if it's decoding correctly since I haven't been in the 
> shack when the moon is up).  I remember there was an email thread about time 
> stamps on the network interface that I need to review.  Perhaps I just don't 
> have the network setup correctly yet.  Also, when using the "S" file input, 
> MAP65 tries to decode at the top of the minute from the "S" file time stamp 
> and the top of the real time minute.  These issues are probably not your 
> problem, but I thought I'd mention them just incase Joe's back from vacation 
> :-) .
Oooh! There is a bug in the Windows time routine ms_since_midnight()

Change line 250 which is
return i%(24*3600);
to simply 
return i;

(it could have been return i%(24*3600*1000);

Compiling from source code under Windows is easy. Everything you
need can be downloaded from:
http://www.sm5bsz.com/linuxdsp/linrad.htm

Three files: mingw.zip nasm.zip and lir02-35.zip
(the updates needed for the S-meter and quitting with X 
were described in my previous posting)

I have not yet received any reports on whether 02-37 is
OK so I have not placed it on "Linrad Home Page" yet. I need
to know whether it works correctly with the various users 
routines which have perhaps became polluted by tx stuff.

If you can find the tools to unpack a .bz2 file under
Windows, you can use lir02-37.tbz which contains everything
needed.

73

Leif / SM5BSZ


#############################################################
This message is sent to you because you are subscribed to
  the mailing list <linrad@xxxxxxxxxxxxxxxxxxxxx>.
To unsubscribe, E-mail to: <linrad-off@xxxxxxxxxxxxxxxxxxxxx>
To switch to the DIGEST mode, E-mail to <linrad-digest@xxxxxxxxxxxxxxxxxxxxx>
To switch to the INDEX mode, E-mail to <linrad-index@xxxxxxxxxxxxxxxxxxxxx>
Send administrative queries to  <linrad-request@xxxxxxxxxxxxxxxxxxxxx>

LINRADDARNIL