How to create a USRP NI 2920 Transmitter object in MATLAB
13 次查看(过去 30 天)
显示 更早的评论
Hi i am working with NI 2920 usrp . i can detect the sdr using the code 'findsdru ',but i cannot figure out how to send the ppm signal that i created earlier in matlab to the usrp . What i am getting is, i need to create an object but still how will a real time transmission will carry out is not clear . Any help is really appreciated.
0 个评论
回答(1 个)
Ninad
2024-1-20
Hi Sana,
As per my understanding, you are working with a NI 2920 USRP and trying to send a PPM signal that you created earlier in MATLAB to the USRP. You have used the "findsdru" code to detect the SDR, but are unsure how to create an object and carry out real-time transmission.
To send data to a USRP hardware device, you can use the "comm.SDRuTransmitter" object in MATLAB. The SDRuTransmitter System object sends data to a Universal Software Radio Peripheral (USRP) hardware device, enabling simulation and development for various software-defined radio applications.
The following line of code creates a defautl SDRu transmitter System object.
tx = comm.SDRuTransmitter
The following line of code sends data to a USRP device associated with the "comm.SDRuTansmitter" System object "tx" and returns an integer value that indicates data discontinuity for the input data input.
underrun = tx(input)
Where, "input" is an input signal sent to the USRP radio, specified as a complex column vector or complex matrix.
You can go through following MATLAB documentation for more details on the "comm.SDRuTransmitter" object:
Hope this helps.
Regards
Ninad
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Communications Toolbox 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!