Re: [USRP-users] Issues with multi-usrp and UHD

2020-08-21 Thread Andreas B via USRP-users
Thanks for pointing that out Rob. I have created a std::vector enabled_channels = {0, 2}. I also changed so that those channel numbers (0 and 2) are used to tune the radios, adjust gain and check for locked LO. Code is attached. Now I still have similar issues and I observe 3 cases: ·

Re: [USRP-users] Issues with multi-usrp and UHD

2020-08-21 Thread Rob Kossler via USRP-users
Hi Andreas, When you set the subdev spec to "A:0 B:0" for both devices as you do in this case, UHD now has 4 channels where channels 0/1 are on device 1 and 2/3 are o{n device 2. So, your streaming command is correct in choosing {0,2} as the desired stream channels. But other parts of your code are

Re: [USRP-users] Incorrect data from usrp 2955

2020-08-21 Thread Koyel Das (Vehere) via USRP-users
Ok thanks. I will then generate a tone and see the amplitude and if any distortion on the received signal. Regards, Koyel Get Outlook for iOS From: Marcus D. Leech Sent: Friday, August 21, 2020 9:18:29 PM To: Koyel Das (Vehere) ; usrp-use

Re: [USRP-users] Incorrect data from usrp 2955

2020-08-21 Thread Marcus D. Leech via USRP-users
On 08/21/2020 08:47 AM, Koyel Das (Vehere) wrote: Hi Marcus, In order to see if single channel of usrp is giving correct phase, I will transmit a qpsk signal using one usrp and receive using the usrp under test. The qpsk signal should appear same in receiver as in transmitter and that will co

Re: [USRP-users] Ordering of I/Q data in buffers on the host

2020-08-21 Thread Marcus D. Leech via USRP-users
On 08/21/2020 09:51 AM, Nate Young via USRP-users wrote: Hi All. I am using a Linux based host with b205mini and have a question on the ordering of I and Q samples in a buffer. If I create a buffer of floats, and then send them via the API uhd_tx_stream_send(), which sample should come first

Re: [USRP-users] Ordering of I/Q data in buffers on the host

2020-08-21 Thread Marcus Müller via USRP-users
fArray[i*2] are the I components, fArray[i*2+1] are the Q components, exactly as you'd get with a (libc or C++ std::) complex. Best regards, Marcus On 21.08.20 15:51, Nate Young via USRP-users wrote: > Hi All. > > I am using a Linux based host with b205mini and have a question on the > orderin

[USRP-users] Ordering of I/Q data in buffers on the host

2020-08-21 Thread Nate Young via USRP-users
Hi All. I am using a Linux based host with b205mini and have a question on the ordering of I and Q samples in a buffer. If I create a buffer of floats, and then send them via the API uhd_tx_stream_send(), which sample should come first in the buffer? I know the I and Q are interleaved, but should

Re: [USRP-users] Issues with multi-usrp and UHD

2020-08-21 Thread Andreas B via USRP-users
> Can you resend the source code for the first case you describe below along > with command line? I have attached the code for a channel mapping of (0,2) in siggen.cc. I also include my CMakeLists file. Program is run without arguments; ./siggen Attached output_case_1.txt shows the program out