LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Viterbi Decoder from LabVIEW RF Communications

Solved!
Go to solution

Hi guys~!

 

I am trying to develop a 32-bit Viterbi decoder. I am currently using the Viterbi decoder from the FPGA RF Communications Library available here. However, I can't seem to get it right. The 'decoded bit' output of the Viterbi decoder VI is always zero, no matter what the encoded symbol is. I put the VI inside a while loop while constantly inputting two-bit encoded input inside the VI. The VI I am using is posted in the picture and the project I developed is in the zip file! Many thanks!

Download All
0 Kudos
Message 1 of 8
(4,084 Views)
Solution
Accepted by topic author ArisEnding

Hi ArisEnding!

 

I have looked through the Viterbi Decoder example as well as your code and there seems to be discrepencies. It looks like you have removed the trellis information as well as the hamming information from the block diagram. I am not an expert with the Viterbi Decoder algorithm but these seem to be needed by the algorithm. It does look like you modified this on purpose. If you are looking for others with a more intimate knowledge of the Viterbi Decoder algorithm, I would recommend posting to the Viterbi Decoder example community page.

 

Best,

-tannerite

Tannerite
National Instruments
Message 2 of 8
(4,051 Views)

Hi! Thank you very much for your reply. Actually, I already figured out the problem. I did try to tinker with the subVIs in the Viterbi Decoder VI and changed the traceback lengths. There were some discrepancies since I changed some from 40 to 35 but forgot to change some of them. Moreover, for my 32-bit input to the decoder, the error rate decreased when I input two flush bits at the beginning.


Thank you very much for your help!

0 Kudos
Message 3 of 8
(4,046 Views)

ArisEnding,

 

Awesome! I am glad you got to the bottom of it!

Tannerite
National Instruments
0 Kudos
Message 4 of 8
(4,043 Views)

I am trying to build these VI's, finding hard time.. Can you please upload your Viterbi Decoder and Hamming Decoder VI. THanks for your help, 

0 Kudos
Message 5 of 8
(3,425 Views)

Hello rc_cks,

 

As this is a long-resolved post from a few years ago, I think you would have greater success getting visibility with a new post on the LabVIEW Communications forum, here: http://forums.ni.com/t5/LabVIEW-Communications-System/bd-p/540

 

I would make sure to reference this forum post, as well as provide as much detail on your project as possible. The community may have new or improved solutions for your application's challenges!

 

Best,

Daniel 

0 Kudos
Message 6 of 8
(3,406 Views)

Thank you so much for your reply. I do not see any link that refers to Viterbi Decoder VI. I am trying hard, but not able to resolve it. Still trying to understand the concept.

 

Can you please share the source code for Viterbi decoder. Unfortunately, I do not have  much time to accomplish this, Coz this project is due tommorrow (Given only 48 hrs time by prof 😞 ) .  

 

Would it be possible for you o share the VI's now ? 

0 Kudos
Message 7 of 8
(3,402 Views)

Hello rc_cks,

 

All the code discussed here was developed by and for the community, I do not have access to any separate internal source code. It looks like the RF Communications Library and Generic Viterbi Decoder are located here:

 

http://forums.ni.com/t5/Example-Program-Drafts/Viterbi-Decoder/ta-p/3494158

 

There is another Viterbi example here: http://forums.ni.com/t5/Community-Documents/Examples-using-LabVIEW-FPGA-RF-Communications-Library-3-...

 

If this is not what you are looking for, a new forum post is more likely to be seen by the community than this older one!

 

Best,

Daniel

 

 

0 Kudos
Message 8 of 8
(3,397 Views)