discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 204, Issue 6


From: Barry Duggan
Subject: Re: [Discuss-gnuradio] Discuss-gnuradio Digest, Vol 204, Issue 6
Date: Wed, 09 Oct 2019 14:05:07 -0400
User-agent: Roundcube Webmail/1.3.8

Hi Ali,

I suggest you take a look at the top level functions to get a perspective of your overall plan. I am guessing that it would look something like this:
A  your C program which outputs text ->
B. Text stream or message ->
C. Input to SDR
D. Whatever GR functions you need
E. Output to USB, audio, etc

You might consider writing your C program as an OOT source block for your flowgraph. That way you won't have a problem getting the text to the next block. You might not even need the text per se, depending on what you want to do with it next (encoding, packets, etc.).

Some of the others might want to offer their thoughts as well.

Cheers!
---
Barry Duggan


On 2019-10-08 23:06, ali mokdad wrote:
Hi,

Thanks for you,

At the end, I want to write a separate application, for example a c
language program, then each data i send from this application i want
it to be an input to the gnuradio flowgraph then using this flowgraph
i want to transmit this data.

The connection between this application and gnuradio, i suggest to be
a unix pipe instead of tcp or udp socket. Therefore, as a beginning
test i was trying the previous test between $ cat > in and message
debug in gnuradio.

What you suggest to do and which one is better.

Thanks for your time.

Best wishes

On Oct 8, 2019, at 9:21 PM, Barry Duggan <address@hidden> wrote:

Hi Ali,

I am trying to get an idea of what you really want to accomplish. If it is simply to get text input to your flowgraph, there are several choices, but all of them that I have found buffer a line at a time (ending with return / enter). I have had similar issues. Here are two choices:

1) Use file input from /dev/stdin (The terminal screen).
2) Use a Message Edit block. If you want to do this one, I can give you more information. (Thanks to Volker Schroer for his help on that).

If there is more to what you want to accomplish, maybe you can restate your goal.

We're here to help.
--
Barry Duggan

P.S. Use 'Reply All' to get this into the discussion thread.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]