[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuradio-discuss
Subject:    Re: [Discuss-gnuradio] How to start and stop recording without exiting the flowgraph
From:       Murray Thomson <murraythomson123 () gmail ! com>
Date:       2015-05-29 20:41:12
Message-ID: CALf1X5P-7AQy-SpxPJBUk3_y1fsEqx7HLSSFQXOmZv27M+umJw () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


Hi,

I tried to follow Carl's suggestion to record a wav file but it didn't work
for me. The first time I change the check box the wav file sink will stop
working forever. File sinks works fine. Will Martin's suggestion work for
wav files or does anyone have another suggestion to record wav files only
when the checkbox is enabled?
I've attached my flowgraph.

Cheers,
Murray

2015-05-26 22:40 GMT+01:00 Carl Olsson <carlolsson.co@gmail.com>:

> Thank you for the answer.
> I think I found however that the selector block and a check button is
> already doing what I needed.
>
> Cheers,
>
> Carl
>
> On 25 May 2015 at 02:14, Martin Braun <martin.braun@ettus.com> wrote:
>
>> On 05/24/2015 06:46 PM, Carl Olsson wrote:
>> > Hi all,
>> >
>> > I would like to use two filesink blocks to record signals from two
>> > USRP:s with MIMO Cable. I am interested in the phase offset of an
>> > incoming signal so I first need to calibrate and then start recording. I
>> > haven't found how this could be done in an easy way, does anyone have
>> > any ideas?
>> >
>> > To clarify:
>> > I would like to start my flowgraph then when I press a button in the GUI
>> > start recording and then press the button again and stop recording.
>>
>> Write a small Python block that takes a setter, then input a button
>> state through a QT selector. This block will only allow samples flowing
>> through when you input a certain state.
>>
>> Cheers,
>> M
>>
>>
>> _______________________________________________
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
>
>
> _______________________________________________
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>
>

[Attachment #5 (text/html)]

<div dir="ltr"><div><div>Hi,<br><br>I tried to follow Carl&#39;s suggestion to record \
a wav file but it didn&#39;t work for me. The first time I change the check box the \
wav file sink will stop working forever. File sinks works fine. Will Martin&#39;s \
suggestion work for wav files or does anyone have another suggestion to record wav \
files only when the checkbox is enabled? <br>I&#39;ve attached my \
flowgraph.<br></div><div><br></div>Cheers,<br></div>Murray<br></div><div \
class="gmail_extra"><br><div class="gmail_quote">2015-05-26 22:40 GMT+01:00 Carl \
Olsson <span dir="ltr">&lt;<a href="mailto:carlolsson.co@gmail.com" \
target="_blank">carlolsson.co@gmail.com</a>&gt;</span>:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div dir="ltr">Thank you for the answer.<div>I think I found \
however that the selector block and a check button is already doing what I \
needed.</div><div><br></div><div>Cheers,</div><div><br></div><div>Carl</div></div><div \
class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div \
class="gmail_quote">On 25 May 2015 at 02:14, Martin Braun <span dir="ltr">&lt;<a \
href="mailto:martin.braun@ettus.com" \
target="_blank">martin.braun@ettus.com</a>&gt;</span> wrote:<br><blockquote \
class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc \
solid;padding-left:1ex"><div><div>On 05/24/2015 06:46 PM, Carl Olsson wrote:<br> &gt; \
Hi all,<br> &gt;<br>
&gt; I would like to use two filesink blocks to record signals from two<br>
&gt; USRP:s with MIMO Cable. I am interested in the phase offset of an<br>
&gt; incoming signal so I first need to calibrate and then start recording. I<br>
&gt; haven&#39;t found how this could be done in an easy way, does anyone have<br>
&gt; any ideas?<br>
&gt;<br>
&gt; To clarify:<br>
&gt; I would like to start my flowgraph then when I press a button in the GUI<br>
&gt; start recording and then press the button again and stop recording.<br>
<br>
</div></div>Write a small Python block that takes a setter, then input a button<br>
state through a QT selector. This block will only allow samples flowing<br>
through when you input a certain state.<br>
<br>
Cheers,<br>
M<br>
<br>
<br>
_______________________________________________<br>
Discuss-gnuradio mailing list<br>
<a href="mailto:Discuss-gnuradio@gnu.org" \
target="_blank">Discuss-gnuradio@gnu.org</a><br> <a \
href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a><br> \
</blockquote></div><br></div> \
</div></div><br>_______________________________________________<br> Discuss-gnuradio \
mailing list<br> <a href="mailto:Discuss-gnuradio@gnu.org">Discuss-gnuradio@gnu.org</a><br>
 <a href="https://lists.gnu.org/mailman/listinfo/discuss-gnuradio" \
target="_blank">https://lists.gnu.org/mailman/listinfo/discuss-gnuradio</a><br> \
<br></blockquote></div><br></div>

--047d7b6222e46e825605173e808c--


["recording.grc" (application/gnuradio-grc)]

_______________________________________________
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic