[USRP-users] Re: Issues running generated GNU Radio ".py" file on E310 (Embedded Mode)

2024-04-02 Thread Stuart Austin
ssh into the radio

run python

 

>>> import sys

>>> sys.path   

['', '/usr/lib/python37.zip', '/usr/lib/python3.7', 
'/usr/lib/python3.7/lib-dynload', '/usr/lib/python3.7/site-packages']

>>> quit()

For each path reported by sys.path, search for the gnuradio package, on my 
radio it shows up here:



root@ni-e31x-313C4FB:~# find /usr/lib/python3.7 -iname gnu\*

/usr/lib/python3.7/dbm/gnu.py

/usr/lib/python3.7/dbm/__pycache__/gnu.cpython-37.pyc

/usr/lib/python3.7/dbm/__pycache__/gnu.cpython-37.opt-2.pyc

/usr/lib/python3.7/dbm/__pycache__/gnu.cpython-37.opt-1.pyc

/usr/lib/python3.7/site-packages/gnuradio

/usr/lib/python3.7/site-packages/gnuradio/gru/gnuplot_freqz.py

/usr/lib/python3.7/site-packages/gnuradio/gru/gnuplot_freqz.pyo

/usr/lib/python3.7/site-packages/gnuradio/gru/gnuplot_freqz.pyc

/usr/lib/python3.7/site-packages/numpy/distutils/fcompiler/gnu.py

/usr/lib/python3.7/site-packages/numpy/distutils/fcompiler/__pycache__/gnu.cpython-37.pyc

 

so either:

· you don’t have gnuradio in site-packages

· site-package/gnuradio isn’t in your Python path

 

I burned this image to my e310 literally in the last couple days, I used 
uhd_images_downloader and just burned whatever it gave me onto the SD card.  

 

I think it’s possible you could use Python/pip to install the gnuradio package 
directly from your ssh session – just like installing any Python package?

 

Cheers

Stuart

 

 

From: d...@hawaii.edu [mailto:d...@hawaii.edu] 
Sent: Tuesday, April 02, 2024 4:04 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Issues running generated GNU Radio ".py" file on E310 
(Embedded Mode)

 

I’m trying to run my “.py” file that I generated from GNU Radio (Host Laptop) 
onto my E310 (locally via SSH@root) but I'm getting a error saying:

"ImportError: No module named gnuradio". 

I’m currently using a newly flashed a SD image 
(e3xx_e310_sg3_sdimg_default-v4.4.0.0-rc1). From a version check it shows that 
both UHD and GNU Radio is installed on my E310 image. But for some reason it 
doesn’t recognize the gnuradio-companion command on terminal. Is there 
something I need to make this work? 

Current E310 Info/Version

SDR Image: e3xx_e310_sg3_sdimg_default-v4.4.0.0-rc1

GNU Radio: v 3.8.0.0

UHD: v4.4.0.0-0-g5fac246b

___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: Sharing one UHD device across multiple hosts

2024-05-05 Thread Stuart Austin
Perhaps consider having a virtual machine (VM) act as the go-between? The VM 
talks directly to the device via UHD, but then provides its own API that splits 
out the streams/sessions to clients running elsewhere. You'd have to write some 
code, of course; but presumably you could implement something similar to UHD, 
so the clients would appear to be talking to the device directly, other than 
some home-brew way of selecting the device/session.

Cheers
Stuart Austin

-Original Message-
From: Marcus D. Leech [mailto:patchvonbr...@gmail.com] 
Sent: Sunday, May 05, 2024 11:36 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] Re: Sharing one UHD device across multiple hosts

On 05/05/2024 11:27, jmalo...@umass.edu wrote:
>
> Hello,
>
> I am wondering if it is possible to allow another host device to start 
> a session with an x410 after it already has a session with a different 
> host device. In other words, multiple devices sharing one USRP device 
> at the same time.
>
> I know it is possible to “hijack” a session to perform some mpm 
> functions, but I would like to stream separate channels on the x410 
> device across separate host devices.
>
>
I don't believe that there's any such feature built-in to UHD. The USRP 
N2xx has an "alternative stream destination" API, but
   that did not make it into future USRPs as far as I know.

___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com
___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com


[USRP-users] Re: High power TX/RX same antenna

2025-02-17 Thread Stuart Austin
Can you just add more attenuation between the output of the circulator port 
that goes to the RX port on the N310? 

 

From: john.achkar.r...@gmail.com [mailto:john.achkar.r...@gmail.com] 
Sent: Monday, February 17, 2025 10:41 AM
To: usrp-users@lists.ettus.com
Subject: [USRP-users] High power TX/RX same antenna

 

Hi,

 

I am using a N310, with OAI to transmit 5G signal. I want to transmit 40 dBm 
using one antenna connected on both TX and RX ports. The best circulator I 
found has 18 dB isolation, which isn’t sufficient considering -15 dBm USRP max 
input power.

What is the best approach to consider?

Thanks a lot.

 

Best regards,

Charbel

___
USRP-users mailing list -- usrp-users@lists.ettus.com
To unsubscribe send an email to usrp-users-le...@lists.ettus.com