[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

[Discuss-gnuradio] random number problem

2018-05-24 Thread 김무연
 Hi all!Could I ask something?I want to generate random numbersSo when I make a block, I included random.h and I used random() functionBut every time it produces the same outputAnd I want to use this blocks twice in the gnuradioSo I tried to use srand(time(0))But it didn't workMy question is this a

[Discuss-gnuradio] Fw:destructive interference problem

2018-05-03 Thread 김무연
-- Original Message -- Date: Wednesday, May 2, 2018 08:26:06 PM From: "김무연" To: Subject: destructive interference problem I use 2 usrp N210 as transmitters and 1 usrp N210 as a receiverMy goal is constructing beamforming systemTo do that I want to check destructive interfere

[Discuss-gnuradio] coding problem

2018-04-25 Thread 김무연
Recently I made block with simple coding using c++my_demod_block_cb_impl::my_demod_block_cb_impl()  : gr::block("my_demod_block_cb",  gr::io_signature::make(1, 1, sizeof(float)),  gr::io_signature::make(1, 1, sizeof(char)))    {}As you can see I use float as an input, ch

[Discuss-gnuradio] RSSI

2018-04-19 Thread 김무연
Hi allI want to ask somethingHow can I get RSSI of the received signalI use two computers and 2usrps n210 as a transmitters and 1 usrp as a receiverIn transmitter, I want to estimate the RSS or RSSI of the received signal per one periodAre there any blocks? or any methods to estimate the RSS or RSS

[Discuss-gnuradio] create a block that works

2018-04-10 Thread 김무연
Last time i asked how to make a block in gnuradioSo i got an answer below https://tutorials.gnuradio.orgThrough this site, i followed some guidelinesAnd i could make a block 'My QPSK Demodulator'But, to do my research i need to make some blocks that do different rolesSo my question is that Are ther

[Discuss-gnuradio] more questions

2018-03-27 Thread 김무연
I used costas loop for each synchronization and it workedMy thinking was wrong I thought the signals from different usrps are synchronized together without controlling the offset of usrpsI use usrp N210Now i need to know frequency offset of each usrpAnd my professor and our team read a thesis about

[Discuss-gnuradio] synchronization problem

2018-03-27 Thread 김무연
 As you mentioned I used costas loop block connected to usrp sources but it didn't work as i expected I want to the receiver to get cosine wave form that the transmitters senMy professor said to me that because it is not synchronized, the received signal looks like a barcodeI discribe my experiment

[Discuss-gnuradio] synchronization problem

2018-03-26 Thread 김무연
Hi last time i asked about synchronizationBut my question was too broadSo i couldn't get an answerI use cosine wave as a baseband signalAnd I use 1-bit feedbackI use 2 usrps as a transmitters and 1 usrp as a receiverAnd the synchronization i want is about frequency-offset I thinkThanks_

[Discuss-gnuradio] synchronization problem

2018-03-23 Thread 김무연
Hi guysI want to ask something about synchronizationI am researching about beamforming so I use 2 usrps as transmitters and I use one usrp as a receiverI can check they send signals and it receives signalsbut I need to synchronize Rx with Tx to check the change of amplitude in received signalAre th

[Discuss-gnuradio] create a new block in gnuradio

2018-03-17 Thread 김무연
 Hi i need your help guysI am doing researching using gnu radioHowever there are no blocks i needed to do researchAnd i got to know that to conduct the research i thought, i have to make my own blocksSo i followed some ways on the internetBut at some point it didn't work and i didn't understand why