discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: File Source - File Sink data transfer


From: Cinaed Simson
Subject: Re: File Source - File Sink data transfer
Date: Mon, 16 May 2022 13:32:40 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.0

Hi Jeff - let's take this offline.

We'll use the standard xxd "hello world" example.

  echo "0000 4865 6c6c 6f20 776f 726c 6421 0000" > hex.file

  xxd -r -p hex.file > binary.file

And you can look at the binary.file using

  xxd binary.file

-- Cinaed



On 5/16/22 09:56, user 1 wrote:
Hi Steven,

Thank you for your suggestion, but /dev/urandom  is an empty file ????   See Screenshot_3


jeff

------------------



Le 16/05/2022 à 16:41, Steven Barbo a écrit :
Howdy Jeff.
What happens if you use /dev/urandom as file source?

On Mon, May 16, 2022 at 9:09 AM user 1 <gnuradio@onditech.com <mailto:gnuradio@onditech.com>> wrote:

    Hello Cinaed,

    Unfortunately scheme doesn't work, even with a bin file.



    jeff


    ------------------------------

    Le 16/05/2022 à 12:06, Cinaed Simson a écrit :
     > Hi Jeff - the error indicates the file source has the wrong data
    type,
     > i.e. it may not be binary data.
     >
     > If the input file contains hex numbers, then you need to convert
    each
     > hex number to a binary number and concatenate them.
     >
     > -- CInaed
     >
     >
     > For instance, 40 hex is equivalent to 01000000 binary.
     >
     > For instance,
     >
     > On 5/16/22 00:46, user 1 wrote:
     >> Hi,
     >>
     >> Somebody could tell me why this simple scheme doesn't work (see the
     >> screenshots)?
     >>
     >>       File Source   --->   Throttle    --->   File Sink
     >>
     >>
     >> I work under Ubuntu 20.04.4  LTS and GnuRadio 3.9.6
     >>
     >>
     >> This scheme worked fine in the past with previous releases of
    GnuRadio.
     >>
     >>
     >> Thank you for your help.
     >>
     >>
     >>
     >> Jeff
     >



-- 
If something is requisite, how can it possibly be, prerequisite?

vanitas vanitatum omnia vanitas
later, steve
http://umn.edu/~barbo <http://umn.edu/~barbo>

reply via email to

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