discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

How to set variable number of inputs/outputs in Python OOT modules


From: George Edwards
Subject: How to set variable number of inputs/outputs in Python OOT modules
Date: Wed, 3 Feb 2021 13:14:03 -0600

Hello,

I wish to build an OOT module in Python which can take a variable number of inputs and outputs. In C++ OOT, there are the io signatures <+min_in+>,  <+max_in+>, etc. which can be set to 1 and -1 to mean the input can be any number. Python does not have these, it has the in_sig and out_sig which do not offer the flexibility as the C++ OOT. How can I get a variable number of inputs/outputs that is user defined in a Python OOT?

Also, how do I set the parameters in yml file for variable inputs and outputs?

I will appreciate any help.

Thank you!

Regards,
George 

reply via email to

[Prev in Thread] Current Thread [Next in Thread]