11-12-2012 02:56 AM
hello ThiCop,
How big is the file? 214kb
Have you tried using a rar-file? yes, I use it
Which browser are you using? Windows Internet Explorer
I select the file in the ''Browse'' and when I press '' Post'', the selected folder dissapears and it's like I don' select nothing
Thank you
11-12-2012 12:03 PM - edited 11-12-2012 12:03 PM
Hello Sambeiro,
Can you share it on some public free file sharing website?
Any of these webpages should do the trick:
http://www.hongkiat.com/blog/15-great-free-online-file-sharing-alternatives/
11-13-2012 08:30 AM - edited 11-13-2012 08:30 AM
Hello ThiCop,
I upload the content.
11-14-2012 11:15 AM
Hello Sambeiro,
Thanks for the files.
Which one of both top-level VI's would you like me to focus on?
11-14-2012 03:10 PM
11-15-2012 10:21 AM
hello Sambeiro,
I think you might have misunderstood me.
Are you talking about the "fsk receiver new" VI or the "fsk receiver" VI?
Once I know that, then I can start with the right one.
11-15-2012 10:58 AM
11-20-2012 09:34 AM
Hello again ThiCop,
During these days I've been doing some changes in my code in the bit producer block, so that I don't have errors now (althought I don't why the program does not work). I upload the new VI. You will see that is quite similar than the last one. Please, can you check this one? I would like to know why my program doesn't do anything.
Thank you very much
11-20-2012 04:20 PM - edited 11-20-2012 04:21 PM
Hello Sambeiro,
My apologies for the late reply, but I didn't receive the previous notification.
It seems like you started from a certain template and then did several changes.
Did you start from some kind of template VI?
If yes, please provide the original version also.
Or did you start completely from scratch?
It is very difficult to read through the code because there is almost no documentation in it.
I see several things that I don't understand why they are done that way.
Can you provide some documentation for each loop that explains what should happen (or waht you expect to happen) in each of the loops?
This way I will be able to see where it is going wrong and behaving unexpected
What do you mean exactly with that your code doesn't do anything?
Does it keep running?
Which values do you get for your "number of elements in queues indicators"?
Are some of these indicators continuously increasing?
There are also some very specific things that I don't understand at first sight:
- In the "IQ producer" loop you are writing to the "IQ data" queue, but you don't read from it anywhere.
You seem to be fetching data, that you don't use anywhere.
- In the "resampling" loop you are reading from the "packets" queue.
However, you never seem to write from anywhere else to the packets queue.
So as far as I see you forgot a part in your code.
I also see that you are using LabVIEW 2012.
Does this mean you have an active support agreement?
If this is the case, then you can also just call or e-mail the support engineers at our office.
11-21-2012 08:31 AM - edited 11-21-2012 08:37 AM
Hello ThiCop,
Thanks for your response.
I started completely from scratch although in some parts maybe I have used some part that already existed.
As I told you before the objective of the program has to be: Demodulate asignal and obtain a sequence of bits knowing that the modulation is FSK. Once I get the sequence of bits demodulated I will have to determine the headers (guard bits, sync bits...) so that I should prepare somehow this part too.
To do that I create a program that:
First of all, always that the USRP is ''ON'', try to initiate the USRP (opening the rx session previously). It allows us to be in real situation (''ON'') or just simulating (USRP ''off'').
Secondly you have to gather data constantly from the antenna that will be connected to the input RX1 or RX2. This is what I want to do in the ''IQ producer loop'' with a while loop and the ''niUSRP Fetch Rx Data''. As you already saw I save this data in a queue. (Note: Somewhere I would have to take into account the packet duration to distinguish between diferent packets)
The Bit producer loop is where I use the VI to generate the filter coefficients and also the one to demodulate a fsk symbol chain.(Note: In almost all the cases I have thought that the best condition to stop a loop is that there is some error).I'm open to use other strategies. All the processes have to repeat all the time because at the end what I need to do is listenning a sequence of missages or packets.
The first loop (about the queues) just creates or deletes the queues.
The resampling loop is the one that I use to adquire the signal as time passes.
When I told you that the program doesn't do anything means that the program runs but it doesn't show any result
I don't know if you need to know something else. Just ask me in case that it is not enough clear. I'm going to try to solve what you told me and I upload the last version.
Thank you very much again