ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW Communications System Design Suite

cancel
Showing results for 
Search instead for 
Did you mean: 

Coding using MT RS Encoder Decoder

I want to implement a RS(255,239) in the attached VI. Can anyone help? I don't understand what'is wrong?

 

I use an MT Bit Generator (3824 bits) -->  MT Pack Bits (bits per Integer = 😎  --> MT RS Encoder (255,239 bits per symbol = 8 )

 

When accessing the RS Encoder I get Error -1 occured The NUmbers cant be Zero

 

0 Kudos
Message 1 of 6
(6,741 Views)

Hi alexpas,

 

When running your VI, I also the following error message :

 

Error -21892 occurred at mod_Validate RS code prms.gvi "RS Galois primitive element must be relatively prime to the Galois field order 2^m-1 in GF(2^m)."

 

Modifying the Message bit count may solve your issue,

Regards

0 Kudos
Message 2 of 6
(6,673 Views)

Actually the message bits are selected on purpose to be t*239 in order to meet the requirement for the MT RS encoder as it is a pack encoder. Nevertheless I've tried that but still the same errors!

0 Kudos
Message 3 of 6
(6,647 Views)

Hello alexpas,

 

I was able to reproduce the error -1. I have done some investigation into the error and found that it is thrown by one of the VI's subVIs. I modified the mod_Configure RS attributes.gvi into to resolve this error.

 

Please download the attached VI, and use it to replace the <LabVIEW Comms 1.1>\Resources\vi.lib\Native\mod_Configure RS attributes.gvi.

 

This should resolve the error. Please see the attached VI.

 

Regards,

Thomas C.
FlexRIO Product Support Engineer
National Instruments
Download All
0 Kudos
Message 4 of 6
(6,551 Views)

Thank you Thomas,

 

Your assistance on my issues is priceless. 

0 Kudos
Message 5 of 6
(6,533 Views)

Thanks! I really appreciate your feedback!!!

Thomas C.
FlexRIO Product Support Engineer
National Instruments
0 Kudos
Message 6 of 6
(6,526 Views)