Skip to content

Commit bfeb360

Browse files
traciereneajmcorgan
tracierenea
authored andcommitted
gr-fec: Address missing block error in example GRC file.
As-is, this flowgraph gives a "Missing Block" error. This is because it's looking for variable_ldpc_gen_mtrx_encoder_def, which we changed the name of during integration prior to pull request gnuradio#660. I've updated this example GRC file to reflect the correct name of the intended block, variable_ldpc_encoder_G_def, which gets rid of the "Missing Block" error. With this correction, the flowgraph can be executed, but it gives me the following error: return _fec_swig.ldpc_encoder_make(*args, **kwargs) TypeError: in method 'ldpc_encoder_make', argument 1 of type 'std::string' I will address this separately as I don't think the error is caused by this GRC file. Also, I've changed the block name of the other LDPC encoder definition block in this flowgraph to be the actual block that I intended to use.
1 parent 39eaf9d commit bfeb360

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

gr-fec/examples/ber_curve_gen_ldpc.grc

+9-13
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@
249249
</param>
250250
<param>
251251
<key>_coordinate</key>
252-
<value>(632, 547)</value>
252+
<value>(700, 547)</value>
253253
</param>
254254
<param>
255255
<key>_rotation</key>
@@ -367,11 +367,7 @@
367367
</param>
368368
</block>
369369
<block>
370-
<key>variable_ldpc_encoder_def</key>
371-
<param>
372-
<key>file</key>
373-
<value></value>
374-
</param>
370+
<key>variable_ldpc_encoder_H_def</key>
375371
<param>
376372
<key>comment</key>
377373
<value></value>
@@ -396,14 +392,14 @@
396392
<key>_rotation</key>
397393
<value>0</value>
398394
</param>
399-
<param>
400-
<key>gap</key>
401-
<value>0</value>
402-
</param>
403395
<param>
404396
<key>id</key>
405397
<value>enc_ldpc</value>
406398
</param>
399+
<param>
400+
<key>H</key>
401+
<value>H</value>
402+
</param>
407403
<param>
408404
<key>value</key>
409405
<value>"ok"</value>
@@ -414,7 +410,7 @@
414410
</param>
415411
</block>
416412
<block>
417-
<key>variable_ldpc_gen_mtrx_encoder_def</key>
413+
<key>variable_ldpc_encoder_G_def</key>
418414
<param>
419415
<key>comment</key>
420416
<value></value>
@@ -433,7 +429,7 @@
433429
</param>
434430
<param>
435431
<key>_coordinate</key>
436-
<value>(624, 427)</value>
432+
<value>(700, 427)</value>
437433
</param>
438434
<param>
439435
<key>_rotation</key>
@@ -1003,7 +999,7 @@
1003999
</param>
10041000
<param>
10051001
<key>label3</key>
1006-
<value>LDPC (R.U. matrix)</value>
1002+
<value>LDPC (H matrix)</value>
10071003
</param>
10081004
<param>
10091005
<key>marker3</key>

0 commit comments

Comments
 (0)