discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss-gnuradio] Problem with error_rate block?


From: Rick Spanbauer
Subject: [Discuss-gnuradio] Problem with error_rate block?
Date: Thu, 24 Oct 2013 20:44:19 -0400

I was trying to use the error_rate block tonight, and noticed it seems to
be throwing an error related to blocks.message_from_string.  The
following change to error_rate.py seems to have fixed the issue:

diff error_rate.py error_rate.py-orig 
116c116
<         msg = gr.message_from_string(arr.tostring(), 0, gr.sizeof_float, num)
---
>         msg = blocks.message_from_string(arr.tostring(), 0, gr.sizeof_float, num)
139c139
<         msg = gr.message_from_string(arr.tostring(), 0, gr.sizeof_float, num)
---
>         msg = blocks.message_from_string(arr.tostring(), 0, gr.sizeof_float, num)

Just passing this along, if anyone runs into the same problem.

Rick


reply via email to

[Prev in Thread] Current Thread [Next in Thread]