- Assuming, both USRP boards are connected to the same computer, you need to open two MATLAB windows on that computer.
- Otherwise, open the MATLAB window on each of the computers to which USRP board is connected.
- Open the “QPSKTransmitterWithUSRPHardwareExample.mlx” file in one of the MATLAB windows. Ensure that a USRP board with transmit antenna is connected to this computer.
- Similarly, open the “QPSKReceiverWithUSRPHardwareExample.mlx” file in the other MATLAB window. Ensure that a USRP board with receiving antenna is connected to this computer. You can also use the following command to open the file.
- Now, execute the transmitter file first, then run the receiver example file.
- On the successful transmission of the message, the receiver MATLAB window will print the error rate value on the command prompt.
- To see the received message, you can set the “printReceivedData” variable to “true” at line number 87 of the “QPSKReceiverWithUSRPHardwareExample.mlx” file.
- Further, you can change the default “Hello World” message to any other message by setting “SimParams.Message” to any other text message at line 28 of the “sdruqpsktransmitter_init.m” file.
USRP hardware for direction finding using Mathlab
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
can anyone give me instruction about how to use the Examples of QPSK transmitter and receiver with USRP Hardware . I am unable to understand which code i have to run first and which one to run at last i have two usrp . i want to make one as a QPSK transmitter and second as QPSk receiver .the receiver code have default text messsage which contain hello world! can anyone change it so that it can receive the message transmitted by transmitter . if anyone can give the code of both then it will be very helpful for me.
0 Commenti
Risposte (1)
Harsh
il 15 Mag 2023
Hi Umesh,
I understand that you want to learn about the usage of “QPSK Transmitter/Receiver with USRP™ Hardware” examples. Further, you want to change the code such that it can receive other messages transmitted by the transmitter.
In the following points, I am answering the query in a stepwise manner:
Thanks!
2 Commenti
Harsh
il 16 Mag 2023
Okay umesh. I understand that.
For better clarity of the issue, can you please share the file and line number where this default text is written in receiver code?
Vedere anche
Categorie
Scopri di più su Communications Toolbox in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!