Re: Creating my own Random Source

2021-11-09 Thread Mario Moran
Well working with the tutorial called, " Guided Tutorial GNU Radio in C++" there is a line of code: gr::io_signature::make(1,1, sizeof(gr_complex)), So that got me thinking, since I know that complex is not a normal complex is not a normal data type so I thought that using "gr" was part of GNU Ra

Re: Creating my own Random Source

2021-11-09 Thread Marcus Müller
Hey, `byte` in itself is not a C++ type (`std::byte` might be, don't know). Just use `char` or `uint8_t` if you mean that. Are you the one introducing the type `byte` by any chance? > I did > gr_complex and I thought gr_byte no, that doesn't exist. You seem to be in need of a little more C++ p

Re: Creating my own Random Source

2021-11-08 Thread Mario Moran
t; > > > > *From:* Discuss-gnuradio sncorp@gnu.org> *On Behalf Of *Mario Moran > *Sent:* Monday, November 8, 2021 15:06 > *To:* discuss-gnuradio@gnu.org > *Subject:* [EXTERNAL] Creating my own Random Source > > > > Good afternoon, > > > > I know

RE: Creating my own Random Source

2021-11-08 Thread Jim Melton
On Behalf Of Mario Moran Sent: Monday, November 8, 2021 15:06 To: discuss-gnuradio@gnu.org Subject: [EXTERNAL] Creating my own Random Source Good afternoon, I know there is already a Random Source, but my advisor would like me to create my own out of tree modules and use them in a flowgraph. So, I

Creating my own Random Source

2021-11-08 Thread Mario Moran
Good afternoon, I know there is already a Random Source, but my advisor would like me to create my own out of tree modules and use them in a flowgraph. So, I am creating my own block, here are my steps so everyone can see what I have done. gr_modtool newmod Random gr_modtool add my_Random_Byte_So