Re: [Discuss-gnuradio] How do I interface my X310 with an NVIDIA K80 GPU in GNURadio

2018-05-24 Thread Marcus D. Leech

On 05/02/2018 10:56 AM, John Ferguson wrote:


GNU Radio CPU > CUDA CPU > CUDA GPU > CUDA CPU > GNU Radio CPU

So depending on what kind of latency you can handle, this may or may 
not work for you. I'm assuming that the GPU question is not directly 
related to the recording question.
One of the perennial issues that comes up with interfacing real-time DSP 
flows to GPUs is that they don't do well "in the middle" of a high-speed 
flow--
  the setup costs are too high to sustain real-time data flow, even if 
the aggregate CPU cycles are impressively large.


There are specific tasks that seem to work well--like the way Fosphor 
uses the GPU to do pretty much *the entire DSP chain*, terminating in the
  actual graphics hardware.  I suspect other flows, where it's 
high-speed in one end and and "dribble" out the other will also work.  
But any flow where
  the GPU is "in the middle" of a high-speed flow continues to be 
really hard to make work.


I have an FX correlator flow for radio astronomy running on Odroid 
XU4s.  It could probably do 2 or 3 times the bandwidth if I could


(A) Move most of it to the GPU
(B) The Odroid GPU wasn't largely garbage...

Oh well






I hope that helped.

John



On Wed, May 2, 2018 at 10:32 AM, Eads, LJ D. > wrote:


Derek,

Oops! The error was actually from just a simple WBFM Receiver
block which has the audio sink. No soundcard involved in my setup.

I still don’t think I will be utilizing the GPU though because
GNURadio isn’t showing up in the GPU processes.. Will I be at
least utilizing the CPU? I will test the block diagrams I sent you
on the server (I just have tested them on my laptop initially) and
I will get back to you.

Thank you,

LJ Eads

*From:* Derek Kozel [mailto:derek.ko...@ettus.com
]
*Sent:* Wednesday, May 2, 2018 10:20 AM
*To:* Eads, LJ D. >
*Cc:* Müller, Marcus (CEL) >; discuss-gnuradio@gnu.org



*Subject:* Re: [Discuss-gnuradio] How do I interface my X310 with
an NVIDIA K80 GPU in GNURadio

Hi LJ,

I don't see an audio sink in either of those flowgraphs, are those
the ones causing the error? Is there supposed to be a soundcard
involved at any point in your setup? To just capture, record, and
replay the file sink seems correct (to the limits of your hard
drive write/read speeds).

Does sending and receiving to/from the USRP work if you use null
sink and constant source to receive/produce data?

Derek

On Wed, May 2, 2018 at 3:08 PM, Eads, LJ D. > wrote:

Derek and Marcus,

Thank you for the quick response! This is my first entry to
the mailing list.

So I am trying to capture a very fast frequency hopping
signal.. the rate is proprietary but probably one of the
fastest rates on the market right now. I am currently just
implementing a basic record/replay. I believe you are right
that I am trying to route too much data to my speakers and
that’s what I am trying to get out of.

I currently have had better success with the X310 right now
using the GNURadio Live Environment on a USB and running Cat
5E from the X310 to my laptop.. now I’m trying to implement
what I had on my laptop on this server that I setup. I
attached the server specs.. currently using ubuntu 16.04.

Marcus.. I am confused as well! Because I feel like I should
be using my CPUs and I am not.

LJ Eads

*From:* Derek Kozel [mailto:derek.ko...@ettus.com
]
*Sent:* Wednesday, May 2, 2018 9:43 AM
*To:* Müller, Marcus (CEL) >
*Cc:* discuss-gnuradio@gnu.org
; Eads, LJ D.
>
*Subject:* Re: [Discuss-gnuradio] How do I interface my X310
with an NVIDIA K80 GPU in GNURadio

Hello LJ,

It would help to know what type of signal processing you are
hoping to do and how you want to display or save the data. On
generally available consumer hardware GNU Radio has been shown
to be able to handle 800+MS/s of samples being displayed in
spectrum plots.

It sounds like you are trying to route too much data to your
speakers. Are you able to share your flowgraph? There is a
screenshot function in the menu or the grc file could be attached.

Regards,

Derek

On Wed, May 2, 2018 at 2:28 PM, Müller, Marcus (CEL)
> wrote:

Hi LJ Eads,

I'm a bit 

Re: [Discuss-gnuradio] Changing delay block value over time

2018-05-24 Thread Yeo Jin Kuang Alvin (IA)
Hi,

I need to simulate propagation delay, for example, having a plane fly past and 
have to collect data for 5 secs which means I need to calculate the slant range 
over time. In order for me to get the propagation delay 2R/c. As a result, I 
need to change the delays for 5  secs.

Thank you in advanced!

-Original Message-
From: Müller, Marcus (CEL) [mailto:muel...@kit.edu] 
Sent: Thursday, 24 May 2018 7:15 PM
To: Yeo Jin Kuang Alvin (IA); discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Changing delay block value over time

I'd recommend that, yes :) But then again, the delay block you're
referring to only allows for full samples in delay; maybe you much
rather want an adjustable interpolator? What is the purpose of all this
(kind of a recurring theme, me asking *why* people want to do
something, so that we can help them)?

Best regards,
Marcus

On Thu, 2018-05-24 at 10:00 +, Yeo Jin Kuang Alvin (IA) wrote:
> Hi all,
> 
> Is there a way to implement control of delays over time? Type out own code?
> 
> Thank you in advanced!
> 
> -Original Message-
> From: Müller, Marcus (CEL) [mailto:muel...@kit.edu] 
> Sent: Thursday, 24 May 2018 5:58 PM
> To: Yeo Jin Kuang Alvin (IA); discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] Changing delay block value over time
> 
> No.
> 
> Best regards,
> Marcus
> On Thu, 2018-05-24 at 09:22 +, Yeo Jin Kuang Alvin (IA) wrote:
> > Hi all,
> >  
> > Am I able to change the value of the delay block automatically in GRC over 
> > time when the flowgraph is running?
> >  
> > Thank you in advanced!
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] GNURadio master and UHD RFNOC Version Issue

2018-05-24 Thread John Medrano
Recently we built GNURadio and UHD from source on a Fedora 28. Since we use
RFNOC we were compiling GNURadio version v3.7.10.2, and using rfnoc-devel
branch from UHD.

Building on Fedora 28 we received compiling errors when we were building
v3.7.10.2. So we decided to build the master branch instead.

The problem is that the master branch is not compatible with UHD firmware
for RFNOC. Expecting firmware version 85 and found version 83.

Is the current UHD RFNOC branch in github compatible with master branch of
GNURadio?

What is latest version of GNURadio that we can use? Can we compile in
Fedora 28?

Please advise,

Thank you,
John
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Changing delay block value over time

2018-05-24 Thread Jean-Michel FRIEDT

possibly an ugly hack, but I use the Function Probe plugged to a Signal
Source to tune the variable delay between two signals. An example is at
http://jmfriedt.sequanux.org/xcorrdemo.grc.

JM


I'd recommend that, yes :) But then again, the delay block you're
referring to only allows for full samples in delay; maybe you much
rather want an adjustable interpolator? What is the purpose of all this
(kind of a recurring theme, me asking *why* people want to do
something, so that we can help them)?

Best regards,
Marcus

On Thu, 2018-05-24 at 10:00 +, Yeo Jin Kuang Alvin (IA) wrote:

Hi all,

Is there a way to implement control of delays over time? Type out own code?

Thank you in advanced!

-Original Message-
From: Müller, Marcus (CEL) [mailto:muel...@kit.edu]
Sent: Thursday, 24 May 2018 5:58 PM
To: Yeo Jin Kuang Alvin (IA); discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Changing delay block value over time

No.

Best regards,
Marcus
On Thu, 2018-05-24 at 09:22 +, Yeo Jin Kuang Alvin (IA) wrote:
> Hi all,
>
> Am I able to change the value of the delay block automatically in  
GRC over time when the flowgraph is running?

>
> Thank you in advanced!
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio




--
JM Friedt, FEMTO-ST Time & Frequency/SENSeOR, 26 rue de l'Epitaphe,  
25000 Besancon, France



This message was sent using IMP, the Internet Messaging Program.

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Changing delay block value over time

2018-05-24 Thread CEL
I'd recommend that, yes :) But then again, the delay block you're
referring to only allows for full samples in delay; maybe you much
rather want an adjustable interpolator? What is the purpose of all this
(kind of a recurring theme, me asking *why* people want to do
something, so that we can help them)?

Best regards,
Marcus

On Thu, 2018-05-24 at 10:00 +, Yeo Jin Kuang Alvin (IA) wrote:
> Hi all,
> 
> Is there a way to implement control of delays over time? Type out own code?
> 
> Thank you in advanced!
> 
> -Original Message-
> From: Müller, Marcus (CEL) [mailto:muel...@kit.edu] 
> Sent: Thursday, 24 May 2018 5:58 PM
> To: Yeo Jin Kuang Alvin (IA); discuss-gnuradio@gnu.org
> Subject: Re: [Discuss-gnuradio] Changing delay block value over time
> 
> No.
> 
> Best regards,
> Marcus
> On Thu, 2018-05-24 at 09:22 +, Yeo Jin Kuang Alvin (IA) wrote:
> > Hi all,
> >  
> > Am I able to change the value of the delay block automatically in GRC over 
> > time when the flowgraph is running?
> >  
> > Thank you in advanced!
> > ___
> > Discuss-gnuradio mailing list
> > Discuss-gnuradio@gnu.org
> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

smime.p7s
Description: S/MIME cryptographic signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Changing delay block value over time

2018-05-24 Thread Yeo Jin Kuang Alvin (IA)
Hi all,

Is there a way to implement control of delays over time? Type out own code?

Thank you in advanced!

-Original Message-
From: Müller, Marcus (CEL) [mailto:muel...@kit.edu] 
Sent: Thursday, 24 May 2018 5:58 PM
To: Yeo Jin Kuang Alvin (IA); discuss-gnuradio@gnu.org
Subject: Re: [Discuss-gnuradio] Changing delay block value over time

No.

Best regards,
Marcus
On Thu, 2018-05-24 at 09:22 +, Yeo Jin Kuang Alvin (IA) wrote:
> Hi all,
>  
> Am I able to change the value of the delay block automatically in GRC over 
> time when the flowgraph is running?
>  
> Thank you in advanced!
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Changing delay block value over time

2018-05-24 Thread CEL
No.

Best regards,
Marcus
On Thu, 2018-05-24 at 09:22 +, Yeo Jin Kuang Alvin (IA) wrote:
> Hi all,
>  
> Am I able to change the value of the delay block automatically in GRC over 
> time when the flowgraph is running?
>  
> Thank you in advanced!
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

smime.p7s
Description: S/MIME cryptographic signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] random number problem

2018-05-24 Thread CEL
Hi! 

Don't use random.h's `random()` in GNU Radio. It's not thread-safe and
mustn't be used in multithreaded applications, and GNU Radio is
inherently multithreaded.

> So I tried to use srand(time(0))

That is **explicitly** a way to get a different sequence every time, so
this is very counter-productive. Have you read `srand`'s and `time`'s
manual pages at all?

Since you're probably using a C++ compiler that has C++11 support,
simply use 

#include  // NOT random.h
 
int main()
{
int seed = 42; // constant that defines the sequence we're getting
std::mt19937 rng(seed); //default mersenne_twister_engine 
std::uniform_real_distribution<> uni(0.0, 1.0);
for (int n = 0; n < 10; ++n) {
double uniform_number = uni(rng);
}
}

Best regards,
Marcus

#On Thu, 2018-05-24 at 18:17 +0900, 김무연 wrote:
>  Hi all!
> Could I ask something?
> I want to generate random numbers
> So when I make a block, I included random.h and I used random() function
> But every time it produces the same output
> And I want to use this blocks twice in the gnuradio
> So I tried to use srand(time(0))
> But it didn't work
> My question is this are there any method to do the same role of 
> srand(time(0)) when I create a block in gnuradio?
> Thanks 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

smime.p7s
Description: S/MIME cryptographic signature
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] Changing delay block value over time

2018-05-24 Thread Yeo Jin Kuang Alvin (IA)
Hi all,

Am I able to change the value of the delay block automatically in GRC over time 
when the flowgraph is running?

Thank you in advanced!
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[Discuss-gnuradio] random number problem

2018-05-24 Thread 김무연
 Hi all!Could I ask something?I want to generate random numbersSo when I make a block, I included random.h and I used random() functionBut every time it produces the same outputAnd I want to use this blocks twice in the gnuradioSo I tried to use srand(time(0))But it didn't workMy question is this are there any method to do the same role of srand(time(0)) when I create a block in gnuradio?Thanks ___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio