[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Discuss-gnuradio] Type error in byte vector source
From: |
Achilleas Anastasopoulos |
Subject: |
[Discuss-gnuradio] Type error in byte vector source |
Date: |
Wed, 22 May 2013 21:14:43 -0400 |
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] Type error in byte vector source,
Achilleas Anastasopoulos <=