USRP Software Radio

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to modify text message in Packet-based Digital Link example while running.

I want to modify text message in Packet based Digital Link example (link given below)  while executing. Can any body guide me how can I do that.

 

 

Currently I need to stop both Tx and Rx files and then re-run after modifying the text message. But I want to make it in such a way so that I do not need to stop and re-run neither Tx nor Rx file and as soon as I update text message at Tx the Rx will be update too automatically.

 

Can any body guide me how can I do that?  What changes do I need to make in it?

 

 

The link of the example is given below:

 

https://decibel.ni.com/content/docs/DOC-18801

 

 

Thanks

 

JK

 

 

 

0 Kudos
Message 1 of 2
(4,531 Views)

Hi JK,

 

As the code currently stands, your string control that defines the text message contents lies outside of the loop that enques elements to your queue (the producer loop). There are many ways in which you can do this, the simplest (but not necesarilly the wisest) way would be to include the process by which the text is used to generate packets into your producer loop. Once change is implemented, you would have to change your Rx VI to continously attempt to fetch packets, as opposed to stopping when all packets are received. 

Rick C.
0 Kudos
Message 2 of 2
(4,507 Views)