discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] Wav sink problem


From: Anton Komarov
Subject: Re: [Discuss-gnuradio] Wav sink problem
Date: Fri, 28 Sep 2012 08:54:17 +0400

ok! with conditional filename works like a charm!
thank you very much!
sorry that i did get for the first time ;-)

On Fri, Sep 28, 2012 at 1:47 AM, Marcus D. Leech <address@hidden> wrote:
>> Ok, tried with selector and check box.
>> I started script, check box appeared, i cheched it and recording to
>> wav file started.
>> Wait a bit and unchecked it, got file 2.7 Mbytes, not growing more,
>> then stopped the script.
>> FIle is corrupted.
>>
>>
>>
> Looked at your flow-graph.
>
> You have to make the *filename* on the WAV sink change depending on
> recording/not-recording.
>
> Just use a conditional expression as the filename parameter in the filename
> sink
>
> "myfile" if recording_on else "/dev/null"
>
>
>
> --
> Marcus Leech
> Principal Investigator
> Shirleys Bay Radio Astronomy Consortium
> http://www.sbrac.org
>
>
>
>
> _______________________________________________
> 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]