I am attempting to use a Selector block with 2 outputs. I want to select the
output programmatically. When I run the flowgraph, I get the subject error.
The following is my abbreviated code which is pertinent to the question
interspersed with explanatory comments:
import Receive Receive is a Hi
Don't you need to instantiate "Receive"?
---
Jim Melton
Non-Sensitive
From: discuss-gnuradio-bounces+jim.melton=sncorp@gnu.org
On Behalf Of Elmore's
Sent: Monday, August 28, 2023 09:15
To: discuss-gnuradio@gnu.org
Subject: [EXTERNAL] Selector error - "IndexEr
Jim,
I have attached a greatly simplified version of what I am trying to accomplish.
I still get the same error. What am I doing wrong?
Jim
From: Jim Melton
Sent: Monday, August 28, 2023 12:01 PM
To: discuss-gnuradio@gnu.org
Subject: RE: Selector error - "IndexError: output_index mu
et the same error. What am I doing wrong?
Jim
From: Jim
Melton
Sent: Monday, August 28, 2023 12:01 PM
To: discuss-gnuradio@gnu.org
Subject: RE: Selector error - "IndexError: output_index must be <
noutputs"
Don’t you need to instantiate “Receive”?
---
Jim
Melton
Non-Sens
that variable from within
another method. How do I do that?
Jim
From: Jim Melton
Sent: Tuesday, September 5, 2023 1:02 PM
To: discuss-gnuradio@gnu.org
Subject: RE: Re: Selector error - "IndexError: output_index must be < noutputs"
In your original,
import Receive Receive is
lustrative purposes).
Hope this helps.
---
Jim Melton
Non-Sensitive
From: Elmore's
Sent: Friday, September 1, 2023 20:28
To: discuss-gnuradio@gnu.org
Subject: [EXTERNAL] Re: Selector error - "IndexError: output_index must be <
noutputs"
Jim,
I have attached a greatly sim
: [EXTERNAL] Re: Selector error - "IndexError: output_index must be <
noutputs"
Jim,
Thanks for your comments. I think I have been going down the wrong road and
need to refocus on using a callback to resolve my issue.
I have used callbacks all through my project which have been tr