I’m trying to use an external file source (a FIFO, actually) connected
to a variable sink to allow
passing operational parameters into a GRC flow-graph. Obviously the
rate at which this happens
is extremely low. Will this actually work, or will the flow-graph
buffering really screw me up?
It doesn’t look like its working, so I’d like to understand if I’m
making a conceptual error.
–
Marcus L.
Principal Investigator
Shirleys Bay Radio Astronomy Consortium
The buffering will always get you. One solution would be to oversample
your control input. And something else that probably needs to be fixed
in general would be that the decimation in the variable sink should
take place in python and not in the keep 1 in n block. That would
actually avoid buffering between the keep 1 in n and the message
block.
I invite you to take a look at the xmlrpc blocks in grc. You can drop
in an xmlrpc server block and get remote control of all of the set_*
methods in your flow graph. This may be closer to what you are aiming
for.
-josh