From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

depuncture VI giving error

Hi,

 
I am trying to decode 288 bits with a rate 2/3 and for that I first depuncture it using your depuncture VI and then rate half decode it. I am attaching the VI and the text file to read from, used in the VI. Problem is I am getting an error saying "Possible reason(s):
 
Input bit stream contains invalid values (only zeros and ones allowed)."
 
wrt the depuncture VI. But I have only 0s and 1s in the file separated by tab and each 288 bit set separated by newline. The read spreadsheet VI is giving no error and converting the file to array. Could you please help me resolve this?
 
Regards,
Koyel
Download All
0 Kudos
Message 1 of 3
(2,255 Views)

Your Read from Spreadsheet File is reading them in as Doubles with the default format of %.3f  which means you are getting 0.000 and 1.000.  It is throwing up on the decimal point, and the extra zeroes probably don't help either.

 

Change the Read subVI to output integers.

0 Kudos
Message 2 of 3
(2,213 Views)

That 3 at 0,3 in your puncture pattern constant is a kill-joy


"Should be" isn't "Is" -Jay
0 Kudos
Message 3 of 3
(2,198 Views)