# File source in ASCII

**URL:** <https://www.ruby-forum.com/t/file-source-in-ascii/239271>\
**Category:** GNU Radio\
**Created:** [February 19, 2014, 7:16pm UTC](https://www.ruby-forum.com/t/file-source-in-ascii/239271 "2014-02-19T19:16:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Detlef\_R](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/d/58f4c7/32.png) [@Detlef\_R](https://www.ruby-forum.com/u/Detlef_R)\
**Post date:** [February 19, 2014, 7:16pm UTC](https://www.ruby-forum.com/t/file-source-in-ascii/239271/1 "2014-02-19T19:16:38Z")

</div>

Good afternoon,

I’m new at gnuradio companion. I’m trying to make a system that reads a  
file using ‘file source’ and sends it through the usrp. What I’m trying  
to send is basically a sequence of 1’s and 0’s. The problem is, if I try  
to write for example [11110000]. The file source will think that it is  
in ASCII code, so it will translate that as follows: 1-\> 49 in decimal  
-\>00110001 in binary, and for 0-\>48 in decimal -\>00110000 in binary. So,  
in the end I end up sending a sequence of (00110001 and 00110000)  
instead of the original 0’s and 1’s that I was trying to, because I  
don’t know how to tell the ‘file souce’ that the data in the file is  
already in binary and not in ASCII.

I will be very glad if someone can help me with this
