Re: [Discuss-gnuradio] random number coding problem

2018-05-30 Thread Markus Wirsing
Hi, Does this GRC hierarchical block solve your problem? Markus Am 30.05.2018 um 15:31 schrieb 김무연: > Hi all > I was trying to make a block  > which acts if input is 1,then output is random number and if input is 0, > then output is the same previous time > So last time I asked what should I use

Re: [Discuss-gnuradio] random number coding problem

2018-05-30 Thread CEL
Hi! So, I'm really not sure how to help you here: I have to expect you to be able to call a function in C++ to give you value. The level of understanding necessary to transfer my example to replace your usage of rand() in your code isn't really high. Maybe you'd want to read a good C++ introducto

[Discuss-gnuradio] random number coding problem

2018-05-30 Thread 김무연
Hi allI was trying to make a block which acts if input is 1,then output is random number and if input is 0, then output is the same previous timeSo last time I asked what should I use instead of rand()I tried to program as you toldBut I think there is something I didn't understandI post a picture o