In gnuradio I have created a vector source outputing bytes and put the
following as the vector parameter:

tuple(numpy.randint(0,256,1000))

In addition I have an import block with

import numpy

When I run the graph I get the following python error:

TypeError: in method 'vector_source_b_make', argument 1 of type

'std::vector< unsigned char, std::allocator < unsigned char> > const &'

is there some kind of type casting needed? how do i do that?

thanks
Achilleas

_______________________________________________
Discuss-gnuradio mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Reply via email to