# Is GNU Radio 3.6. have file like ./usrp2\_rx\_cfile.py

**URL:** <https://www.ruby-forum.com/t/is-gnu-radio-3-6-have-file-like-usrp2-rx-cfile-py/221840>\
**Category:** GNU Radio\
**Created:** [August 1, 2012, 8:03pm UTC](https://www.ruby-forum.com/t/is-gnu-radio-3-6-have-file-like-usrp2-rx-cfile-py/221840 "2012-08-01T20:03:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [August 1, 2012, 8:03pm UTC](https://www.ruby-forum.com/t/is-gnu-radio-3-6-have-file-like-usrp2-rx-cfile-py/221840/1 "2012-08-01T20:03:56Z")

</div>

In GNU Radio 3.4.2 ./usrp2\_rx\_cfile.py file for capture signal, is  
there any file in New GNU Radio Companion 3.6.2git-148-g7e0bf755 ?  
actually this version 3.6 don’t have USRP2 module, so get error while  
running./usrp2\_rx\_cfile.py.in cmake how to configure the installation  
process?  
ImportError: cannot import name usrp2  
pleaseHelp out and thanks

Regards  
Muhammad Junaid  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Muhammad\_JUNAID](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@Muhammad\_JUNAID](https://www.ruby-forum.com/u/Muhammad_JUNAID)\
**Post date:** [August 1, 2012, 8:06pm UTC](https://www.ruby-forum.com/t/is-gnu-radio-3-6-have-file-like-usrp2-rx-cfile-py/221840/2 "2012-08-01T20:06:17Z")

</div>

In GNU Radio 3.4.2 usrp2\_rx\_cfile.py file for capture signal, is there  
any file in New GNU Radio Companion 3.6.2git-148-g7e0bf755 ?

actually this version 3.6 don’t have USRP2 module, so get error while  
runningusrp2\_rx\_cfile.py.in cmake how to configure the installation  
process?  
ImportError: cannot import name usrp2  
pleaseHelp out and thanks

Regards  
Muhammad Junaid  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Muhammad\_JUNAID](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@Muhammad\_JUNAID](https://www.ruby-forum.com/u/Muhammad_JUNAID)\
**Post date:** [August 1, 2012, 8:17pm UTC](https://www.ruby-forum.com/t/is-gnu-radio-3-6-have-file-like-usrp2-rx-cfile-py/221840/3 "2012-08-01T20:17:58Z")

</div>

Try using “uhd\_rx\_cfile”.

~Sreeraj

* * *

From: Muhammad JUNAID [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
To: “removed\_email\_address@domain.invalid”  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Cc: “removed\_email\_address@domain.invalid” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Wednesday, 1 August 2012 11:35 PM  
Subject: [Discuss-gnuradio] Fw: Is GNU Radio 3.6. have file like  
usrp2\_rx\_cfile.py

In GNU Radio 3.4.2 usrp2\_rx\_cfile.py file for capture signal, is there  
any file in New GNU Radio Companion 3.6.2git-148-g7e0bf755 ?

actually this version 3.6 don’t have USRP2 module, so get error while  
runningusrp2\_rx\_cfile.py.in cmake how to configure the installation  
process?  
ImportError: cannot import name usrp2  
pleaseHelp out and thanks

Regards  
Muhammad Junaid  
removed\_email\_address@domain.invalid

---

<div class="post-metadata">

**Author:** ![Muhammad\_JUNAID](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@Muhammad\_JUNAID](https://www.ruby-forum.com/u/Muhammad_JUNAID)\
**Post date:** [August 1, 2012, 9:07pm UTC](https://www.ruby-forum.com/t/is-gnu-radio-3-6-have-file-like-usrp2-rx-cfile-py/221840/4 "2012-08-01T21:07:39Z")

</div>

On 08/01/2012 03:01 PM, Nick F. wrote:

> ```
> please Help out and thanks
> 
> Regards
> Muhammad Junaid
> removed_email_address@domain.invalid
> 
> ```
> 
> Use uhd\_rx\_cfile.
> 
> –n

And, in more-general terms, you should no longer be using any of the  
“classic” APIs to USRP1 and USRP2 – they have been deprecated for  
over two years. Unless you have significant investment in  
custom-written applications written to the “classic” APIs for USRP1 and  
USRP2,  
there’s no reason not to use UHD.

Given that you’re just usign the “cfile.py” programs, I suspect that  
using UHD will be largely painless.

You will need to program new firmware for your USRP2s, but the USRP1  
firmware is the same for both “classic” and UHD.

---

<div class="post-metadata">

**Author:** ![Muhammad\_JUNAID](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/8dc957/32.png) [@Muhammad\_JUNAID](https://www.ruby-forum.com/u/Muhammad_JUNAID)\
**Post date:** [August 1, 2012, 9:02pm UTC](https://www.ruby-forum.com/t/is-gnu-radio-3-6-have-file-like-usrp2-rx-cfile-py/221840/5 "2012-08-01T21:02:23Z")

</div>

On Wed, Aug 1, 2012 at 11:02 AM, Muhammad JUNAID  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)wrote:

> Muhammad Junaid  
> [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

Use uhd\_rx\_cfile.

–n
