Hi, I'm trying to receive IQ signal from two Rx channels with B210 and Python APIs. It works fine while using one Rx channel. However, if the st_args.channels = [0, 1], it returns the error Invalid recv stream command - stream now on multiple channels in a single streamer will fail to time align.
Then, I tried the solution provided in the #325 to set the stream_cmd.stream_now = False. But it turns out that the collected sample are all zeros.
While using two channels and stream_cmd.stream_now = True
Traceback (most recent call last):
File "/home/sada45/BLong/USRP/test.py", line 35, in <module>
streamer.issue_stream_cmd(stream_cmd)
RuntimeError: RuntimeError: Invalid recv stream command - stream now on multiple channels in a single streamer will fail to time align.
If the stream_cmd.stream_now = False, the error is gone, but received samples are all 0:
Issue Description
Hi, I'm trying to receive IQ signal from two Rx channels with B210 and Python APIs. It works fine while using one Rx channel. However, if the
st_args.channels = [0, 1]
, it returns the errorInvalid recv stream command - stream now on multiple channels in a single streamer will fail to time align.
Then, I tried the solution provided in the #325 to set the
stream_cmd.stream_now = False
. But it turns out that the collected sample are all zeros.Setup Details
UHD: 4.3.0.0, Python: 3.8.10, OS: Ubuntu 20.04, USRP: B210
Expected Behavior
Actual Behaviour
While using two channels and
stream_cmd.stream_now = True
If the![image](https://user-images.githubusercontent.com/49777976/197528029-465d28fa-b0a9-4871-bc19-9dd205052e63.png)
stream_cmd.stream_now = False
, the error is gone, but received samples are all 0:Steps to reproduce the problem
My code to collect the signal samples is:
Additional Information