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
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to