discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Registering Custom Data Types


From: Josh Blum
Subject: Re: [Discuss-gnuradio] Registering Custom Data Types
Date: Tue, 12 Jun 2012 09:51:11 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1


On 06/11/2012 09:11 PM, Ryan Wolfarth wrote:
> Hi again,
> 
> The "device streaming" documentation mentions that users may register their
> own data types and converter routines.  I'd like to implement a converter
> that takes the sc8 data type from the wire and converts to an sc8 host data
> type.  It looks like Josh added this functionality in November of last
> year.  Could I make use of this converter in rx_samples_to_file?  If so,
> can you provide an example of general converter use?  This is also cited as
> "todo" in the "Device streaming" documentation.
> 

:-)

If you take a look at lib/convert/* its actually full of examples.
Basically, you can register any arbitrary conversion function with some
identifiers and priority.

FWIW, I pushed a converter for sc8 to/from sc8 host to master just now,
since I think thats all you need.

-josh

> Thank you,
> Ryan
> 
> Setup: Dell PowerEdge R510 running UHD 3.4.2 on Ubuntu 12.04 server.
> 
> 
> 
> 
> _______________________________________________
> Discuss-gnuradio mailing list
> address@hidden
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio



reply via email to

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