pothosware / SoapySDR

Vendor and platform neutral SDR support library.

Home Page:https://github.com/pothosware/SoapySDR/wiki

Repository from Github https://github.compothosware/SoapySDRRepository from Github https://github.compothosware/SoapySDR

Help with integrating SoapySDR into UHD

drhill99 opened this issue · comments

Hello!

As the topic states, I am working on integrating SoapySDR Python API, into our system that utilizes a UHD B200/205 mini . I am currently getting the following error: "Error: Must put a numpy array in."
The following are screens of Tx and Rx setup functions, and Tx and Rx streaming functions.

Tx Setup:
setTx
Rx Setup:
setRx
Tx and Rx writeStream() and readStream() functions:
TxRxFunctions
pothosware/SoapySDR/assets/49352267/e9e4204f-66b5-45b8-84b7-fed03aed66b5)

The commented code in the images is our current working UHD code. That is followed by the SoapySDR code that I have written as I have tried to match it with the example code for the Python API.
Our generated data packet: "payload_data" from the txData() function is a numpy.ndarray complex64 data type, yet I am getting the error as I state previously. I would appreciate it if anyone was able to set me straight as to what I am doing wrong.

Thank You.