Something changed with Linrad or my FCD+

131 views
Skip to first unread message

KenHorse2

unread,
Oct 14, 2015, 11:37:22 PM10/14/15
to Linrad
Hi all
 
I've been using Linrad (first under Win 7 and now under Win 10) with an FCD+ for over a year now with very good results. However, out of nowhere, it seems as if the Linrad/FCD+ combo just doesn't work as well as it once did. And I've been noticing "RX_UNDERRUNS ERROR xxx" where the error reported changes. For example, I've seen Error 5, Error 23, Error 525 and a few others.
 
And by "doesn't work as well as it once did" means if doesn't seem to have the sensitivity it once did and I don't decode anywhere near as "easily" as it once did. My comparison is that my TS2k/WSJT 10 works as well as it ever did.

I'm pretty sure I haven't added anything that using more resources in the computer but where is a good place to start (I should mention I set Linrad up using the HOWTO by KB5WIA and I use MAP65 as well.

http://kb5wia.blogspot.com/2013/01/installing-map65-and-funcube-dongle-pro.html
 

Leif Asbrink

unread,
Oct 16, 2015, 3:32:02 PM10/16/15
to lin...@googlegroups.com
Hello Ken,

> I've been using Linrad (first under Win 7 and now under Win 10) with an
> FCD+ for over a year now with very good results. However, out of nowhere,
> it seems as if the Linrad/FCD+ combo just doesn't work as well as it once
> did. And I've been noticing "RX_UNDERRUNS ERROR xxx" where the error
> reported changes. For example, I've seen Error 5, Error 23, Error 525 and a
> few others.

The message RX_UNDERRUN ERROR xxx indicates a SERIOUS error. The number
xxx simply tells how many times the error occured. It is OK if you
see this error while doing something CPU intensive in another application,
but you must be aware that the Linrad output is corrupted while RX_UNDERRUN
ERROR xxx is displayed with a new xxx.

You should NEVER see this message during normal operation - it means that
data is probably corrupted and in wsjt decodes will not be good.

> And by "doesn't work as well as it once did" means if doesn't seem to have
> the sensitivity it once did and I don't decode anywhere near as "easily" as
> it once did. My comparison is that my TS2k/WSJT 10 works as well as it ever
> did.
>
> I'm pretty sure I haven't added anything that using more resources in the
> computer
Never used Microsoft Update?? (Hard to avoid it in Win 10....)

I suggest you install dpclat:
http://www.thesycon.de/deu/latency_check.shtml
Excessive dpc latency could be a problem although not very likely.

A more common problem is that you are out of ram. The "clever" operating
system would then move Linrad data areas to the hard disk causing memory
access to become far too slow. (Some other application might use
a lot of ram or you have set very large storage times in Linrad.)

What do you see in the lower left corner? xx% (yy%)

> but where is a good place to start (I should mention I set Linrad
> up using the HOWTO by KB5WIA and I use MAP65 as well.
>
> http://kb5wia.blogspot.com/2013/01/installing-map65-and-funcube-dongle-pro.html
Today you can run FCD Pro+ without an ExtIO dll with Linrad. In the setup
menu, select A to get a list of soundcards. The Funcube will be one of
the devices on the list. Select it. Then select FDC pro plus as the radio
hardware to use with your soundcard.


73

Leif

KenHorse2

unread,
Oct 16, 2015, 4:20:30 PM10/16/15
to Linrad


On Friday, October 16, 2015 at 12:32:02 PM UTC-7, SM5BSZ wrote:
Hello Ken,


> I'm pretty sure I haven't added anything that using more resources in the
> computer
Never used Microsoft Update?? (Hard to avoid it in Win 10....)

'Im sure it has updated at some point, sure. I'll have to check the log

I suggest you install dpclat:
http://www.thesycon.de/deu/latency_check.shtml
Excessive dpc latency could be a problem although not very likely.

It shows 1000 us and states I should have no problems with audio buffering, etc.

A more common problem is that you are out of ram. The "clever" operating
system would then move Linrad data areas to the hard disk causing memory
access to become far too slow. (Some other application might use
a lot of ram or you have set very large storage times in Linrad.)

What do you see in the lower left corner?  xx% (yy%)

It shows 3.89% (4%)

> but where is a good place to start (I should mention I set Linrad
> up using the HOWTO by KB5WIA and I use MAP65 as well.
>
> http://kb5wia.blogspot.com/2013/01/installing-map65-and-funcube-dongle-pro.html
Today you can run FCD Pro+ without an ExtIO dll with Linrad. In the setup
menu, select A to get a list of soundcards. The Funcube will be one of
the devices on the list. Select it. Then select FDC pro plus as the radio
hardware to use with your soundcard.

I'll try changing the setup of Linrad and see what happens. BTW, this computer is 64 bit with 4 gigs of ram installed.

Thanks for the ideas...

Leif Asbrink

unread,
Oct 17, 2015, 7:10:45 AM10/17/15
to lin...@googlegroups.com
Hello Ken,

> It shows 1000 us and states I should have no problems with audio buffering,
> etc.
>
> > What do you see in the lower left corner? xx% (yy%)
> >
>
> It shows 3.89% (4%)

> > I'll try changing the setup of Linrad and see what happens. BTW, this
> > computer is 64 bit with 4 gigs of ram installed.

You have a more than adequate computer. The problem is most likely
the network. Press 'T' on the processing screen and find near the
lower left corner NetWT=xxx and NetERR=yyy. Those numbers should be
small, 0.000 to 0.002 only. Larger numbers indicate a network error.

To verify operation of Linrad/map65 you can disconnect the network
cables from your computer and install the loopback adapter:
http://www.sm5bsz.com/linuxdsp/run/loopback.htm
The loopback adapter was renamed in Windows 8: "The Microsoft Loopback
Adapter was renamed in Windows 8 and Windows Server 2012. The new name
is 'Microsoft KM-TEST Loopback Adapter'. When using the Add Hardware
Wizard to manually add a network adapter, choose Manufacturer 'Microsoft'
and choose network adapter 'Microsoft KM-TEST Loopback Adapter'".
This should mate NetWT and NetERR small. Then connect the network cable.
If the times increase, just disconnect everything from the nearest
switch so the computer can only see the switch. If you are connected
directly to a router, try, as an experiment to connect directly
to another computer.

I have forgotten the details around this problem, but I know someone
else had this problem and solved it. The NetWT and NetERR values
were added fairly recently. If you have an old version of Linrad you
might not see them.

73

Leif

KenHorse2

unread,
Oct 17, 2015, 12:22:36 PM10/17/15
to Linrad
As I am running everything on the same computer, is the ethernet connection really an issue?

(also, I am running an older version of Linrad as I want the FCD+ frequency control from Linrad 3.46)

Leif Asbrink

unread,
Oct 17, 2015, 3:50:49 PM10/17/15
to lin...@googlegroups.com
Hello Ken,

> As I am running everything on the same computer, is the ethernet connection
> really an issue?
Yes, it is. If something you have connected sends a message "pleas hold it"
the write from Linrad in network.c does not return immediately as it should.

If nothing is connected to the Ethernet connector, you must
install the Microsoft loopback device.

> (also, I am running an older version of Linrad as I want the FCD+ frequency
> control from Linrad 3.46)
???????????
In what way do you think that 3.46 is better than linrad-04.07 ?

The NetWT info is not present in 3.46 so I suggest you install
also 04.07 to use as a tool to find the error. Once you have fixed
the error you can go back to 3.46 if you really see an advantage.
If you do, please explain what feature you think is no longer
OK in 04.07. Maybe I made a mistake of some kind - but nobody has
ever given any hint about that.

I get very little feedback. The number of Linrad users is small.
The idea "Do not fix what is not broken" is widespread - but it is
selfish and means that I do not get feedback on errors in a reasonable
time.

It is ALWAYS safe to install the latest Linrad. Nothing is written to the
Registry or anywhere else outside the Linrad directory. Adding one more
Linrads directory will never affect any old Linrad installation.

So, all of you, please install the latest and check that it is the same
or better than your older installation. If not, please let me know.

73

Leif


KenHorse2

unread,
Oct 17, 2015, 5:41:06 PM10/17/15
to Linrad
Hi Leif

The reason I use such an old version is that I was under the (mistaken?) belief that 4.07 does not support FCD+ frequency control via MAP65? I will try 4.07 and see what results I obtain

KenHorse2

unread,
Oct 17, 2015, 6:12:21 PM10/17/15
to Linrad
Leif

I'm trying to install 4.07 and I did install the new drivers (dll) as per instructions but the FCD+ is not a choice when doing the INPUT selection

Leif Asbrink

unread,
Oct 17, 2015, 7:22:49 PM10/17/15
to lin...@googlegroups.com
Hello Ken,

> I'm trying to install 4.07 and I did install the new drivers (dll) as per
> instructions but the FCD+ is not a choice when doing the INPUT selection
????

In the 'U' menu:
Select A=Change input settings.

Then select "A = Soundcard" (The Funcube presents itself as a soundcard
to Windows.) Do not select Portaudio as a first option.
There will be a list of "soundcards" and one of them would be
FUNcube dongle .... Select it.
After setting speed and some other parameters you will get a list of
receiver hardware to use with the soundcard. Select FCD Pro Plus.

73

Leif


Leif Asbrink

unread,
Oct 17, 2015, 7:30:11 PM10/17/15
to lin...@googlegroups.com
Hello Ken,

> The reason I use such an old version is that I was under the (mistaken?)
> belief that 4.07 does not support FCD+ frequency control via MAP65? I will
> try 4.07 and see what results I obtain
"frequency control via MAP65" is unknown to me. It could be something
intentional that I have forgotten or it could be a feature of ExtIO.dll that
map65 is using.

In case you find it is not working in 04.07, please be more verbose
about what you want. I have not intentionally removed any feature
of this kind - but I may have introduced bugs...

73

Leif

KenHorse2

unread,
Oct 17, 2015, 7:50:45 PM10/17/15
to Linrad
Ahhh ok.. I found that. One thing I don't find is anyway to set up the network parameters. I see the FCD is being seen by Linrad but it is not passing the info to MAP65 using the same network settings in MAP65 that I used with the earlier version Linrad

Edward R Cole

unread,
Oct 17, 2015, 9:10:35 PM10/17/15
to lin...@googlegroups.com
MAP65 freq control can be accomplished using Trakbox sw by IK7EZN,
free download. It requires a com port to use for connection to the
radio. I do not know if it supports FCD. I use it with my K3. The
sw also supports auto-tracking for some rotators. I suppose it
obtains tracking info from MAP65. I am not using Linrad with MAP65.

73, Ed - KL7UW
>--
>You received this message because you are subscribed to the Google
>Groups "Linrad" group.
>To unsubscribe from this group and stop receiving emails from it,
>send an email to linrad+un...@googlegroups.com.
>To post to this group, send email to lin...@googlegroups.com.
>For more options, visit https://groups.google.com/d/optout.

73, Ed - KL7UW
http://www.kl7uw.com
"Kits made by KL7UW"
Dubus Mag business:
dubu...@gmail.com

Leif Asbrink

unread,
Oct 18, 2015, 8:52:08 AM10/18/15
to lin...@googlegroups.com
Hi Ken and All,

Hopefully others on this list can supply better info:-)

There are several linrad/map65 users and instructions are available on the
Internet. I do not use map65 myself and I do not remember what it requires.

I wrote some notes on map65 with linrad:
http://www.sm5bsz.com/lir/map65/map65.htm

This is a document showing how to use the IQ+ with linrad and map65.
It should contain everything about the network settings.
http://www.linkrf.ch/files/IQ+%20User%20Manual_v2.1.pdf

73

Leif

KenHorse2

unread,
Oct 18, 2015, 12:58:58 PM10/18/15
to Linrad
Thanks Leif. But I do not see a menu item in Linrad 4.07 for setting up anything having to do with network at all.

In Linrad 3.46 for example, I know the network port used to send IQ data to MAP65 is 50004. But when I try to use Linrad 4.07 to send data to MAP65 and leave MAP65 on Port 50004, no data is received at all by MAP65.

Leif Asbrink

unread,
Oct 18, 2015, 1:30:08 PM10/18/15
to lin...@googlegroups.com
Hi Ken,

http://www.linkrf.ch/files/IQ+%20User%20Manual_v2.1.pdf
Did you follow the instructions starting at [35.] in this document?

Enable/disable the network with 'T' on the main menu. By pressing
'S' you can get it enabled by default next time you staart Linrad.


> Thanks Leif. But I do not see a menu item in Linrad 4.07 for setting up
> anything having to do with network at all.
You must not be in newcomer mode to get access to network functions
which are 'N' on the main menu.

> In Linrad 3.46 for example, I know the network port used to send IQ data to
> MAP65 is 50004. But when I try to use Linrad 4.07 to send data to MAP65 and
> leave MAP65 on Port 50004, no data is received at all by MAP65.
Something trivial presumably. I hope the above will help.

73

Leif
> > an email to linrad+un...@googlegroups.com <javascript:>.
> > > To post to this group, send email to lin...@googlegroups.com
> > <javascript:>.

KenHorse2

unread,
Oct 20, 2015, 10:37:04 PM10/20/15
to Linrad
Leif

Thanks for all your help. I am slowly working my way through getting 4.07 set up properly but I do have it talking to MAP65 now but am still dealing with the underruns and occasional sync errors. I will go through the manual in more detail and see what I can find (and hopefully correct!)

Leif Asbrink

unread,
Oct 21, 2015, 5:26:35 PM10/21/15
to lin...@googlegroups.com
Hi Ken,

Now that you have a modern version, press 'T' and look
at NetWT and NetERR in the lower left corner. What do you see?

73

Leif

KenHorse2

unread,
Oct 22, 2015, 12:06:58 PM10/22/15
to Linrad
I'm letting it run a little bit to see where they go but after 15 minutes of run time - NetWT = 0.003 and NetERR = 0.000.

And still showing rx_underruns and some da_sync errors. Also, there is a recurring message "FILTERS NOT CALIBRATED" greyed out in the background of the waterfall display (guess I need to calibrate the filters!)

Leif Asbrink

unread,
Oct 22, 2015, 1:24:58 PM10/22/15
to lin...@googlegroups.com
Hi Ken,

> I'm letting it run a little bit to see where they go but after 15 minutes
> of run time - NetWT = 0.003 and NetERR = 0.000.
>
> And still showing rx_underruns and some da_sync errors.
Something is very wrong, but the network seems fine.

Maybe there is a problem with the USB system? Try to disconnect
everything else from USB connectors while Linrad is running to
see if rx_underruns disappear. If this does not help, try to
move the dongle to a couple of different USB connectors.

Are you sure you have the latest drive routines for your
USB devices?

If you find nothing with the USB, you could try to set a lower
DMA rate. Press 'T' to see what you have - then 'U' in the main meny
followed by 'C' where you can set max and min to the same value
which could be half or twice the value Linrad selected. If you see
a difference, continue to change in the same direction.

You could change the time slice which is 20 ms by default in
Windows. Try to set it to 1 (easiest edit par_userint line 42
change Timer resolution [0] (default) to Timer resolution [1] (1 ms)

You could also try elevated priority which is line 8 in par_userint.

> Also, there is a
> recurring message "FILTERS NOT CALIBRATED" greyed out in the background of
> the waterfall display (guess I need to calibrate the filters!)
"need to" is a bit strong - but it might be a good idea to do it.
Depends on your interference situation and if you have strong signals
that cause interference from the mirror signals.

73

Leif


KenHorse2

unread,
Oct 22, 2015, 5:33:17 PM10/22/15
to Linrad
Thanks Leif. I'll have a look at the various USB connections, as there are several (5 to be exact) USB devices on that particular computer. I do have the most current drivers installed FWIW. I will also have a look at the DMA rate. Unfortunately, the moon doesn't rise until local late afternoon at the moment so I can't see if changes really make any difference in my setup. Although I can say that Linrad/FCD+/MAP65 do seem to be happy on JT65A on HF..

Leif Asbrink

unread,
Oct 22, 2015, 5:38:43 PM10/22/15
to lin...@googlegroups.com
Hi Ken,

As long as you see overrun errors you will have degraded
decodes in MAP65. You need no moon to see if the error message disappears:-)

73

Leif

KenHorse2

unread,
Oct 23, 2015, 6:05:15 PM10/23/15
to Linrad
Well.. I'm happy to report that removing one of the USB connections solved the underrun problems completely (the USB driver that is used to talk to a Yeasu FT-911 was the culprit)

Leif Asbrink

unread,
Oct 23, 2015, 7:44:10 PM10/23/15
to lin...@googlegroups.com
Hello Ken,

> Well.. I'm happy to report that removing one of the USB connections solved
> the underrun problems completely (the USB driver that is used to talk to a
> Yeasu FT-911 was the culprit)
OK. How can we make this known to the SDR community?
I do not think Linrad is the only program that would
be affected even though most SDR software would not give
error messages (occasional glitches are simply ignored.)

In digital communication loss of data can cause severe
performance degradation. Most hams would probably not know
what to look for. (Inject a single very strong signal
and look for wideband pulses.)

Anyway, I am glad you solved the problem. You might find that
it will be OK to connect the Yeasu FT-911 USB to one of the other
USB connectors (on a different hub.)

73

Leif




Reply all
Reply to author
Forward
0 new messages