Here's my Reed-Solomon. Note, a symbol for Reed-Solomon is 255 bytes. Of that, 233 bytes is information and 32 bytes parity information.
So I set the byte packet length for the tagged stream to be 233. Note, when I tried to add a Qt Time Sink my GRC and it hung - I suspect there might be a problem with the Throttle. I didn't play with the Qt Time Sink since it doesn't add any useful information. But I did disable the Throttle and it ran better on my i7. Your mileage may vary. -- Cinaed On 10/23/2018 08:28 PM, Christian BusquielSanz wrote: > I am having this output with my Reed Solomon test: > > Generating: '/home/cbusquielsanz/GNURadio/work/ReedSolomon_Test_001.py' > > Generating: '/home/cbusquielsanz/GNURadio/work/ReedSolomon_Test_001.py' > > Executing: /usr/bin/python -u > /home/cbusquielsanz/GNURadio/work/ReedSolomon_Test_001.py > > Traceback (most recent call last): > File "/home/cbusquielsanz/GNURadio/work/ReedSolomon_Test_001.py", > line 283, in <module> > main() > File "/home/cbusquielsanz/GNURadio/work/ReedSolomon_Test_001.py", > line 271, in main > tb = top_block_cls() > File "/home/cbusquielsanz/GNURadio/work/ReedSolomon_Test_001.py", > line 87, in __init__ > self.satellites_encode_rs_0 = satellites.encode_rs(0) > AttributeError: 'module' object has no attribute 'encode_rs' > >>>> Done (return code 1) > > > > > It seems that there is a problem with GR Satellites "CCSDS Reed-Solomon > Encoder" > > I am attaching the flowgraph, the GRC file > > I have not found information about this issue > > What am I doing wrong? > Thank you > > > > Christian SĂȘngir Busquiel Sanz > > > > _______________________________________________ > Discuss-gnuradio mailing list > Discuss-gnuradio@gnu.org > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio >
<?xml version='1.0' encoding='utf-8'?> <?grc format='1' created='3.7.13'?> <flow_graph> <timestamp>Wed Oct 24 19:12:43 2018</timestamp> <block> <key>options</key> <param> <key>author</key> <value></value> </param> <param> <key>window_size</key> <value></value> </param> <param> <key>category</key> <value>[GRC Hier Blocks]</value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>description</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(8, 8)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>generate_options</key> <value>no_gui</value> </param> <param> <key>hier_block_src_path</key> <value>.:</value> </param> <param> <key>id</key> <value>top_block</value> </param> <param> <key>max_nouts</key> <value>0</value> </param> <param> <key>qt_qss_theme</key> <value></value> </param> <param> <key>realtime_scheduling</key> <value></value> </param> <param> <key>run_command</key> <value>{python} -u {filename}</value> </param> <param> <key>run_options</key> <value>run</value> </param> <param> <key>run</key> <value>True</value> </param> <param> <key>sizing_mode</key> <value>fixed</value> </param> <param> <key>thread_safe_setters</key> <value></value> </param> <param> <key>title</key> <value></value> </param> <param> <key>placement</key> <value>(0,0)</value> </param> </block> <block> <key>variable</key> <param> <key>comment</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(328, 4)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>packet_len</value> </param> <param> <key>value</key> <value>223</value> </param> </block> <block> <key>variable</key> <param> <key>comment</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(216, 4)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>samp_rate</value> </param> <param> <key>value</key> <value>2**15</value> </param> </block> <block> <key>blocks_float_to_char</key> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(200, 132)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>blocks_float_to_char_0</value> </param> <param> <key>maxoutbuf</key> <value>0</value> </param> <param> <key>minoutbuf</key> <value>0</value> </param> <param> <key>scale</key> <value>1</value> </param> <param> <key>vlen</key> <value>1</value> </param> </block> <block> <key>blocks_message_debug</key> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(912, 264)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>blocks_message_debug_0_0</value> </param> </block> <block> <key>blocks_stream_to_tagged_stream</key> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(552, 124)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>blocks_stream_to_tagged_stream_0</value> </param> <param> <key>len_tag_key</key> <value>"packet_len"</value> </param> <param> <key>maxoutbuf</key> <value>0</value> </param> <param> <key>minoutbuf</key> <value>0</value> </param> <param> <key>packet_len</key> <value>packet_len</value> </param> <param> <key>type</key> <value>byte</value> </param> <param> <key>vlen</key> <value>1</value> </param> </block> <block> <key>blocks_tagged_stream_to_pdu</key> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(776, 132)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>blocks_tagged_stream_to_pdu_0</value> </param> <param> <key>type</key> <value>byte</value> </param> <param> <key>tag</key> <value>packet_len</value> </param> <param> <key>maxoutbuf</key> <value>0</value> </param> <param> <key>minoutbuf</key> <value>0</value> </param> </block> <block> <key>blocks_throttle</key> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(360, 132)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>blocks_throttle_0</value> </param> <param> <key>ignoretag</key> <value>True</value> </param> <param> <key>maxoutbuf</key> <value>0</value> </param> <param> <key>minoutbuf</key> <value>0</value> </param> <param> <key>samples_per_second</key> <value>samp_rate</value> </param> <param> <key>type</key> <value>byte</value> </param> <param> <key>vlen</key> <value>1</value> </param> </block> <block> <key>digital_glfsr_source_x</key> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>degree</key> <value>13</value> </param> <param> <key>_enabled</key> <value>1</value> </param> <param> <key>_coordinate</key> <value>(32, 112)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>digital_glfsr_source_x_0</value> </param> <param> <key>mask</key> <value>0x0000100D</value> </param> <param> <key>maxoutbuf</key> <value>0</value> </param> <param> <key>minoutbuf</key> <value>0</value> </param> <param> <key>repeat</key> <value>True</value> </param> <param> <key>seed</key> <value>0xA5A5</value> </param> <param> <key>type</key> <value>float</value> </param> </block> <block> <key>satellites_decode_rs</key> <param> <key>basis</key> <value>1</value> </param> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>_enabled</key> <value>1</value> </param> <param> <key>_coordinate</key> <value>(600, 316)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>satellites_decode_rs_0_0</value> </param> <param> <key>maxoutbuf</key> <value>0</value> </param> <param> <key>minoutbuf</key> <value>0</value> </param> <param> <key>verbose</key> <value>True</value> </param> </block> <block> <key>satellites_encode_rs</key> <param> <key>basis</key> <value>1</value> </param> <param> <key>alias</key> <value></value> </param> <param> <key>comment</key> <value></value> </param> <param> <key>affinity</key> <value></value> </param> <param> <key>_enabled</key> <value>True</value> </param> <param> <key>_coordinate</key> <value>(320, 324)</value> </param> <param> <key>_rotation</key> <value>0</value> </param> <param> <key>id</key> <value>satellites_encode_rs_0_0</value> </param> <param> <key>maxoutbuf</key> <value>0</value> </param> <param> <key>minoutbuf</key> <value>0</value> </param> </block> <connection> <source_block_id>blocks_float_to_char_0</source_block_id> <sink_block_id>blocks_throttle_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> <source_block_id>blocks_stream_to_tagged_stream_0</source_block_id> <sink_block_id>blocks_tagged_stream_to_pdu_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> <source_block_id>blocks_tagged_stream_to_pdu_0</source_block_id> <sink_block_id>satellites_encode_rs_0_0</sink_block_id> <source_key>pdus</source_key> <sink_key>in</sink_key> </connection> <connection> <source_block_id>blocks_throttle_0</source_block_id> <sink_block_id>blocks_stream_to_tagged_stream_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> <source_block_id>digital_glfsr_source_x_0</source_block_id> <sink_block_id>blocks_float_to_char_0</sink_block_id> <source_key>0</source_key> <sink_key>0</sink_key> </connection> <connection> <source_block_id>satellites_decode_rs_0_0</source_block_id> <sink_block_id>blocks_message_debug_0_0</sink_block_id> <source_key>out</source_key> <sink_key>print_pdu</sink_key> </connection> <connection> <source_block_id>satellites_encode_rs_0_0</source_block_id> <sink_block_id>satellites_decode_rs_0_0</sink_block_id> <source_key>out</source_key> <sink_key>in</sink_key> </connection> </flow_graph>
_______________________________________________ Discuss-gnuradio mailing list Discuss-gnuradio@gnu.org https://lists.gnu.org/mailman/listinfo/discuss-gnuradio