Re: [USRP-users] Help with uhd

2018-03-20 Thread Marcus Müller via USRP-users
s_args1["block_id"] = packetresizer_ctrl_id; > > > uhd::stream_args_t stream_args1("fc32", "sc16"); > > > stream_args1.args = stream_args_args1; > > > uhd::rx_streamer::sptr rx_stream = usrp- > > > > get_rx_stream(stream_arg

Re: [USRP-users] Help with uhd

2018-03-18 Thread Snehasish Kar via USRP-users
;<<std::endl; >> chan128_ctrl = usrp->get_block_ctrl(chan128_ctrl_id); >> blocks.push_back(chan128_ctrl->get_block_id()); >> //stream_args_args["block_id"] = chan128_ctrl_id; >> spp = chan128_ctrl->get_args().cast("spp",spp); >> std::cou

Re: [USRP-users] Help with uhd

2018-03-17 Thread Snehasish Kar via USRP-users
::stream_args_t stream_args("fc32", "sc16"); stream_args.args = stream_args_args; //stream_args.args["spp"] = boost::lexical_cast(spp); //stream_args.args["gr_vlen"] = boost::lexical_cast(spp); uhd::rx_streamer::sptr rx_stream = usrp->get_rx_stream(stream_ar

Re: [USRP-users] Help with uhd

2018-03-17 Thread Marcus Müller via USRP-users
Dear Shehasish, Marcus Leech already responded to your last mail. We can't help you without all your code, especially whatever sets up "args2954R". Best regards, Marcus M On Sat, 2018-03-17 at 06:22 +, Snehasish Kar via USRP-users wrote: > hello > > On trying to use an multi usrp shared

[USRP-users] Help with uhd

2018-03-17 Thread Snehasish Kar via USRP-users
hello On trying to use an multi usrp shared pointer, I get the following error in rfnoc enviroment: Error: TypeError: [0/FIFO_1] Invalid output port number (ANY). I declared the shared pointer as below uhd::usrp::multi_usrp::sptr usrp_temp = uhd::usrp::multi_usrp::make(args2954R);

Re: [USRP-users] help with uhd

2018-03-16 Thread Marcus D. Leech via USRP-users
On 03/16/2018 03:39 PM, Snehasish Kar via USRP-users wrote: hello On trying to use an multi usrp shared pointer, I get the following error in rfnoc enviroment: Error: TypeError: [0/FIFO_1] Invalid output port number (ANY). I declared the shared pointer as below

Re: [USRP-users] Help on UHD Python API installation

2018-01-25 Thread Zhongyuan Zhao via USRP-users
I updated Ubuntu 14.04 LTS to 16.04 LTS, then the cmake passed with python-api enabled. Zhongyuan Zhao PhD Candidate, Department of Computer Science & Engineering, University of Nebraska-Lincoln Office Hour: WF 9:30-10:00am, Avery Hall 12, Suite 117, Schorr Center, Lincoln, Nebraska 68588-0115

Re: [USRP-users] Help on UHD Python API installation

2018-01-25 Thread Ron Economos via USRP-users
This is just a guess, but you may want to try: sudo apt-get install python-dev Ron On 01/24/2018 10:17 AM, Zhongyuan Zhao via USRP-users wrote: Python2.7-dev is already installed, here is the full cmake print == ➜ build cmake .. -- -- Configuring the python interpreter... -- Python

Re: [USRP-users] Help on UHD Python API installation

2018-01-25 Thread Brent Stapleton via USRP-users
Hi Zhongyuan, CMake couldn't determine the Git hash. Not sure why that is; it should say something like "Working off of feature or development branch. Updating version number." Is there a .git/ directory in your UHD source directory? It looks like the CMake module FindPythonLibs [1] can't find

Re: [USRP-users] Help on UHD Python API installation

2018-01-24 Thread Zhongyuan Zhao via USRP-users
Python2.7-dev is already installed, here is the full cmake print == ➜ build cmake .. -- -- Configuring the python interpreter... -- Python interpreter: /usr/bin/python -- Override with: -DPYTHON_EXECUTABLE= fatal: Not a git repository (or any of the parent directories): .git -- Could not

Re: [USRP-users] Help on UHD Python API installation

2018-01-23 Thread Martin Braun via USRP-users
On Tue, Jan 23, 2018 at 04:36:13PM +, Zhongyuan Zhao wrote: >Hi,  >The CMAKE shows that Python API is disabled, >I was unable to enable it. It shows  >Dependency PythonLibs_FOUND = >Is there anything missing?  You need Python development libraries, e.g., python2.7-dev

Re: [USRP-users] Help on UHD Python API installation

2018-01-23 Thread Zhongyuan Zhao via USRP-users
CMAKE list Python API as disabled, Moreover, Dependency PythonLibs_FOUND = Disabling LibUHD - Python API support. Zhongyuan Zhao PhD Candidate, Department of Computer Science & Engineering, University of Nebraska-Lincoln Office Hour: WF 9:30-10:00am, Avery Hall 12, Suite 117, Schorr Center,

Re: [USRP-users] Help on UHD Python API installation

2018-01-23 Thread Zhongyuan Zhao via USRP-users
Hi, The CMAKE shows that Python API is disabled, I was unable to enable it. It shows Dependency PythonLibs_FOUND = Is there anything missing? Zhongyuan Zhao PhD Candidate, Department of Computer Science & Engineering, University of Nebraska-Lincoln Office Hour: WF 9:30-10:00am, Avery Hall 12,

Re: [USRP-users] Help on UHD Python API installation

2018-01-22 Thread Martin Braun via USRP-users
Zhao, you need to first install Boost, then UHD. When you run CMake on UHD, does it list the Python API as an enabled component? -- M On 01/22/2018 02:43 PM, Zhongyuan Zhao via USRP-users wrote: > Could anyone provide a complete guidance of installation of UHD Python > API on Ubuntu? > > I

[USRP-users] Help on UHD Python API installation

2018-01-22 Thread Zhongyuan Zhao via USRP-users
Could anyone provide a complete guidance of installation of UHD Python API on Ubuntu? I cloned the python api repo, and followed this installation of UHD from source Then I installed