discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Slow control external hardware


From: Daniele Nicolodi
Subject: Re: [Discuss-gnuradio] Slow control external hardware
Date: Wed, 30 Jul 2014 13:40:22 +0200
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:24.0) Gecko/20100101 Thunderbird/24.6.0

On 29/07/2014 19:29, address@hidden wrote:
> There are rather a lot of ways to choke this particular cat, writing a
> block is just one of them.
> 
> I do "control external device" things from within GRC without custom 
> blocks, using "helper code" and a polling function at a low rate
> that drives a simple state machine. I use this for controlling a
> serial device that turns calibration sources on/off. It can get data
> out of the flow-graph if it needs to, with low-rate "probe" blocks.
>
> Some might call this inelegant, I call it saving the headache of
> writing/maintaining custom blocks when the functionality doesn't
> really require real-time access to the sample stream....

Hello,

well, writing a block that listens to messages or that emits messages
takes less than 20 lines of python all included.  I would hardly call
this an "headache" to maintain :)

Cheers,
Daniele




reply via email to

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