3
$\begingroup$

(This is a follow up question to a previous question: link)

I have implemented a flowgraph of a transceiver loopback inspired by the examples found at gnuradio/gr-digital/examples/packet, with a slight change - instead of driving the Packet_tx with:

  • Message Strobe > Random PDU Generator > Packet_tx

I am using:

  • File Source (/tmp/in_strings.txt) > Throttle > Stream to Tagged Stream > Tagged Stream to PDU > Packet_tx.

Then the data is recovered by the Packet_rx with:

  • PDU to Tagged Stream > File Sink (/tmp/out_strings.txt)

Flowgraph below:

enter image description here

My expectation: I was hoping to transmit most of the data from in_strings.txt to out_strings.txt

What really happened:

  • Chunks of data are lost during transmission in an intermittent fashion. Diff below:

enter image description here

  • Transmission stops unexpectedly after ~40kB.

The files involved in this experiment:

I wonder what may be the cause of this?
Thanks in advance!

$\endgroup$
2
  • $\begingroup$ Were you able to solve your problem? $\endgroup$
    – Galib
    Jun 10 '20 at 23:41
  • $\begingroup$ Sort of... Those blocks simply don't work the way we expect. I had to dig in to those blocks and create my owns. $\endgroup$
    – fmagno
    Oct 7 at 16:34
0
$\begingroup$

You are lacking the repeat option in the file source.

Also, could you please share your GRC code ? The links you uploded are dead

$\endgroup$
4
  • $\begingroup$ Your answer doesn't make any sense. Why do you think the repeat option in the file source has anything to do with the loss of data...? $\endgroup$
    – fmagno
    Oct 7 at 16:32
  • $\begingroup$ Indeed, the problem is not in the source but comes from the transmission chain It self. I'm facing on a similar problem and wanted to test out your setting. Unfortunately the link to your .grc is dead. The problem I'm facing is the output file is successfully created however, it stays empty eve though the code runs. Could you please share a link to the .grc you used in this setting ? $\endgroup$
    – mdahhani
    Oct 7 at 18:30
  • $\begingroup$ I don't have the .GRC anymore... But I'd recommend trying your luck with the gnuradio community in slack $\endgroup$
    – fmagno
    Oct 7 at 18:54
  • $\begingroup$ In your comment to Galib you said that you had replace some of the blocks above by your own. Can you tell us which blocks from the graph you posted did you replace ? $\endgroup$
    – mdahhani
    Oct 9 at 19:29

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.