|
From: | Elmore Family |
Subject: | Re: Index Error: output_index < noutputs |
Date: | Tue, 26 Sep 2023 20:17:10 -0400 |
Paul, Thanks for answering. The following is what I hope is a simplified presentation of my code that is pertinent to the issue. The top flowgraph is complex. The FT8_Receive hier block is simple. The connections section below should be sufficient for explaining it. I am using a gnu radio flowgraph to attempt to select the appropriate Selector Block output as explained below. The following error occurs when I run the flowgraph: Index Error: output_index must be < noutputs. Obviously the chosen index of 1 is less than the number of outputs 2. What is wrong? The following code is in an FT8_Receive hier block. It shows only the code pertinent to the issue I am experiencing. The connections section shows the Selector Block with 2 outputs connected to 2 Wave File Sinks. I am attempting to select the appropriate output by using wave_select in the output index as shown in def set_wave_select().
.................................
The following code is from the .py file that is an OOT in the top block of the flowgraph. This is where I am calling set_wave_select. from FT8_Receive import FT8_Receive
From: Paul
Atreides
Sent: Tuesday, September 26, 2023 6:40 PM
To: Elmore's
Subject: Re: Index Error: output_index <
noutputs Jim, can you please re-post your flowgraph?
I’ll try to take another look at it.
Also, what version of GNURadio are you using? <end
transmission>
On Sep 26, 2023, at 11:48, Elmore's <wa4ywm@comcast.net> wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |