discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: How pass an input vector in an OOT QA test?


From: Marcus Müller
Subject: Re: How pass an input vector in an OOT QA test?
Date: Thu, 21 Apr 2022 10:50:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.7.0

You'll have to tell us what you do with that `data` and what the io_signature of your block is.

On 20.04.22 17:22, George Edwards wrote:
Hello GNURadio Community,

In an OOT QA testing of a signal processing block designed to accept an input vector of 4 elements, I am having problems passing the QA input as a vector. It sees the input as a stream. I tried passing the data in two ways, but each failed. Here are the two ways I have formated the QA data which I would like to be seen as a vector of 4 elements:

data = (1.0, 2.0, 3.0, 4.0)  and
data = numpy.array([[1.0, 2.0, 3.0, 4.0], [5.0, 6.0, 7.0, 8.0]])

I would appreciate any suggestion.

Thank you!
George



reply via email to

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