discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] DSP Block with internal variable output / monitor


From: Alex Roberts
Subject: Re: [Discuss-gnuradio] DSP Block with internal variable output / monitor
Date: Tue, 23 Jul 2019 15:44:47 -0500

Marcus,

I think what you said makes sense. I was initially thinking I would have a synchronous block with a message port output, but if I can keep it as simple as a sync block with two outputs just with different sizes, then that is where I will start.

Thanks,
Alex.

On Tue, Jul 23, 2019 at 9:16 AM Müller, Marcus (CEL) <address@hidden> wrote:
Hi Alex,

to get this straight: on your monitoring output, you get one item of
output per item of input? (an input item being a vector, and a
monitoring output item being a number)

Then, everything is well: The thing is still a sync block, just one
where not all output item sizes are identical, and not all are
identical to the input item sizes.

Even if that's not the case, the right way here would be to write a
general block with streams, not an asynchronous messaging block, since
the monitoring data is "synchronous" to the other data.

Best regards,
Marcus

On Tue, 2019-07-23 at 09:10 -0500, Alex Roberts wrote:
> I'd like to monitor an internal variable on a DSP block. have not made a custom block before but have read through some tutorials.
>
> Since the DSP inputs and outputs are vectors, and the variable is a single item whose value is dependent on the processing of the vector, the number of outputs does not match the number of inputs. The value is updated after each input vector is processed. Does this mean I should use the message port to asynchronously output the variable, or can I simply add another port and output the value as say a float or integer that is synchronously updated with the block?
>
> For example, in a Reed-Solomon implementation, how could I add an output to monitor the number of errors corrected?
> _______________________________________________
> 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]