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 prov

RE: GNU Radio Companion N310 GPIO Sink/Source block

2022-06-29 Thread White, Joshua J
Thanks for all the replies. I’m going to start with a Python block and see if I can get it to do what I need it to do, and if not I’ll bite the bullet and try to write an OOT module. Very respectfully, Joshua White Precision Timing Systems Engineer Engineering & Support Solutions Direct

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