Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-25 Thread Christian BusquielSanz
> I have no idea what the KISS to PDU is doing.

I expected it to be a convert from Integer 8 to Async Message

> Check the README - it said somewhere about 3.7.11 and 3.7.12 - since I'm
> using 3.7.13 I ignored it.

I managed to finally install Version 3.7.13.4

> First, you shouldn't have 2 versions of gnuradio installed at the same
> time. You will have problems.

Now I only have GNU Radio version 3.7.13.4

> Which OS and what version are you running?

Ubuntu 18.04 inside a Oracle VM VirtualBox

> Second, I don't think you need to upgrade.
>
> The error message with "233-32" in it suggests your packet length is to
> large for RS(223,255).

I will work on that now

> If you didn't uninstall the previous version of gnuradio, you need to
> back out of the version you're currently installing.

I have done that (Or at least, I think I managed to uninstall it completely)
And now it workds

> Type
>
>   echo $PYTHONPATH
>   echo $LD_LIBRARY_PATH
>
> to see the values and compare the values to the installation in question.

I finally installed the latest version building it from the source
The last command I needed was
sudo ldconfig

After that, the error of $PYTHONPATH and $LD_LIBRARY_PATH did not show
up and the GNU Radio Companion launched

Again, thank you for your Time and your support



--

Christian Sêngir Busquiel Sanz

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-25 Thread Cinaed Simson
On 10/25/2018 03:35 PM, Christian BusquielSanz wrote:
>> It runs without error for me under version 3.7.13.4.
>>
>> That is, it generates 3 windows each with a single straight line of
>> amplitude 0.
>>
>> -- Cinaed
>>
> 
> That is not the output I expected
> So I am doing something wrong, since I was using the blocks
> "KISS to PDU"
> "PDU to Tagged Stream"
> to be able to encode the bit stream using CCSDS Reed-Solomon Encoder and 
> Decoder
> So I expected to have the same result as earlier, but just adding a
> codification; to compare the BER of both systems

I have no idea what the KISS to PDU is doing.

> 
> I do not know why I am having an error with my version

Check the README - it said somewhere about 3.7.11 and 3.7.12 - since I'm
using 3.7.13 I ignored it.
> 
> I am trying to update from version 3.7.11 to 3.7.13 from the command
> line, but I am having issues
> I downloaded the gnuradio-3.7.13.4.tar.gz from
> https://github.com/gnuradio/gnuradio/releases/tag/v3.7.13.4
> I extracted the files, and proceeded from the
> ~/GNURadio/gnuradio-3.7.13.4/
> folder to use these commands:
> mkdir build
> cd build
> cmake ../
> make

First, you shouldn't have 2 versions of gnuradio installed at the same
time. You will have problems.

Which OS and what version are you running?

Second, I don't think you need to upgrade.

The error message with "233-32" in it suggests your packet length is to
large for RS(223,255).

> 
> I had an issue and it was because I did not have enough Memory Ram in
> my Virtual Machine when it was building the source code on 61%
> Now, I managed to make it compile and install, but I have this error
> when I try to run the new version:
> "
> Cannot import gnuradio.

If you didn't uninstall the previous version of gnuradio, you need to
back out of the version you're currently installing.

> 
> Is the model path environment variable set correctly?
> All OS: PYTHONPATH

Type

  echo $PYTHONPATH
  echo $LD_LIBRARY_PATH

to see the values and compare the values to the installation in question.

> 
> Is the library path environment variable set correctly?
> Linux: LD_LIBRARY_PATH
> Windows: PATH
> MacOSX: DYLD_LIBRARY_PATH
> 
> 
> (No module named _runtime_swig)
> "
> So, I cannot try your flowgraph until I manage to fix it and run GNU
> Radio Companion again
> I will keep you informed on my progress
> Thank you so much for taking care about my issue
> 
> 
> Christian Sêngir Busquiel Sanz
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-25 Thread Christian BusquielSanz
> It runs without error for me under version 3.7.13.4.
>
> That is, it generates 3 windows each with a single straight line of
> amplitude 0.
>
> -- Cinaed
>

That is not the output I expected
So I am doing something wrong, since I was using the blocks
"KISS to PDU"
"PDU to Tagged Stream"
to be able to encode the bit stream using CCSDS Reed-Solomon Encoder and Decoder
So I expected to have the same result as earlier, but just adding a
codification; to compare the BER of both systems

I do not know why I am having an error with my version

I am trying to update from version 3.7.11 to 3.7.13 from the command
line, but I am having issues
I downloaded the gnuradio-3.7.13.4.tar.gz from
https://github.com/gnuradio/gnuradio/releases/tag/v3.7.13.4
I extracted the files, and proceeded from the
~/GNURadio/gnuradio-3.7.13.4/
folder to use these commands:
mkdir build
cd build
cmake ../
make

I had an issue and it was because I did not have enough Memory Ram in
my Virtual Machine when it was building the source code on 61%
Now, I managed to make it compile and install, but I have this error
when I try to run the new version:
"
Cannot import gnuradio.

Is the model path environment variable set correctly?
All OS: PYTHONPATH

Is the library path environment variable set correctly?
Linux: LD_LIBRARY_PATH
Windows: PATH
MacOSX: DYLD_LIBRARY_PATH


(No module named _runtime_swig)
"
So, I cannot try your flowgraph until I manage to fix it and run GNU
Radio Companion again
I will keep you informed on my progress
Thank you so much for taking care about my issue


Christian Sêngir Busquiel Sanz

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-25 Thread Cinaed Simson
Opps - I meant 223 bytes of information - not 233 bytes.

-- Cinaed


On 10/25/2018 02:50 PM, Cinaed Simson wrote:
> 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 
>> 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
>>
> 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-25 Thread Cinaed Simson
Also, in the Options block, I set it to "No GUI" so it would send the
output of the Message Debug to a terminal windows instead of the window
in the GRC.

Otherwise it overloads the GRC window.

Once you're convinced RS(223,255) is working, you can disable Message
Debug and enable the the QT GUI, and should be able to pipe the results
to some other block.

-- Cinaed


On 10/25/2018 02:50 PM, Cinaed Simson wrote:
> 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 
>> 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
>>
> 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-25 Thread Cinaed Simson
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 
> 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
> 




  Wed Oct 24 19:12:43 2018
  
options

  author
  


  window_size
  


  category
  [GRC Hier Blocks]


  comment
  


  description
  


  _enabled
  True


  _coordinate
  (8, 8)


  _rotation
  0


  generate_options
  no_gui


  hier_block_src_path
  .:


  id
  top_block


  max_nouts
  0


  qt_qss_theme
  


  realtime_scheduling
  


  run_command
  {python} -u {filename}


  run_options
  run


  run
  True


  sizing_mode
  fixed


  thread_safe_setters
  


  title
  


  placement
  (0,0)

  
  
variable

  comment
  


  _enabled
  True


  _coordinate
  (328, 4)


  _rotation
  0


  id
  packet_len


  value
  223

  
  
variable

  comment
  


  _enabled
  True


  _coordinate
  (216, 4)


  _rotation
  0


  id
  samp_rate


  value
  2**15

  
  
blocks_float_to_char

  alias
  


  comment
  


  affinity
  


  _enabled
  True


  _coordinate
  (200, 132)


  _rotation
  0


  id
  blocks_float_to_char_0


  maxoutbuf
  0


  minoutbuf
  0


  scale
  1


  vlen
  1

  
  
blocks_message_debug

  alias
  


  comment
  


  affinity
  


  _enabled
  True


  _coordinate
  (912, 264)


  _rotation
  0


  id
  blocks_message_debug_0_0

  
  
blocks_stream_to_tagged_stream

  alias
  


  comment
  


  affinity
  


  _enabled
  True


  _coordinate
  (552, 124)


  _rotation
  0


  id
  blocks_stream_to_tagged_stream_0


  len_tag_key
  "packet_len"


  maxoutbuf
  0


  minoutbuf
  0


  packet_len
  packet_len


  type
  byte


  vlen
  1

  
  
blocks_tagged_stream_to_pdu

  alias
  


  comment
  


  affinity
  


  _enabled
  True


  _coordinate
  (776, 132)


  _rotation
  0


  id
  blocks_tagged_stream_to_pdu_0


  type
  byte


  tag
  packet_len


  maxoutbuf
  0


  minoutbuf
  0

  
  
blocks_throttle

  alias
  


  comment
  


  affinity
  


  _enabled
  True


  _coordinate
  (360, 132)


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-24 Thread Cinaed Simson
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 
> 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

It runs without error for me under version 3.7.13.4.

That is, it generates 3 windows each with a single straight line of
amplitude 0.

-- Cinaed

> 
> 
> 
> Christian Sêngir Busquiel Sanz
> 
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 


___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-23 Thread Christian BusquielSanz
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 
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


Reed-Solomon_Test_001.grc
Description: Binary data
___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-22 Thread Christian BusquielSanz
> Sorry, I didn't look at the image.

No problem, I appreciate the Time that you have spent helping me, I
know that everyone is busy and sometimes we look at this in a hurry



> Ah, that's most likely the issue. I'm running Debian on bare metal with
> an i7 and I don't have any problems.
>
> -- Cinaed

Maybe that is what it was...
I just wanted to make note of it in case someone has the same
behaviour in their simulations so they can find the problem easily



I will keep trying to convert Bytes into Async Messages and vice versa
For now, I found a block that apparently has that behaviour, but I
have not managed to use it properly:
A) KISS to PDU
B) PDU to Tagged Stream
(From GR-Satellites https://github.com/daniestevez/gr-satellites)

I will let you know if I get any positive results



Christian Sêngir Busquiel Sanz

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-22 Thread Cinaed Simson
On 10/22/2018 01:10 PM, Christian BusquielSanz wrote:
> On Sat, 20 Oct 2018 at 08:00, Cinaed Simson  wrote:
>> Maybe you removed the Delay slider? The default value is 0 - try setting
>> it to 2 in the Qt GUI Range.
>>
>> -- Cinaed
> 
> No, I did not remove the slider (It shows in the picture that the
> slider is there, on top)
> 
> I changed the default value to 2, because that is how it synchronizes
> in my computer
> 
> I was just pointing out that the BER does not plot straight away if
> the default value is different from 0
> If the delay value is set to 0, it starts plotting it right away
> If it is different than 0, I need to click on the slide or click the
> arrows to change the value so it starts plotting,
> then click again to switch it back to 2 so the two signals are synchronized

Sorry, I didn't look at the image.

> 
> I am using Ubuntu 18.04 in Oracle VM Virtual Box in a Windows 10 Pro
> 64 bit operating system, in case that the issue comes from there
> 

Ah, that's most likely the issue. I'm running Debian on bare metal with
an i7 and I don't have any problems.

-- Cinaed

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-22 Thread Christian BusquielSanz
On Sat, 20 Oct 2018 at 08:00, Cinaed Simson  wrote:
> Maybe you removed the Delay slider? The default value is 0 - try setting
> it to 2 in the Qt GUI Range.
>
> -- Cinaed

No, I did not remove the slider (It shows in the picture that the
slider is there, on top)

I changed the default value to 2, because that is how it synchronizes
in my computer

I was just pointing out that the BER does not plot straight away if
the default value is different from 0
If the delay value is set to 0, it starts plotting it right away
If it is different than 0, I need to click on the slide or click the
arrows to change the value so it starts plotting,
then click again to switch it back to 2 so the two signals are synchronized

I am using Ubuntu 18.04 in Oracle VM Virtual Box in a Windows 10 Pro
64 bit operating system, in case that the issue comes from there

-- 

Christian Sêngir Busquiel Sanz

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-19 Thread Cinaed Simson
On 10/18/2018 04:26 PM, Christian BusquielSanz wrote:
>> If the BER icon is grey, you need to put your cursor on the BER icon,
>> right click, and select enable.
>>
>> And you need to do the same thing for the two yellow icons for the CRC32
>> if you haven't already done so.
>>
>> All the icons in the flowgraph should have a white background.
> 
> I did not mean that
> I saw that the flowgraph that you sent me had several blocks in grey and
> several blocks in yellow
> I researched what it meant, since it did not show up in any tutorial,
> and I noticed that feature
> "Enable" (Light purple): block working
> "Disabled" (Dark Grey): block does not exist for the flowgraph, but its
> connections are still there. (Useful for sinks)
> "Bypass" (Yellow): block behaves as it is only a connection between blocks
> 
> What I meant is what I see as an attached picture No_BER_Shown_001.png
> I have to click on the Range value, change it from 2 to another value
> (Either clicking the arrow up or down) and then the BER starts to being
> plotted
> When I do that, results are shown in the BER graph

Maybe you removed the Delay slider? The default value is 0 - try setting
it to 2 in the Qt GUI Range.

-- Cinaed

___
Discuss-gnuradio mailing list
Discuss-gnuradio@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnuradio


Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-18 Thread Cinaed Simson
On 10/17/2018 07:20 PM, Christian BusquielSanz wrote:
> Good day again
> 
> First of all, thank you very much, Mr Simson
> Seeing a graph working doing what I wanted to do helped me a lot on
> how to solve the problem that I had with mine
> I actually expected a reply in one week and I got it in a couple of
> days, so it was of great help and I wanted to thank you for that
> 
> Second of all
> Since I am writing long E-Mails... Should I delete the previous
> E-Mails appended to this message after the signature to clean the
> mailing list?
> Also to free some weight from the messages
> 
> I have been working on the flowgraph these days too
> 
> I was using "Pack K bits" and I should have used "Unpack K Bits", as
> you showed me,
> because GMSK Demodulator demodulates each symbol providing one bit of
> the result on consecutive bytes,
> so I need to use only the last bits of each output to generate back the data
> So that was my mistake
> 
> Since the delay that works for me is 2, I set it as a variable so I
> already have the proper value when running the flowgraph
> But...
> 
> A thing that I have noticed is that, when I run the flowgraph, I need
> to click on the arrows of the delay,
> change it and return it to the value 2,
> to get the BER plotted on the QT GUI Time Sink

If the BER icon is grey, you need to put your cursor on the BER icon,
right click, and select enable.

And you need to do the same thing for the two yellow icons for the CRC32
if you haven't already done so.

All the icons in the flowgraph should have a white background.

> 
> I have this Modulation/Demodulation flowgraph working
> 
> Now I want to add an encoder, Reed-Solomon or Convolutional Coding
> One at a Time
> And later on, both of them
> 
> But, as I stated earlier, I would like to ask for a way to convert
> "Integer 8"/"Char" outputs from blocks into "Async Message"
> to be able to use CCSDS Reed-Solomon Encoder/Decoder from "\Satellites\FEC"

In the search box, enter "Async" and see pops up.

Also, see the examples in the source code directory for gr-satellites.

> 
> I have also found another Reed-Solomonn Encoder/Decoder here:
> https://github.com/gnuradio/gnuradio/tree/master/gr-fec/lib/reed-

That code is from the core source code for gnuradio - you already have
it installed on your computer.



> But I do not know how to install it, since I cannot find a way to
> download the whole library and install it using the standard block
> procedure:

Don't even try to install it.

> https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python#3.2.6._Installing_Python_Blocks
> mkdir build
> cmake ../
> make
> sudo make install
> sudo ldconfig
> 
> If I do this downloading all the files in a separate folder, I am
> getting this output when runing the command "cmake ../":
> "
> CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:174
> (file):
>   file failed to open for writing (No such file or directory):
> 
> 
> /home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/CMakeOutput.log
> Call Stack (most recent call first):
>   CMakeLists.txt
> 
> 
> CMake Error: Could not open file for write in copy operation
> /home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CMakeSystem.cmake.tmp
> CMake Error: : System Error: No such file or directory
> CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:186
> (configure_file):
>   configure_file Problem configuring file
> Call Stack (most recent call first):
>   CMakeLists.txt
> 
> 
> CMake Error at 
> /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
> (file):
>   file problem creating directory:
>   
> /home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
> Call Stack (most recent call first):
>   /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31
> (CMAKE_DETERMINE_COMPILER_ID_BUILD)
>   /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:112
> (CMAKE_DETERMINE_COMPILER_ID)
>   CMakeLists.txt
> 
> 
> CMake Error at 
> /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
> (file):
>   file problem creating directory:
>   
> /home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
> Call Stack (most recent call first):
>   /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31
> (CMAKE_DETERMINE_COMPILER_ID_BUILD)
>   /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:112
> (CMAKE_DETERMINE_COMPILER_ID)
>   CMakeLists.txt
> 
> 
> CMake Error at 
> /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
> (file):
>   file problem creating directory:
>   
> /home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
> Call Stack (most recent call first):
>   /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31
> (CMAKE_DETERMINE_COMPILER_ID_BUILD)
>   /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:112
> (CMAKE_DETERMINE_COMPILER_ID)
>   

Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-17 Thread Christian BusquielSanz
Sorry for Re-Posting

I just realized looking at the output that I might needed to run the
"cmake ../" as superuser, so I did:

"
~/GNURadio/work/Reed-Solomon/build$ sudo cmake ../
[sudo] password for cbusquielsanz:
-- The C compiler identification is GNU 7.3.0
-- The CXX compiler identification is GNU 7.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

cmake_minimum_required(VERSION 3.10)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring done
-- Generating done
-- Build files have been written to:
/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build
"

Then I run the following commands, but no feedback is given for the
"make" command:
"
cbusquielsanz@cbusquielsanz-Ubuntu:~/GNURadio/work/Reed-Solomon/build$ make
cbusquielsanz@cbusquielsanz-Ubuntu:~/GNURadio/work/Reed-Solomon/build$
sudo make install
make: *** No rule to make target 'install'.  Stop.
"

So I believe I might be lacking a file to install this, because I
updated CMake to install GNU Radio Companion two weeks ago
On Thu, 18 Oct 2018 at 15:20, Christian BusquielSanz
 wrote:
>
> Good day again
>
> First of all, thank you very much, Mr Simson
> Seeing a graph working doing what I wanted to do helped me a lot on
> how to solve the problem that I had with mine
> I actually expected a reply in one week and I got it in a couple of
> days, so it was of great help and I wanted to thank you for that
>
> Second of all
> Since I am writing long E-Mails... Should I delete the previous
> E-Mails appended to this message after the signature to clean the
> mailing list?
> Also to free some weight from the messages
>
> I have been working on the flowgraph these days too
>
> I was using "Pack K bits" and I should have used "Unpack K Bits", as
> you showed me,
> because GMSK Demodulator demodulates each symbol providing one bit of
> the result on consecutive bytes,
> so I need to use only the last bits of each output to generate back the data
> So that was my mistake
>
> Since the delay that works for me is 2, I set it as a variable so I
> already have the proper value when running the flowgraph
> But...
>
> A thing that I have noticed is that, when I run the flowgraph, I need
> to click on the arrows of the delay,
> change it and return it to the value 2,
> to get the BER plotted on the QT GUI Time Sink
>
> I have this Modulation/Demodulation flowgraph working
>
> Now I want to add an encoder, Reed-Solomon or Convolutional Coding
> One at a Time
> And later on, both of them
>
> But, as I stated earlier, I would like to ask for a way to convert
> "Integer 8"/"Char" outputs from blocks into "Async Message"
> to be able to use CCSDS Reed-Solomon Encoder/Decoder from "\Satellites\FEC"
>
> I have also found another Reed-Solomonn Encoder/Decoder here:
> https://github.com/gnuradio/gnuradio/tree/master/gr-fec/lib/reed-solomon
> But I do not know how to install it, since I cannot find a way to
> download the whole library and install it using the standard block
> procedure:
> https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python#3.2.6._Installing_Python_Blocks
> mkdir build
> cmake ../
> make
> sudo make install
> sudo ldconfig
>
> If I do this downloading all the files in a separate folder, I am
> getting this output when runing the command "cmake ../":
> "
> CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:174
> (file):
>   file failed to open for writing (No such file or directory):
>
> 
> /home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/CMakeOutput.log
> Call Stack (most recent call first):
>   CMakeLists.txt
>
>
> CMake Error: Could not open file for write in copy operation
> /home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CMakeSystem.cmake.tmp
> CMake Error: : System Error: No such file or directory
> CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:186
> (configure_file):
>   configure_file Problem configuring file
> Call Stack (most recent call first):
>   CMakeLists.txt
>
>
> CMake Error at 
> /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
> (file):
>   file problem creating directory:
>   
> 

Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-17 Thread Christian BusquielSanz
Good day again

First of all, thank you very much, Mr Simson
Seeing a graph working doing what I wanted to do helped me a lot on
how to solve the problem that I had with mine
I actually expected a reply in one week and I got it in a couple of
days, so it was of great help and I wanted to thank you for that

Second of all
Since I am writing long E-Mails... Should I delete the previous
E-Mails appended to this message after the signature to clean the
mailing list?
Also to free some weight from the messages

I have been working on the flowgraph these days too

I was using "Pack K bits" and I should have used "Unpack K Bits", as
you showed me,
because GMSK Demodulator demodulates each symbol providing one bit of
the result on consecutive bytes,
so I need to use only the last bits of each output to generate back the data
So that was my mistake

Since the delay that works for me is 2, I set it as a variable so I
already have the proper value when running the flowgraph
But...

A thing that I have noticed is that, when I run the flowgraph, I need
to click on the arrows of the delay,
change it and return it to the value 2,
to get the BER plotted on the QT GUI Time Sink

I have this Modulation/Demodulation flowgraph working

Now I want to add an encoder, Reed-Solomon or Convolutional Coding
One at a Time
And later on, both of them

But, as I stated earlier, I would like to ask for a way to convert
"Integer 8"/"Char" outputs from blocks into "Async Message"
to be able to use CCSDS Reed-Solomon Encoder/Decoder from "\Satellites\FEC"

I have also found another Reed-Solomonn Encoder/Decoder here:
https://github.com/gnuradio/gnuradio/tree/master/gr-fec/lib/reed-solomon
But I do not know how to install it, since I cannot find a way to
download the whole library and install it using the standard block
procedure:
https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python#3.2.6._Installing_Python_Blocks
mkdir build
cmake ../
make
sudo make install
sudo ldconfig

If I do this downloading all the files in a separate folder, I am
getting this output when runing the command "cmake ../":
"
CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:174
(file):
  file failed to open for writing (No such file or directory):


/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/CMakeOutput.log
Call Stack (most recent call first):
  CMakeLists.txt


CMake Error: Could not open file for write in copy operation
/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CMakeSystem.cmake.tmp
CMake Error: : System Error: No such file or directory
CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineSystem.cmake:186
(configure_file):
  configure_file Problem configuring file
Call Stack (most recent call first):
  CMakeLists.txt


CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
(file):
  file problem creating directory:
  
/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31
(CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:112
(CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt


CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
(file):
  file problem creating directory:
  
/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31
(CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:112
(CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt


CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
(file):
  file problem creating directory:
  
/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31
(CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:112
(CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt


CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
(file):
  file problem creating directory:
  
/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31
(CMAKE_DETERMINE_COMPILER_ID_BUILD)
  /usr/share/cmake-3.10/Modules/CMakeDetermineCCompiler.cmake:112
(CMAKE_DETERMINE_COMPILER_ID)
  CMakeLists.txt


CMake Error at /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:145
(file):
  file problem creating directory:
  
/home/cbusquielsanz/GNURadio/work/Reed-Solomon/build/CMakeFiles/3.10.2/CompilerIdC
Call Stack (most recent call first):
  /usr/share/cmake-3.10/Modules/CMakeDetermineCompilerId.cmake:31

Re: [Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-16 Thread Cinaed Simson
Hi Christian - start simple.

First prove to yourself you can modulate/demodulate a random source.

Enclosed is an example.

You can replace the GLFSR source and Float To Char blocks with a Random
Source block - but it doesn't really matter.

Adjust the Delay block until the 2 curves in the Qt GUI Time Sink block
line up,

This will depend upon the speed of your machine.

Then enable the 2 CRC32 blocks.

You may have to adjust the delay again.

Then enable the blocks to calculate BER.

-- Cinaed


On 10/14/2018 07:05 PM, Christian BusquielSanz wrote:
> Good day
> How are you?
> I am a new user to GNU Radio Companion
> I am using version 3.7.11
> I have read, followed and finished the exercises/examples in the
> tutorials of Working with "GNU Radio Companion"
> (https://wiki.gnuradio.org/index.php/Guided_Tutorial_GRC) and
> "Programming GNU Radio in Python"
> (https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python)
> -
> I have been working on designing a whole system to compute the BER of
> different encoders using GMSK:
> 1.- Reed Solomon
> 2.- Convolutional Coding
> 3.- CRC
> 
> I have also installed GR Satellites by Daniel Estévez
> (https://github.com/daniestevez/gr-satellites) to help me with this
> task
> 
> I started building the whole system using GNU Radio Companion to build
> the blocks, but I had many problems with the input and output of
> blocks, since there were no transformations to adapt all the blocks
> among them, and I tried several of the blocks provided with each
> Encoder/Decoder to make it fit
> -
> Once I had an idea of how it should work, I tried to start with a
> simple system only with one of the 'encoders' which was CRC (Stream
> CRC32)
> 
> The Block Diagram would look like this (See attached "CRC_Test.grc" file):
> (Random Source) => (Throttle) => (Stream to Tagged Stream) => (Stream
> CRC32[Generate CRC]) =>A) B) C)
> A) => (Char to Float) => (QT GUI Timer Sink)
> B) => (GMSK Mod [S/S=10]) => (GMSK Demod [S/S=10]) => (Pack K Bits
> [K=8]) => C) D)
> C) 2x=> (BER) => (QT GUI Timer Sink)
> D) => (Char to Float) => (QT GUI Timer Sink)
> 
> And also adding noise:
> The Block Diagram would look like this (See attached
> "CRC_Test_with_noise.grc" file):
> (Random Source) => (Throttle) => (Stream to Tagged Stream) => (Stream
> CRC32[Generate CRC]) =>A) B) C)
> (Noise Source [Gaussian]) => D)
> A) => (Char to Float) => (QT GUI Timer Sink)
> B) => (GMSK Mod [S/S=10]) => D)
> C) 2x=> (BER) => (QT GUI Timer Sink)
> D) 2x=> (Add) => (GMSK Demod [S/S=10]) => (Pack K Bits [K=8]) => C) E)
> E) => (Char to Float) => (QT GUI Timer Sink)
> 
> If I add another "Stream CRC32" block with [Check CRC]; I have three 
> situations:
> a) I add a "Stream to Tagged Stream" block before the (Stream CRC
> [Check CRC]) with the same 'Length Tag Name' as the one after the
> Throttle
> b) I add a "Stream to Tagged Stream" block before the (Stream CRC
> [Check CRC]) with a different 'Length Tag Name' as the one after the
> Throttle and change the "Length Tag Key" of the "Stream CRC32" block
> c) I do not add a "Stream to Tagged Stream" block before the (Stream
> CRC [Check CRC])
> I get these outputs:
> a) It provides no output, and an error is shown up:
> gr::log :FATAL: crc32_bb0 - Missing a required length tag on port 0 at item 
> #14
> thread[thread-per-block[16]: ]: Missing length tag.
> b) No output
> c) It provides an output, but there is no block that removes the CRC
> bytes, so from my point of view, the BER rate should be higher even if
> I am using the block "Pack K Bits" with K=8, to recover the bytes
> after the modulation (Since "GMSK Demod" returns one bit of each byte
> in separate bytes and I need to reconstruct the signal)
> 
> I cannot find where I am making the mistake and I would like to ask if
> someone could point out where I am wrong so I can fix it. Thank you.
> -
> I tried to do also a simple test of Reed-Solomon encoding
> But I could not match any Reed-Solomon pair of coder & decoder that
> were paired together. Only the DVB-T one has, in the same section of
> the Companion, both the Encoder and the Decoder
> (If you use the magnifying glass search in the Companion, you find
> these Reed Solomon results)
> If you search for "Reed":
> 1.- ATSC only has a decoder, but I do not want to use a specific
> implementation; I want to use a general implementation for satellite
> applications
> 2.- ITU-T has only an encoder
> 3.- Satellites (By Dani Estévez) has both an encoder and a decoder;
> but its input/output is async messages, and I want to test BER, so I
> need a random source of bits. I do not know how to convert those bits
> into messages to use these blocks.
> If you search for "RS":
> 1.- ATSC shows both an Encoder as "ATSC RS Encoder" and an Decoder as
> "ATSC Reed-Solomon Decoder" (Why do they have different titles?)
> 2.- Satellites (By Dani Estévez) has 15 entries, but all of them use
> 

[Discuss-gnuradio] Simulation to compute BER of a Modulator/Demodulator Encoding/Decoding system

2018-10-14 Thread Christian BusquielSanz
Good day
How are you?
I am a new user to GNU Radio Companion
I am using version 3.7.11
I have read, followed and finished the exercises/examples in the
tutorials of Working with "GNU Radio Companion"
(https://wiki.gnuradio.org/index.php/Guided_Tutorial_GRC) and
"Programming GNU Radio in Python"
(https://wiki.gnuradio.org/index.php/Guided_Tutorial_GNU_Radio_in_Python)
-
I have been working on designing a whole system to compute the BER of
different encoders using GMSK:
1.- Reed Solomon
2.- Convolutional Coding
3.- CRC

I have also installed GR Satellites by Daniel Estévez
(https://github.com/daniestevez/gr-satellites) to help me with this
task

I started building the whole system using GNU Radio Companion to build
the blocks, but I had many problems with the input and output of
blocks, since there were no transformations to adapt all the blocks
among them, and I tried several of the blocks provided with each
Encoder/Decoder to make it fit
-
Once I had an idea of how it should work, I tried to start with a
simple system only with one of the 'encoders' which was CRC (Stream
CRC32)

The Block Diagram would look like this (See attached "CRC_Test.grc" file):
(Random Source) => (Throttle) => (Stream to Tagged Stream) => (Stream
CRC32[Generate CRC]) =>A) B) C)
A) => (Char to Float) => (QT GUI Timer Sink)
B) => (GMSK Mod [S/S=10]) => (GMSK Demod [S/S=10]) => (Pack K Bits
[K=8]) => C) D)
C) 2x=> (BER) => (QT GUI Timer Sink)
D) => (Char to Float) => (QT GUI Timer Sink)

And also adding noise:
The Block Diagram would look like this (See attached
"CRC_Test_with_noise.grc" file):
(Random Source) => (Throttle) => (Stream to Tagged Stream) => (Stream
CRC32[Generate CRC]) =>A) B) C)
(Noise Source [Gaussian]) => D)
A) => (Char to Float) => (QT GUI Timer Sink)
B) => (GMSK Mod [S/S=10]) => D)
C) 2x=> (BER) => (QT GUI Timer Sink)
D) 2x=> (Add) => (GMSK Demod [S/S=10]) => (Pack K Bits [K=8]) => C) E)
E) => (Char to Float) => (QT GUI Timer Sink)

If I add another "Stream CRC32" block with [Check CRC]; I have three situations:
a) I add a "Stream to Tagged Stream" block before the (Stream CRC
[Check CRC]) with the same 'Length Tag Name' as the one after the
Throttle
b) I add a "Stream to Tagged Stream" block before the (Stream CRC
[Check CRC]) with a different 'Length Tag Name' as the one after the
Throttle and change the "Length Tag Key" of the "Stream CRC32" block
c) I do not add a "Stream to Tagged Stream" block before the (Stream
CRC [Check CRC])
I get these outputs:
a) It provides no output, and an error is shown up:
gr::log :FATAL: crc32_bb0 - Missing a required length tag on port 0 at item #14
thread[thread-per-block[16]: ]: Missing length tag.
b) No output
c) It provides an output, but there is no block that removes the CRC
bytes, so from my point of view, the BER rate should be higher even if
I am using the block "Pack K Bits" with K=8, to recover the bytes
after the modulation (Since "GMSK Demod" returns one bit of each byte
in separate bytes and I need to reconstruct the signal)

I cannot find where I am making the mistake and I would like to ask if
someone could point out where I am wrong so I can fix it. Thank you.
-
I tried to do also a simple test of Reed-Solomon encoding
But I could not match any Reed-Solomon pair of coder & decoder that
were paired together. Only the DVB-T one has, in the same section of
the Companion, both the Encoder and the Decoder
(If you use the magnifying glass search in the Companion, you find
these Reed Solomon results)
If you search for "Reed":
1.- ATSC only has a decoder, but I do not want to use a specific
implementation; I want to use a general implementation for satellite
applications
2.- ITU-T has only an encoder
3.- Satellites (By Dani Estévez) has both an encoder and a decoder;
but its input/output is async messages, and I want to test BER, so I
need a random source of bits. I do not know how to convert those bits
into messages to use these blocks.
If you search for "RS":
1.- ATSC shows both an Encoder as "ATSC RS Encoder" and an Decoder as
"ATSC Reed-Solomon Decoder" (Why do they have different titles?)
2.- Satellites (By Dani Estévez) has 15 entries, but all of them use
messages as input/output and I have the same problem with the Random
Source

So, I have not been able to build a proper block diagram and test it
to get any results

I believe that the best approach would be using the FEC Enconder and
Decoder from Satellites (By Dani Estévez); but I do not know how to
use the Async Message type with the Byte output from Random Source,
although I have sought for examples on type conversion, but I could
not find any

Could you point me in the right direction on how to assemble this graph, please?
-
Since the only implementations of Convolutional coding blocks are from
DVB-T and I would like to use a generic application, I have not tried
those yet
-
Thank you very