# How this error can be solve

**URL:** <https://www.ruby-forum.com/t/how-this-error-can-be-solve/238519>\
**Category:** GNU Radio\
**Created:** [January 15, 2014, 9:42am UTC](https://www.ruby-forum.com/t/how-this-error-can-be-solve/238519 "2014-01-15T09:42:45Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![musicdenotation](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/ea666f/32.png) [@musicdenotation](https://www.ruby-forum.com/u/musicdenotation)\
**Post date:** [January 15, 2014, 9:42am UTC](https://www.ruby-forum.com/t/how-this-error-can-be-solve/238519/1 "2014-01-15T09:42:45Z")

</div>

hello every buddy,

```
             i face such aerror so many time but not able to sovle 

```

## can you suggest how to solve , i attach a snap shopt please see and suggest me

_Thanks and regard:_

_MR.Maheshkumar P._

_call @ 9662784649_

---

<div class="post-metadata">

**Author:** ![Maheshkumar\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f475e1/32.png) [@Maheshkumar\_P](https://www.ruby-forum.com/u/Maheshkumar_P)\
**Post date:** [January 15, 2014, 9:42am UTC](https://www.ruby-forum.com/t/how-this-error-can-be-solve/238519/2 "2014-01-15T09:42:47Z")

</div>

-----BEGIN PGP SIGNED MESSAGE-----  
Hash: SHA1

Hi Maheshkumar,

the output of ‘Complex to Mag^2’ is a vector of length ‘2’. That  
doesn’t fit to the input signature of the following block ‘Threshold’.  
Put a ‘Vector to Stream’ block in between just like the ‘Stream to  
Vector’ block before the ‘FFT’. Just the reverse operation.

For completeness of this mail. IO size ‘8’ refers to the number of  
bytes in a vector. A float consists of 4 bytes and thus a vector with  
2 samples/floats has a size of 8 bytes. The IO signature for  
‘Threshold’ is a stream (or vector of size one). Thus only one  
sample/float with a size of 4 bytes.

Happy hacking  
Johannes

On 14.01.2014 23:00, Maheshkumar P. wrote:

> hello every buddy,
> 
> i face such aerror so many time but not able to sovle can you  
> suggest how to solve , i attach a snap shopt please see and suggest  
> me – _Thanks and regard:_ \* \* \* MR.Maheshkumar P. \*\* \* \*call @  
> 9662784649 \*  
> -----BEGIN PGP SIGNATURE-----  
> Version: GnuPG v1.4.12 (GNU/Linux)  
> Comment: Using GnuPG with Thunderbird - [http://www.enigmail.net/](http://www.enigmail.net/)

iQIcBAEBAgAGBQJS1jeXAAoJEO7fmkDsqywMCT8P/0dt127j1LxRNNariya0r6Kc  
F6mlq+Dtgk5njBpjdHnABmIWwkEmBbs+Z7Mg2Som5ZBL1Uzolb+LSL8vAm/j/6is  
/ymKhDaDF5MROOA2HPONywWHiQlg00PGB0RN9JMXXT87UuUH5dGIgfJub5J0NiOz  
m9myVVUnpXVYm7zEGrjnOVxLRAKhyy9jdeXcPwHbZ1q4H51Rz0AFEenqZ58HxznQ  
LaInHsepXKnqeSlDCGw5DqUenS6b6bt2afR2Nod/ix2EnJteVr0BdM9fKuXX7yqp  
6Xi9R1xQoBDIzpjtLE50QnEa6nf1bAGrW86OIb5b2H+yM2YN9qZ4sVYUlLZFHX2q  
4ppCS0cwuXP9noJF8JO686L+mbPQ1mOfefiQzSkgLJz6u/31yoRMeaKIXEB3E4Kv  
o0emZl1Iuy/NRcSDUTbMsafDzN3Co/W52RRbb4i0C52w2tfLEx3nQUVhiYkR/UNQ  
DTY+hPjXeh+mUfHQMFdDKjy5jYkXWIWsSKM3pq3pTQeC4whqlVqtR5narEgdfMvu  
FJ4lTMn4F6SNhLz+Ab6JBEBueaQ1cmP+3XwRiAboWC0opbpZ9inN19USnMomVsa9  
aguDyVscvIsyHTdaoXOSRODzFtcaMc5ZZifLTPUYgCEEWx7ziLcX4qQReUH/QloQ  
XEe6UD75PlUKysWLYFkK  
=5uwG  
-----END PGP SIGNATURE-----

---

<div class="post-metadata">

**Author:** ![Maheshkumar\_P](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f475e1/32.png) [@Maheshkumar\_P](https://www.ruby-forum.com/u/Maheshkumar_P)\
**Post date:** [January 15, 2014, 11:10am UTC](https://www.ruby-forum.com/t/how-this-error-can-be-solve/238519/3 "2014-01-15T11:10:19Z")

</div>

On Tue, Jan 14, 2014 at 11:24:07PM -0800, Johannes D. wrote:

> Hi Maheshkumar,
> 
> the output of ‘Complex to Mag^2’ is a vector of length ‘2’. That  
> doesn’t fit to the input signature of the following block ‘Threshold’.

GRC actually highlights these problems for you. In your screenshot,  
there’s a red arrow at the offending port. Check for these things marked  
in red to give you a clue where the problem might be.

MB
