Re: Promblems with gr-air-modes in gnuradio 3.10

2022-10-03 Thread Michelle

Hi Cinaed,

thank you for your answer, It seems like modes_rx (gr3.9 branch) under 
GNU Radio 3.10 hangs somewhere on startup. @willcode4  will try to debug 
it.


have a good day.

On 2022-10-02 19:52, Cinaed Simson wrote:

Hi Michelle - the  source code version of gr-air-modes from github

  https://github.com/bistromath/gr-air-modes.git

indicates it should build under 3.9 but it doesn't build 3.10 - it 
can't find


  GrSwig

which is no longer supported.

Sometimes OOT modules which work on 3.9 work on 3.10 - sometimes they 
don't.


It's possible your version gr-air-modes has a different author from 
git hub version above.


And I don't have a version of 3.9 either so I can't test it on 3.9 .

-- Cinaed



On 10/1/22 05:18, Michelle wrote:

Hello,

I have gnuradio 3.10 and I wanted to install gr-air-modes. In the 
chat one of the moderators told me the version of gr-air-modes that 
is compatible with gr3.9 would work with gr3.10.
So I installed this version in my computer, the installation was 
successfull however when I execute rx_modes I do not receive any 
signal. The output of the command is :


Inspiron-3793:~$ modes_rx
gr-air-modes warning: numpy+scipy not installed, FlightGear interface 
not supported
[INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; 
UHD_3.15.0.0-2build5
[INFO] [B200] Loading firmware image: 
/usr/share/uhd/images/usrp_b200_fw.hex...

[INFO] [B200] Detected Device: B200
[INFO] [B200] Loading FPGA image: 
/usr/share/uhd/images/usrp_b200_fpga.bin...

[INFO] [B200] Operating over USB 2.
[INFO] [B200] Detecting internal GPSDO
[INFO] [GPS] No GPSDO found
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.00 MHz...
[INFO] [B200] Actually got clock rate 16.00 MHz.
[INFO] [B200] Asking for clock rate 32.00 MHz...
[INFO] [B200] Actually got clock rate 32.00 MHz.
Setting gain to 38
Gain is 38
Rate is 400

please can i get some support to solve this problem?









Re: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4)

2022-10-03 Thread Vasil Velichkov
Hi Michael,

On 03/10/2022 08.21, Michael Matthews wrote:
> Hello,
> 
> I am new to gnuradio and have been going through the tutorials. I have been 
> specifically interested in Creating C++  OOT with 
> gr-modtool
>  but I seem to be getting errors when trying to use cmake to create the make 
> files.

> CMake Error in lib/CMakeLists.txt:
>   Imported target "gnuradio::gnuradio-runtime" includes non-existent path
> 
> "/include"
> 
>   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

You are probably missing some development dependency installed on your system. 
How did you install gnuradio 3.10.4 - from the ppa, from source, ...?

> CMake Error in python/customModule/bindings/CMakeLists.txt:
>   Imported target "Boost::date_time" includes non-existent path
> 
> "/include"
> 
>   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

This Boost::data_time dependency is a bit strange. Have you tried adding this 
to your OOT module?

Regards,
Vasil




Maximum sample rate for two channels

2022-10-03 Thread isaac mario tupac davila
Hello community

I'm Isaac. I'm trying to receive a signal with two channels using an USRP
N200 and a Basic RX.
I'm setting the sample rate of each channel to 20MSp/s, but what I obtain
is: The total sum of rates (40.00 MSps on 2 channels) exceeds the
maximum capacity of the connection, causing overflow (O) in the acquisition.

So, How do I know which is the maximum capacity for two channels? Why is it
not possible to acquire two channels with a sample rate of 20MSp/s in each
one if I can acquire one channel with 20MSp/s?

Thanks in advance

Isaac T.


Re: Maximum sample rate for two channels

2022-10-03 Thread Marcus D. Leech

On 2022-10-03 12:10, isaac mario tupac davila wrote:

Hello community

I'm Isaac. I'm trying to receive a signal with two channels using an 
USRP N200 and a Basic RX.
I'm setting the sample rate of each channel to 20MSp/s, but what I 
obtain is: The total sum of rates (40.00 MSps on 2 channels) 
exceeds the maximum capacity of the connection, causing overflow (O) 
in the acquisition.


So, How do I know which is the maximum capacity for two channels? Why 
is it not possible to acquire two channels with a sample rate of 
20MSp/s in each one if I can acquire one channel with 20MSp/s?


Thanks in advance

Isaac T.

The maximum possible bit-rate for a 1GiGe connection is 1Gbit/sec.

The absolute most you can push over such a connection with the N200 is 
25Msample/second--with 16-bit I and Q.


If you move to 8-bit samples, using "otw_format=sc8" in your device 
arguments, you can move up to 50Msps over

  that same connection.

This is basically just the maximum delivered rate of a 1Gbit 
connection.  So, one channel at 25Msps or two channels at 12.5Msps,
  or if you're using sc8 "wire" format, 50Msps for one channel and 
25Msps for two channels.






RE: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4)

2022-10-03 Thread Michael Matthews


Hi Vasil,

I installed gnuradio from the ppa. Specifically, I did:

    $ sudo add-apt-repository ppa:gnuradio/gnuradio-releases
    $ sudo apt-get update
    $ sudo apt-get install gnuradio python3-packaging
    $ sudo apt install libiio-dev libad9361-dev libspdlog-dev python3-packaging python3-jsonschema
    $ sudo apt-get install gnuradio-dev cmake libspdlog-dev clang-format

The instillation wiki does note that the python packaging module might need to be installed using pip for 3.10. Running that installation just tells me that "the requirement is already satisfied" so I believe it is already up to date. It is also mentioned on Ubuntu 18.04 there is an issue with gr_modtool when installed from the PPA, but it says the issue is not appearing for Ubuntu 19 and later.
  
As far as the date_time dependency is concerned, I am unsure where that is being used. I did not import it myself. The Cmake was procedurally generated using the gr-modtool, following the tutorial exactly. The tutorial is fairly simple, adding a boolean selector, which determines whether two input values should either be multiplied or divided with:

{
    auto in0 = static_cast(input_items[0]);
    auto in1 = static_cast(input_items[1]);
    auto out = static_cast(output_items[0]);

    for (int index = 0; index < noutput_items; index++) {
    if (_selector) { out[index] = in0[index] * in1[index]; }
    else{ out[index] = in0[index] / in1[index]; }
    }

    // Tell runtime system how many output items we produced.
    return noutput_items;
}

Thank you for your help,    


  	  		 
  		  		
	
		Michael Matthews 
		Graduate Software Engineer
		Mobile: +1 847 714 4809
	
	
	


	
		855 South 192nd St, Suite 600SeaTac, WA, 98148, United Stateswww.micro-x.com

			
		
-Original Message-
From: Vasil Velichkov  
Sent: Monday, October 3, 2022 8:47 AM
To: Michael Matthews ; discuss-gnuradio@gnu.org
Subject: Re: Problems with gr-modtool on Ubuntu 20.04 (gnuradio 3.10.4)

Hi Michael,

On 03/10/2022 08.21, Michael Matthews wrote:
> Hello,
> 
> I am new to gnuradio and have been going through the tutorials. I have been specifically interested in Creating C++  OOT with gr-modtool

> CMake Error in lib/CMakeLists.txt:
>   Imported target "gnuradio::gnuradio-runtime" includes non-existent path
> 
> "/include"
> 
>   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

You are probably missing some development dependency installed on your system. How did you install gnuradio 3.10.4 - from the ppa, from source, ...?

> CMake Error in python/customModule/bindings/CMakeLists.txt:
>   Imported target "Boost::date_time" includes non-existent path
> 
> "/include"
> 
>   in its INTERFACE_INCLUDE_DIRECTORIES.  Possible reasons include:

This Boost::data_time dependency is a bit strange. Have you tried adding this to your OOT module?

Regards,
Vasil







Re: Promblems with gr-air-modes in gnuradio 3.10

2022-10-03 Thread Philip Balister

On 10/3/22 09:34, Michelle wrote:

Hi Cinaed,

thank you for your answer, It seems like modes_rx (gr3.9 branch) under 
GNU Radio 3.10 hangs somewhere on startup. @willcode4  will try to debug 
it.


https://github.com/bkerler/gnuradio_install/blob/main/install.sh#L275

Suggests this is not fully ported to 3.10 yet.

Philip




have a good day.

On 2022-10-02 19:52, Cinaed Simson wrote:

Hi Michelle - the  source code version of gr-air-modes from github

  https://github.com/bistromath/gr-air-modes.git

indicates it should build under 3.9 but it doesn't build 3.10 - it 
can't find


  GrSwig

which is no longer supported.

Sometimes OOT modules which work on 3.9 work on 3.10 - sometimes they 
don't.


It's possible your version gr-air-modes has a different author from 
git hub version above.


And I don't have a version of 3.9 either so I can't test it on 3.9 .

-- Cinaed



On 10/1/22 05:18, Michelle wrote:

Hello,

I have gnuradio 3.10 and I wanted to install gr-air-modes. In the 
chat one of the moderators told me the version of gr-air-modes that 
is compatible with gr3.9 would work with gr3.10.
So I installed this version in my computer, the installation was 
successfull however when I execute rx_modes I do not receive any 
signal. The output of the command is :


Inspiron-3793:~$ modes_rx
gr-air-modes warning: numpy+scipy not installed, FlightGear interface 
not supported
[INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100; 
UHD_3.15.0.0-2build5
[INFO] [B200] Loading firmware image: 
/usr/share/uhd/images/usrp_b200_fw.hex...

[INFO] [B200] Detected Device: B200
[INFO] [B200] Loading FPGA image: 
/usr/share/uhd/images/usrp_b200_fpga.bin...

[INFO] [B200] Operating over USB 2.
[INFO] [B200] Detecting internal GPSDO
[INFO] [GPS] No GPSDO found
[INFO] [B200] Initialize CODEC control...
[INFO] [B200] Initialize Radio control...
[INFO] [B200] Performing register loopback test...
[INFO] [B200] Register loopback test passed
[INFO] [B200] Setting master clock rate selection to 'automatic'.
[INFO] [B200] Asking for clock rate 16.00 MHz...
[INFO] [B200] Actually got clock rate 16.00 MHz.
[INFO] [B200] Asking for clock rate 32.00 MHz...
[INFO] [B200] Actually got clock rate 32.00 MHz.
Setting gain to 38
Gain is 38
Rate is 400

please can i get some support to solve this problem?











Re: Promblems with gr-air-modes in gnuradio 3.10

2022-10-03 Thread Nick Foster
Yep, gr-air-modes hasn't been built, installed, or tested by me. Needs the
usual rebuild-from-gr-modtool, and I haven't gotten around to it.

Nick

On Mon, Oct 3, 2022 at 11:52 AM Philip Balister  wrote:

> On 10/3/22 09:34, Michelle wrote:
> > Hi Cinaed,
> >
> > thank you for your answer, It seems like modes_rx (gr3.9 branch) under
> > GNU Radio 3.10 hangs somewhere on startup. @willcode4  will try to debug
> > it.
>
> https://github.com/bkerler/gnuradio_install/blob/main/install.sh#L275
>
> Suggests this is not fully ported to 3.10 yet.
>
> Philip
>
>
> >
> > have a good day.
> >
> > On 2022-10-02 19:52, Cinaed Simson wrote:
> >> Hi Michelle - the  source code version of gr-air-modes from github
> >>
> >>   https://github.com/bistromath/gr-air-modes.git
> >>
> >> indicates it should build under 3.9 but it doesn't build 3.10 - it
> >> can't find
> >>
> >>   GrSwig
> >>
> >> which is no longer supported.
> >>
> >> Sometimes OOT modules which work on 3.9 work on 3.10 - sometimes they
> >> don't.
> >>
> >> It's possible your version gr-air-modes has a different author from
> >> git hub version above.
> >>
> >> And I don't have a version of 3.9 either so I can't test it on 3.9 .
> >>
> >> -- Cinaed
> >>
> >>
> >>
> >> On 10/1/22 05:18, Michelle wrote:
> >>> Hello,
> >>>
> >>> I have gnuradio 3.10 and I wanted to install gr-air-modes. In the
> >>> chat one of the moderators told me the version of gr-air-modes that
> >>> is compatible with gr3.9 would work with gr3.10.
> >>> So I installed this version in my computer, the installation was
> >>> successfull however when I execute rx_modes I do not receive any
> >>> signal. The output of the command is :
> >>>
> >>> Inspiron-3793:~$ modes_rx
> >>> gr-air-modes warning: numpy+scipy not installed, FlightGear interface
> >>> not supported
> >>> [INFO] [UHD] linux; GNU C++ version 9.2.1 20200304; Boost_107100;
> >>> UHD_3.15.0.0-2build5
> >>> [INFO] [B200] Loading firmware image:
> >>> /usr/share/uhd/images/usrp_b200_fw.hex...
> >>> [INFO] [B200] Detected Device: B200
> >>> [INFO] [B200] Loading FPGA image:
> >>> /usr/share/uhd/images/usrp_b200_fpga.bin...
> >>> [INFO] [B200] Operating over USB 2.
> >>> [INFO] [B200] Detecting internal GPSDO
> >>> [INFO] [GPS] No GPSDO found
> >>> [INFO] [B200] Initialize CODEC control...
> >>> [INFO] [B200] Initialize Radio control...
> >>> [INFO] [B200] Performing register loopback test...
> >>> [INFO] [B200] Register loopback test passed
> >>> [INFO] [B200] Setting master clock rate selection to 'automatic'.
> >>> [INFO] [B200] Asking for clock rate 16.00 MHz...
> >>> [INFO] [B200] Actually got clock rate 16.00 MHz.
> >>> [INFO] [B200] Asking for clock rate 32.00 MHz...
> >>> [INFO] [B200] Actually got clock rate 32.00 MHz.
> >>> Setting gain to 38
> >>> Gain is 38
> >>> Rate is 400
> >>>
> >>> please can i get some support to solve this problem?
> >>>
> >>>
> >>
> >>
> >
>
>