LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

fsk demodulator

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

0 Kudos
Message 11 of 55
(2,106 Views)

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/

 

 

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 12 of 55
(2,101 Views)

Hello ThiCop,

 

 I upload the content.

0 Kudos
Message 13 of 55
(2,089 Views)

Hello Sambeiro,

 

Thanks for the files.

Which one of both top-level  VI's would you like me to focus on?

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 14 of 55
(2,077 Views)
Hello ThiCop,

In the bit producer part I don´t know how to connect some parts of the fsk demodulator block (like matched filter parameters). I guess that's the reason why my program does not work but I don´t know if the rest is correct or not. If you can take a look of this part and then try to see if something else is missing (I don´t think so) I will be very grateful
0 Kudos
Message 15 of 55
(2,071 Views)

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.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 16 of 55
(2,066 Views)
Hello ThiCop,

I'm very sorry. I didn´t understand what you told me. The correct one is the ´´fsk receiver new´´

Thank you very much
0 Kudos
Message 17 of 55
(2,062 Views)

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

0 Kudos
Message 18 of 55
(2,051 Views)

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.

Kind Regards,
Thierry C - CLA, CTA - Senior R&D Engineer (Former Support Engineer) - National Instruments
If someone helped you, let them know. Mark as solved and/or give a kudo. 😉
0 Kudos
Message 19 of 55
(2,048 Views)

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

0 Kudos
Message 20 of 55
(2,039 Views)