RE: [Discuss-gnuradio] C++ and python in OFDM doubt

2010-10-15 Thread Mattias Kjellsson
remember who it was... I think it was a .de- address... Try your favorite search-engine-provider ;) Best regards, Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] alpha =0.001 in gr.probe_avg_mag_sqrd_cf

2010-06-05 Thread Mattias Kjellsson
On 06/03/2010 11:54 PM, Juan Quiroz wrote: Hi all I had a problem with tunnel.py, but changing threshold from 30dB to 50dB it was solved, now I'm reading receive_path.py in carrier sensing blocks are defined alpha=0.001 and thres=30 for use with gr.probe_avg_mag_sqrd_cf, please can somebody

Re: [Discuss-gnuradio] USB Help Needed!

2010-05-16 Thread Mattias Kjellsson
is straight forward. You should be able to look at how USRPs are set up in Python and do almost the same thing in c/c++. BR Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] audio_portaudio_source error during building gnuradio

2010-05-06 Thread Mattias Kjellsson
(mostly) gmail users lately, so I assume there are no problems when using that. Not everyone want/will/do use gmail, and the messages gets kind of hard to follow... Best regards Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio

[Discuss-gnuradio] Regarding gr_squelch_base_cc.cc

2010-04-29 Thread Mattias Kjellsson
Hi list, I was looking at the gr_pwr_squelch_cc- code, and there is a thing I just want to check the meaning of. It is not as much that I don't believe the code works correctly, it's just that some lines of code confuse and scare me. ;) The lines are 59 and 64, 57: case ST_MUTED: 58: if

Re: [Discuss-gnuradio] Problem with new install

2010-04-27 Thread Mattias Kjellsson
William Pretty Security Inc wrote: Hi All; Well I picked up my new system at Best Buy. (details later) I installed Ubuntu 9.10 and Gnuradio from the git. I must have made a typo somewhere because I get the following error when I probe the USRP1:

Re: [Discuss-gnuradio] Issues with USRP2 firmware

2010-04-20 Thread Mattias Kjellsson
2. The Xilinx tools in version 11.1 are without patches not able to generate the bitstream, even make proj failed. The build also fails because it needs more RAM than available with a self-made project. With the latest service pack (sp 5) the software is able to produce a .bin file, but not even

Re: [Discuss-gnuradio] UDP source block in GRC

2010-04-10 Thread Mattias Kjellsson
Johnathan Corgan wrote: On Fri, Apr 9, 2010 at 19:23, Marcus D. Leech mle...@ripnet.com wrote: Any cluage? Yes. I'll wait to see if Eric responds, as this is his area, but in short, the error is intentional. Johnathan Judging by the code in gr_block_executor.cc lines 291- 321, I

Re: [Discuss-gnuradio] help req: editing c files

2010-03-13 Thread Mattias Kjellsson
sanam singh wrote: Hi, I have installed gnuradio from git. I wanted to view and modify .cc files. I placed the modified c files in following directory : /home/sanam/gnu/gnuradio-3.2.2/gnuradio-core/src/lib/general But the issue is when I have tracked gnuradio and I have found out that it

[Discuss-gnuradio] Merging the vrt- branch.

2010-03-11 Thread Mattias Kjellsson
Hi list, I have previously merged the vrt- branch into the gnuradio- tree and successfully compiled and used it. However... I'm in the middle of creating a script that sets up gnuradio and other programs I need from a fresh installation, and I ran into some troubles while merging different

Re: [Discuss-gnuradio] editing .cc files??

2010-03-08 Thread Mattias Kjellsson
Omer Ihsan wrote: Hi, i am using the ubuntu 9.04 and installed the gnuradio at the build guide through the binary package instructions for ubuntu at: http://gnuradio.org/redmine/wiki/gnuradio/DebianPackages i placed a problem here a couple of days ago and the solution suggested that i

Re: [Discuss-gnuradio] gr_unpack_k_bits_bb, its inverse, and higher order constellations

2010-03-05 Thread Mattias Kjellsson
Mattias Kjellsson wrote: Tom Rondeau wrote: On Thu, Mar 4, 2010 at 2:13 PM, Mattias Kjellsson m...@kth.se wrote: Tom Rondeau wrote: On Thu, Mar 4, 2010 at 11:38 AM, Mattias Kjellsson m...@kth.se wrote: Tom Rondeau wrote

Re: [Discuss-gnuradio] gr_unpack_k_bits_bb, its inverse, and higher order constellations

2010-03-04 Thread Mattias Kjellsson
Eric Blossom wrote: I assume that you mean 1 byte per symbol. I suggest that you create *_ci and *_ii versions that handle 32-bits. Eric You are correct, one byte per symbol. Or one symbol per byte, whichever way one wants to look at it. To clarify what the custom block does is that it takes K

Re: [Discuss-gnuradio] gr_unpack_k_bits_bb, its inverse, and higher order constellations

2010-03-04 Thread Mattias Kjellsson
Tom Rondeau wrote: On Thu, Mar 4, 2010 at 10:28 AM, Mattias Kjellsson m...@kth.se wrote: Eric Blossom wrote: I assume that you mean 1 byte per symbol. I suggest that you create *_ci and *_ii versions that handle 32-bits. Eric You are correct, one byte per symbol. Or one

[Discuss-gnuradio] gr_unpack_k_bits_bb, its inverse, and higher order constellations

2010-03-03 Thread Mattias Kjellsson
Hi list, I have been trying to send and receive higher order constellations than bpsk (qpsk, qam16, ...). The way I'm currently implementing this (in c++) is that I have a custom pack_k_bits_bb(int bits_per_symbol)- block and then feed the result into a gr_chunks_to_symbols_bc- block, and then

Re: [Discuss-gnuradio] The sinusiodal waveform is drifting from input to output.

2010-03-03 Thread Mattias Kjellsson
srinivas naga vutukuri wrote: Hi, I am transmitting the sinusoidal wave form (IQ samples), in the following methods, and found that when i stem plot in the MATLAB both the input wave form data on one USRP2 and the received data on another USRP2, initially the waveform is exactly fitting

Re: [Discuss-gnuradio] BPSK to QPSK

2010-03-03 Thread Mattias Kjellsson
amarnath alapati wrote: hi everyone, I am using the programs of DIGITAL-BERT folder to see the bit error rate pattern versus the SNR. The given programs are for BPSK scheme. I tried to change it for QPSK Scheme. But seems that I did not do it right. I am giving the modified code in

Re: [Discuss-gnuradio] Problem using GRC when executing the grc examples

2010-03-03 Thread Mattias Kjellsson
Makmur Hidayat wrote: Then I try to add the following to .bashrc export BOOST_PREFIX=/opt/boost_1_37_0 export LD_LIBRARY_PATH=$BOOST_PREFIX/lib But I can not do that because .bashrc is read only. Therefore how to solve the problem? $chmod +w .bashrc would make the above file writable.

Re: [Discuss-gnuradio] Problem using GRC when executing the grc examples

2010-03-03 Thread Mattias Kjellsson
Makmur Hidayat wrote: 2010/3/3 Mattias Kjellsson m...@kth.se mailto:m...@kth.se $chmod +w .bashrc would make the above file writable. But .bashrc shouldn't really be r/o, should it? This file should be readable by everyone, and read/writable for the owner. At least

Re: [Discuss-gnuradio] BPSK to QPSK

2010-03-03 Thread Mattias Kjellsson
Tom Rondeau wrote: On 3/3/2010 7:12 AM, Mattias Kjellsson wrote: amarnath alapati wrote: hi everyone, I am using the programs of DIGITAL-BERT folder to see the bit error rate pattern versus the SNR. The given programs are for BPSK scheme. I tried to change it for QPSK

Re: [Discuss-gnuradio] Problem using GRC when executing the grc examples

2010-03-03 Thread Mattias Kjellsson
You need to access .bashrc with super user rights. Shouldn't ~/.bashrc be a user- override of the global /etc/bashrc (in ubuntu /etc/bash.bashrc) ? For instance if I want to change the promt to something like [hh.mm.ss]:usern...@host $ instead of the default one, I'd put those changes in my

Re: [Discuss-gnuradio] BPSK to QPSK

2010-03-03 Thread Mattias Kjellsson
Hum... I'm glad to hear that, although I thought that the pi- phase ambiguity of Costas- loops made them unsuitable for QPSK- constellations... But I guess there is something I'm missing in the code then? You aren't missing anything, you just need to account for the possible

[Discuss-gnuradio] BER in bert- example

2010-01-31 Thread Mattias Kjellsson
Hi list, There is a function called 'ber' in receive_path.py in the python bert example. def ber(self): return (1.0-self._ber.density())/3.0 From where does the 3 originate? Some lines above, there is this comment: # Descramble BERT sequence. A channel error will create 3 incorrect

Re: [Discuss-gnuradio] permission to access /usr/local

2010-01-21 Thread Mattias Kjellsson
Hi all, I use sudo make install to setup the gnuradio in ubuntu9.10. The problem is that I have to use sudo every time to run an application(./benchmark_tx.py). Without running as a super user, I will receive the error msg like could not load the firmware to FPGA through USB, permission

Re: [Discuss-gnuradio] What time is it?

2010-01-19 Thread Mattias Kjellsson
Glad you are trying out the branch. A few notes here: 1) There is a bug where after power-up, everytime (but the first) you restart streaming and get samples there is junk data, and it will read bad vrt header. Its harmless, but should be fixed When you mention it, I do believe there

[Discuss-gnuradio] What time is it?

2010-01-18 Thread Mattias Kjellsson
regards Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Help: about ./benchmark_rx.py

2010-01-18 Thread Mattias Kjellsson
Sorry, but your question is not very clear. It's a wireless modem, which means it's subject to all sorts of issues that are dependent on your setup and parameters. The best thing to do is to start simple and use usrp_fft.py to see if you can observe any signal at the receiver and that

Re: [Discuss-gnuradio] Bitrate doubt

2010-01-16 Thread Mattias Kjellsson
amarnath alapati wrote: hi folks, I am using BENCHMARK_TX.PY, BENCHMARK_RX.PY to test the transmission and reception of signals. I have doubts regarding the outpu that is appearing on the screen. gr_fir_fff: using SSE socket(PF_PACKET, SOCK_RAW, htons(0xBEEF)): Operation not

Re: [Discuss-gnuradio] Browse repositories

2010-01-11 Thread Mattias Kjellsson
Per Zetterberg wrote: Hi, Before git I could browse some resipositories from www.gnuradio.org/svn/ (or something like that) where I could find branches, hardware designs etc. How can I find this information now ? Branches and code: http://vps.gnuradio.org/cgit Hardware designs, etc:

Re: [Discuss-gnuradio] how to load my own .rbf bitstream?

2010-01-11 Thread Mattias Kjellsson
Yan Nie wrote: Hello, I've created my own .rbf file. I see the USRP loads the FPGA bitstream from /usr/rev{2,4}/*.rbf, but it doesn't allow me to copy my .rbf file into this directory. I assume you tried the cp as root? How can I load my FPGA bitstream? A quick look at

Re: [Discuss-gnuradio] USRP v2 TX Bandwidth

2009-11-13 Thread Mattias Kjellsson
I haven't looked at the usrp2- code for a while, but I think there might have been something like the usrp- equivalent of oU/uU- shell printing. But that was a while back and it might have changed. If you have a look in the meta- data there is a field called overrun. But as someone pointed out all

Re: [Discuss-gnuradio] Irregular sampling of input stream

2009-11-11 Thread Mattias Kjellsson
I don't want to reconfigure the graph at run time, but I want to minimize the use of CPU on my parallel path. Essentially, this extra path is 'raw' USRP samples which are really only required when packets are successfully received. Otherwise, the main path is a classic digital radio

[Discuss-gnuradio] Regarding carrier- sensing in digital rx example

2009-11-10 Thread Mattias Kjellsson
and a correct header, witch makes the frame_sink_1 put it in its message_queue, that there is no need to check the probe status. In that case, what is the probe doing there? Best regards, //Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio

Re: R: Re: [Discuss-gnuradio] Ubuntu installation problems.

2009-10-29 Thread Mattias Kjellsson
What version of gcc are you running? If you in fact are running gcc-4.3, you might what to try configure --help, and from there figure out what extra flag you need to pass to configure for it to locate your boost- installation. Hope this helps //Mattias I get this error cannot find

Re: [Discuss-gnuradio] C++ source code location

2009-10-27 Thread Mattias Kjellsson
David Knox wrote: I built gnuradio using Synaptic and it seems to be operational. I can change python and also change and compile C++ code for some UCLA Zigbee packet processing code just fine too. Where should the C++ source code for the gnuradio routines themselves (e.g. gr blah blah) be

Re: [Discuss-gnuradio] gr_unpacked_to_packed_bb, modulation

2009-10-16 Thread Mattias Kjellsson
Hi again, Thanks for the reply, that confirmed my suspicion of me being wrong about D=2. But then I am wondering how the gr_unpacked_to_packed_bb- block is working? When I setup a unpacked_to_packed_bb(2,GR_MSB_FIRST) (I guess GR_MSB_FIRST on a regular intel x86, right?) and connect it to a

Re: [Discuss-gnuradio] gr_unpacked_to_packed_bb, modulation

2009-10-16 Thread Mattias Kjellsson
Mattias Kjellsson wrote: Hi again, Thanks for the reply, that confirmed my suspicion of me being wrong about D=2. But then I am wondering how the gr_unpacked_to_packed_bb- block is working? When I setup a unpacked_to_packed_bb(2,GR_MSB_FIRST) (I guess GR_MSB_FIRST on a regular intel x86

Re: [Discuss-gnuradio] gr_unpacked_to_packed_bb, modulation

2009-10-16 Thread Mattias Kjellsson
Please disregard my last mail on the same topic. I figured it out. It turned out there was no problem once I figured a bit about what packed and unpacked bytes actually mean. This shows how important having a cup of coffee now and then is... cheers, //Mattias

Re: [Discuss-gnuradio] gr_unpacked_to_packed_bb, modulation

2009-10-16 Thread Mattias Kjellsson
I think you are making wrong use of the unpacked_to_packed block: I think so to. I was creating the file in Matlab, writing zeros and ones as chars to a file, used that file as input to the flow- graph... So to get my original code to work, I had to write 27 in the data file (27 =

Re: [Discuss-gnuradio] Problems transmitting a simple IF sample upconverted on a USRP2

2009-10-06 Thread Mattias Kjellsson
Kris Lists wrote: snip I then build a basic flow in python from the sample file to a USRP2 sink setting the center frequency CF to 1.57542G, and a interpolation of 20 to convert the 5Msamp/sec to 100Msamp/sec. The waveform transmits for the expected 60 sec. Not sure, but as far as I can

Re: [Discuss-gnuradio] about build GNU Radio

2009-10-05 Thread Mattias Kjellsson
Li Mei-Wen wrote: Hi: I try to test the ./benchmark_tx.py -f 900M and ./benchmark_rx.py -f 900M I got Warning, What can I do? The warning, do it affect the usrp operation? Thank in advance. em...@ncku-34be181a97 mailto:em...@ncku-34be181a97

Re: [Discuss-gnuradio] about USRP2_MIN_RX_SAMPLES

2009-09-15 Thread Mattias Kjellsson
Ulrika Uppman wrote: Hi all! I ran into the constant USRP2_MIN_RX_SAMPLES = 371 defined in usrp2_base.h, but I don't get what it is used for (it comes with the comment BIG ASS FIXME: get from lower layer MTU calculation). Does anyone know anything about this constant and what it affects? ...

Re: [Discuss-gnuradio] Problems with GNU radio in Cygwin

2009-09-09 Thread Mattias Kjellsson
... ./configure make make check make install. Did you run ldconfig (or similar) after make install? ... ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] usrp usb buffer minimum requirement

2009-08-27 Thread Mattias Kjellsson
adib_sairi wrote: Dear All, As i being experimenting with USRP and GNU Radio, i notice that some of the last packet of my data that i receive is keep inside the USB buffer. this data will be flush out to my PC only if i transmit (receive) new data. i believe that this is due to the minimum byte

Re: [Discuss-gnuradio] c++ example

2009-08-13 Thread Mattias Kjellsson
Johnathan Corgan wrote: displaying output at the rx- side, but that shouldn't be a problem, as long as the switch to boost- threads hasn't been done? The only functionality outside of gr I have used is a pthread for Well, we're migrating things off omnithreads to Boost threads. It

[Discuss-gnuradio] c++ example

2009-08-12 Thread Mattias Kjellsson
Hi list, Is there an interest in having more c++ examples included in gnuradio? Although the dial- tone example is very illustrative, it might be handy to have at least a few more? Best regards //Mattias ___ Discuss-gnuradio mailing list

Re: [Discuss-gnuradio] c++ example

2009-08-12 Thread Mattias Kjellsson
Eric Blossom wrote: On Wed, Aug 12, 2009 at 03:41:19PM +0200, Mattias Kjellsson wrote: Hi list, Is there an interest in having more c++ examples included in gnuradio? Although the dial- tone example is very illustrative, it might be handy to have at least a few more? Best regards //Mattias

Re: [Discuss-gnuradio] How to simultaneously tx/rx on usrp with OFDM?

2009-08-11 Thread Mattias Kjellsson
There are several problems I am facing now(sorry, I am not a good programmer, maybe they are silly questions): 1. I am trying to use different threads to receive packets and transmit packets. Although I used global killed and sys.exit(1) to make sure threads exit when Ctrl-C pressed, it

Re: [Discuss-gnuradio] newbie's question. performance-critical or non-performance-critical??

2009-07-31 Thread Mattias Kjellsson
Hi, While it is still possible (and from my understanding, most people use python) to use python to interface the underlying c++ blocks, there is also the possibility to just use c++ for connecting the flowgraph, see gnuradio-examples/c++/dial_tome for an example. Hope this helps. //Mattias

Re: [Discuss-gnuradio] What happens when delete_head() is executed?

2009-07-30 Thread Mattias Kjellsson
udadidd wrote: 2) Now i try to read this file back and unmake packets. But the code doesnt do any thing at msg.delete_head(). delete_head() is a blocking function, which blocks until there is a message in the queue. You might want to try using the non- blocking version instead? You may

Re: [Discuss-gnuradio] OFDM Mod C++ source code

2009-07-08 Thread Mattias Kjellsson
try something like: $ find [gnuradio-build-tree-path] -name gr_ofdm* find, grep and others are friendly, you just have to talk to them... So are the man- pages =;oP //Mattias how can i get the C++ source code of the blocks in GRC i mainly need that of the OFDM mod and demod i tried browsing

Re: SV: [Discuss-gnuradio] Re: USRP2 transmitter spectrum measurements

2009-06-25 Thread Mattias Kjellsson
Hi, I think that a similar question was raised a while back, and that the ticket for fixing it is still open. http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg18067.html BR //Mattias Ulrika Uppman wrote: Hi! We have encountered the same phenomena. The spikes at the carrier frequency

Re: [Discuss-gnuradio] Re: SV: Re: USRP2 transmitter spectrum measurements

2009-06-25 Thread Mattias Kjellsson
Jamin Chan wrote: Mattias Kjellsson wrote: Hi, I think that a similar question was raised a while back, and that the ticket for fixing it is still open. http://www.mail-archive.com/discuss-gnuradio@gnu.org/msg18067.html BR //Mattias So there is a temporary workaround? Im not sure if i

Re: [Discuss-gnuradio] Weired GNURADIO Performance

2009-05-03 Thread Mattias Kjellsson
Firas Abbas wrote: Hi, On Sat, 5/2/09, Andrew Lutomirski l...@mit.edu wrote: I can speculate: some versions of Ubuntu (i.e. all the ones I've actually looked at) seem to build fftw *without* SSE/SSE2. --Andy Do FFTW have a function we can use to read if it is using SSE/SSE2?. If

Re: [Discuss-gnuradio] error while running fmradio.py

2009-05-03 Thread Mattias Kjellsson
mayur sarode wrote: ... Using TX d'board B: Basic Tx Traceback (most recent call last): File ./fmradio1.py, line 182, in module wfm_tx() File ./fmradio1.py, line 115, in __init__ if not self.set_freq(options.freq): File ./fmradio1.py, line 172, in set_freq r =

Re: [Discuss-gnuradio] USRP Overrun Problem

2009-04-18 Thread Mattias Kjellsson
Lizhao You wrote: Hi all, I am testing an application, which receives data from usrp. The datarate is 2M, and samples_per_symbol is 2, decimation is 16. I am using a PC, with Ubuntu 8.10, intel pentium 4 cpu 2.40G, and 768M Memory. But the shell displays uOuOuO when running. I know it means

Re: [Discuss-gnuradio] Some Basic USRP questions

2009-04-08 Thread Mattias Kjellsson
1) When I run my scripts I sometimes get uOuOuO message. I read in the archives that I need to increase the decimation rate but I have already set it to the maximum limit of 256. What should I do? Also, why do I not get the message all the time? Hi, A problem I had a while ago was that

Re: [Discuss-gnuradio] Question about latency

2009-04-02 Thread Mattias Kjellsson
Hello everyone, I am trying to implement some relaying schemes in gnuradio which require fast response from the relay. I only know how to use flow graphs at the moment so I made my code with flowgraphs and the delay from receiving a packet until I retransmit it is about 10ms. I'm using

Re: [Discuss-gnuradio] extract timestamp data

2009-03-12 Thread Mattias Kjellsson
- developers can answer that more precisely. Best Regards //Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

[Discuss-gnuradio] test_usrp_standard_tx, tx_underrun

2009-03-04 Thread Mattias Kjellsson
is, -Is there anyone who has any clue why I see these underruns, and/or what I can try to make them go away? Best regards //Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss

Re: [Discuss-gnuradio] test_usrp_standard_tx, tx_underrun

2009-03-04 Thread Mattias Kjellsson
Hi again, Seems like the answer was coming in as I wrote the answer... My cpu- scaling... BR //Mattias Kjellsson Mattias Kjellsson wrote: Hi list, I have recently begun to see a lot of tx_underrun in my applications. At first I thought it was due to me not setting realtime- scheduling

Re: [Discuss-gnuradio] Problem iinstalling fftw-3.2 on Centos 5.2 64 bits

2009-02-09 Thread Mattias Kjellsson
anne kwong wrote: ... [r...@localhost fftw-3.2]# ./configure --enable-single --enable-shared --enable-sse Hi, try to not use the super- user account when configuring, only when installing. I don't know if it will help, but sometimes the environment for the root user is a bit different than

Re: [Discuss-gnuradio] Interfacing to USRP2 with C++

2009-02-04 Thread Mattias Kjellsson
a closer look at. Hope this helps //Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Re: GRC and unit of signal amplitude in USRP

2009-01-19 Thread Mattias Kjellsson
Bruhtesfa Ebrahim wrote: Mattias Kjellsson wrote: Bruhtesfa Ebrahim wrote: Hey all, I have just 2 questions, actually they are not related (are independent questions). 1. I want to install GRC(gnu radio companion), and i need to install pygtk and cheetah as prerequisite. I

[Discuss-gnuradio] finding a usrp... Kind of working.

2009-01-15 Thread Mattias Kjellsson
: configuration #1 chosen from 1 choice There must be something I have done incorrect, but what might that be? I realize this may be a bit off- topic, but seeing how you all got it to work... As I said earlier, feel free to advice on things to try... Best regards, //Mattias Kjellsson

Re: [Discuss-gnuradio] GRC and unit of signal amplitude in USRP

2009-01-15 Thread Mattias Kjellsson
and make files in both of them.So, how can i install them without these files? I think they are available through apt-get, but if you whant to install from source, you should investigate setup.py. Try $python setup.py --help Cheers! //Mattias Kjellsson

[Discuss-gnuradio] firmware update of usrp2, wiki- update?

2008-11-14 Thread Mattias Kjellsson
- page... Instead of having just a warning, there could be a warning and a solution =;o]. But since I Cheers! Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Can't transmit from USRP2

2008-11-14 Thread Mattias Kjellsson
is find_usrps. I think I'll never eat lunch again ;) I'm out of ideas of how to solve this. Suggestions of things to try and/or check for, no matter how simple would be appreciated. BR //Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss

Re: [Discuss-gnuradio] Can't transmit from USRP2, version2.

2008-11-14 Thread Mattias Kjellsson
is find_usrps. Althoug, I need to run it twice to make it find my usrp2... I think I'll never eat lunch again ;) I'm out of ideas of how to solve this. Suggestions of things to try and/or check for, no matter how simple would be appreciated. BR //Mattias Kjellsson

Re: [Discuss-gnuradio] Regarding 371 samples/frame in usrp2

2008-11-06 Thread Mattias Kjellsson
Eric Blossom wrote: On Wed, Nov 05, 2008 at 07:30:01PM +0100, Mattias Kjellsson wrote: Eric Blossom wrote: There are a couple of headers. See usrp2_eth_packet.h So I have. Regarding the channel and timestamp fields in struct u2_fixed_hdr_t, channel is going to (when

Re: [Discuss-gnuradio] USRP2 latency calculations

2008-11-05 Thread Mattias Kjellsson
(usrp2_eth_packet.h)... Cheers //Mattias Kjellsson Firas Abbas wrote: Hi, If USRP2 can respond to PING and reply back, then one should be able to measure the delay. Regards, Firas ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http

[Discuss-gnuradio] Regarding 371 samples/frame in usrp2

2008-11-05 Thread Mattias Kjellsson
and calculate this number, instead of having it #defined? But then again, it would be a whole lot of re- writing, since U2_MAX_SAMPLES is #defined... Or have I missed some fundamental here? BR Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss

Re: [Discuss-gnuradio] Regarding 371 samples/frame in usrp2

2008-11-05 Thread Mattias Kjellsson
Eric Blossom wrote: On Wed, Nov 05, 2008 at 06:15:03PM +0100, Mattias Kjellsson wrote: I have been playing with ioctl's today and while browsing the USRP2- code i found that max length of a packet is defined to 371 which results in 1484 bytes of data, and 16 bytes left, leaving room

[Discuss-gnuradio] Usrp2 bg_loop() magic?

2008-10-31 Thread Mattias Kjellsson
to this value (I noted that there is a fixme, magic timeout there, but still)? Can I change this value to any value of my own choice, or are there limitations that I'm not seeing here? BR Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio

Re: [Discuss-gnuradio] Signal processing and GPU

2008-10-21 Thread Mattias Kjellsson
on starting on it this week, would appreciate inputs I think it sounds useful. I know there are password recovery software using the GPU for calculations. If you get further than me, please don't keep it to yourself ;) BR //Mattias Kjellsson ___ Discuss

Re: [Discuss-gnuradio] USRP connected during gnuradio installation

2008-10-16 Thread Mattias Kjellsson
Hi, When I installed gnuradio, I didn't have a usrp, but I followed the instructions in the wiki, and when I plugged it in it worked... I guess the short answer is: no. =) Hope it works out for you! BR Mattias Kjellsson Joreen Tan wrote: Hi, Would like to check, if the USRP is needed

[Discuss-gnuradio] svn 9482, usrp2 trunk, host/apps compile

2008-09-02 Thread Mattias Kjellsson
Hi list, I checked out usrp2- trunk svn9482 today, and got some errors when I tried to build it. the following steps was taken: Installed boost-1.36, from source with configure --with-libraries=all option made a symbolic link from /usr/local/include/boost-1.36 to /usr/local/include/boost

Re: [Discuss-gnuradio] two byte bool, and 30 channels?

2008-08-18 Thread Mattias Kjellsson
Eric Blossom wrote: On Thu, Aug 14, 2008 at 11:57:27PM -0100, Mattias Kjellsson wrote: Johnathan Corgan wrote: On Thu, Aug 14, 2008 at 7:52 AM, Mattias Kjellsson [EMAIL PROTECTED] wrote: Nice to know, I almost went insane over a couple of htons() earlier today

[Discuss-gnuradio] Compile error with gnuradio trunk for armv7-a

2008-08-14 Thread Mattias Kjellsson
sugestion would be to try to rebuild swig with the flags indicated above. On the other hand there are some other errors further down the log- file, but they may resolve if you rebuild swig. Hope this helps, cheers Mattias Kjellsson Phiip ___ Discuss

[Discuss-gnuradio] two byte bool, and 30 channels?

2008-08-14 Thread Mattias Kjellsson
Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio

Re: [Discuss-gnuradio] Compile error with gnuradio trunk for armv7-a

2008-08-14 Thread Mattias Kjellsson
Philip Balister wrote: On Thu, Aug 14, 2008 at 8:24 AM, Mattias Kjellsson [EMAIL PROTECTED] wrote: Philip Balister wrote: On Thu, Aug 14, 2008 at 6:24 AM, Mattias Kjellsson [EMAIL PROTECTED] wrote: Philip Balister wrote: I used to be able to build trunk

Re: [Discuss-gnuradio] two byte bool, and 30 channels?

2008-08-14 Thread Mattias Kjellsson
Johnathan Corgan wrote: On Thu, Aug 14, 2008 at 7:52 AM, Mattias Kjellsson [EMAIL PROTECTED] wrote: 1. In op_config_rx_reply_v2_t structure (and op_config_tx_reply_v2_t), defined in usrp2_eth_packet.h, the member ok is a uint16_t... Why is that? Does it have something to do with _AL4 maybe

[Discuss-gnuradio] usrp2 lib compile

2008-08-05 Thread Mattias Kjellsson
:744: error: 'struct usrp2_basic::read_time(const u2_mac_addr_t, uint32_t*)::command' has no member named 'op' The whole thing seems strange, since I have successfully compiled this before. Any suggestions or solutions to this problem are greatly appreciated. BR Mattias Kjellsson

[Discuss-gnuradio] Question regarding usrp2_basic.cc

2008-07-03 Thread Mattias Kjellsson
(for instance -you always have to pad the packets with one byte or similar), or something completely different than the above suggestions? Cheers //Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman

[Discuss-gnuradio] addition to wiki- page?

2008-06-26 Thread Mattias Kjellsson
in the same source- file wasn't. Kind of strange is it not? Anyhow, this might be a good alternative to put in the wiki, to avoid future questions about the same issue. Comments, and or clarifications are welcome. Cheers /Mattias Kjellsson

[Discuss-gnuradio] mblocks and pmt_t

2008-06-25 Thread Mattias Kjellsson
away from as possible)... Any comments, suggestions, clarifications would be appreciated. Cheers Mattias Kjellsson ___ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnuradio