On 04/21/2012 08:20 PM, Vladimir Dergachev wrote:


On Fri, 20 Apr 2012, Marcus D. Leech wrote:

On 04/20/2012 03:45 PM, Vladimir Dergachev wrote:



I actually worked out a different solution, involving reflexive FIFOs seems to work.



I am not familiar with those - could you comment in more detail ? Thanks !

                 Vladimir Dergachev



The flow-graph writes to 3 FIFOs. I fire off 3 reader threads that read the FIFOs, and only dump data when the other part of the program determines that it's in a "triggered" situation, since I'm both reading and writing, I refer to that as "reflexive".

It maintains the existing semantic for the gr_file_sink, and since I already have some "helper" Python code to deal with trigger detection,
  it was a natural place to put it.  Works just fine.



--
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