Re: Passing Message Input Index to

2022-06-29 Thread Merlo, Jason
Hi Marcus, Thank you very much for your response! I just tried implementing the functions using lambdas in Python and ran into another issue I've seen before: gr::log :ERROR: thread_body_wrapper - ERROR thread[thread-per-block[3]: ]: AttributeError: 'gnuradio.gr.gr_python.block_gateway' object

Re: Passing Message Input Index to

2022-06-29 Thread Marcus Müller
Hi Merlo, On 29.06.22 18:53, Merlo, Jason wrote: A separate function can be registered for each input, however I would need to dynamically generate functions based on the number of inputs a user has configured, which has been giving me trouble. Ideally, the function handler callback would

Passing Message Input Index to

2022-06-29 Thread Merlo, Jason
Hi All, I'm currently working on an asynchronous message multiplexing block using Python and I'm having difficulty determining from which input on my block a specific message came from in the message handler function. The issue is that the multiplicity of inputs is user configurable, so I need