Hi James, three options I can see: 1) Quick& Dirty: Implement both algorithms in parallel and use the Peak Detector block to generate a 0 or 1 depending on your condition. Then invert the condition, multiply the outputs of the two algorithms with the two condition outputs and add them. 2) Depending on your condition and what you want to do, the Python Module block may help. You can implement python function in it and use them anywhere in your flow chart: https://wiki.gnuradio.org/index.php/Python_Module 3) Build your own module: https://wiki.gnuradio.org/index.php/OutOfTreeModules
Best regards, Fabian Am 04.12.20 um 10:36 schrieb james jordan: > Hi ALL, > i want to compute process a block's output then pass the result to > another block's input. the process is not a fix equation but like this > if(output > a)... else... so is there any way to do this without making > a new block by myself. can i modify the generated python code to insert > this logic? if i have to make a new block then how to make? > > > <http://aka.ms/weboutlook>