Description: In the Reed Solomon Encoder Tutorial #1, Opening the file described in the Simulation section with LViewPro Eval causes the following error:
Open file: <path>\<filename>.pgm Error reading file (file damaged?)
I created the PGM file as the tutorial explains:
P2 - Magic number for ASCII format # test.pgm - Comment 4 4 - Width and height 15 - Maximum gray level value 0 1 2 3 - Pixel gray level values for row 1 of image 4 5 6 7 - row 2 8 9 10 11 - row 3 12 13 14 15 - row 4
Solution
This is a bug with LViewPro Evaluation version.
A workaround is to use the full version of LViewPro or to use any other graphic package capable of handling .PGM files or to use the Full version of LViewPro.