Re: [Discuss-gnuradio] Re ceiving DBPSK side not working.

2011-04-21 Thread ish13

No I am using TVRX to receive and basic TX to transmit.  I have changed the
following values,
Receive.
Decimation=256
gain = 20

Transmitter.
Interpolation= 512
Multiply Const=5000

I am now receiving my audio file and saving the data into another file. 
Though the data is not the just the file data because the play back of the
song it has a lot of noise.

But sorry I have version 3.3.  

Ismael


Tom Rondeau wrote:
> 
> On Thu, Apr 21, 2011 at 2:14 PM, ish13  wrote:
> 
>>
>> Am going to work on it today and see if I get any results from the
>> previous
>> replys. Below the setting that are currently being used but I am changing
>> the interpolation and decimation rates.
>>
>> 4k.
>> Gain=20.
>> Freq= 100.1MHz
>> Board is tvrx
>> Version 3.3 gnuradio and 0.7 grc
>>
>> Ismael
> 
> 
> 
> You are trying to transmit using a TVRX? That's a receive-only board.
> That's
> also a really old version of GRC.
> 
> Tom
> 
> 
> 
>> Tom Rondeau wrote:
>> >
>> > On Tue, Apr 19, 2011 at 2:35 PM, ish13  wrote:
>> >
>> >>
>> >> Ok I had used the muliplier in a previous code using Frequency
>> Modulation
>> >> which is why I used it again.  But thanks for that.  I will change it
>> to
>> >> a
>> >> smaller value.
>> >>
>> >> I also had it set up with the interpolation to 512 and the decimation
>> to
>> >> 256
>> >> but it didn't work either.  Though I will set these values to the
>> range
>> >> it
>> >> has to fall between.
>> >>
>> >> As for the transmitter, I had connected the output of the modulation
>> >> block
>> >> to a scope to see if it was transmitting the correct waveform, which
>> it
>> >> was.
>> >> Though the problem came when I try to receive.  When I tune into the
>> >> frequency I am transmitting at there is no signal at all, which I am
>> not
>> >> sure why that is happening.
>> >>
>> >> Ismael
>> >
>> >
>> > Just connecting to the scope inside the transmitter isn't likely to
>> tell
>> > you
>> > too much. You want to see it at the receiver. The fact that you are not
>> > seeing it at the receiver helps.
>> >
>> > What interpolation are you using at the transmitter when looking for
>> the
>> > received signal?
>> > What gain settings?
>> > What frequency?
>> > What daughterboards are you using?
>> > What version of GNU Radio and GRC?
>> >
>> > Tom
>> >
>> >
>> >
>> >> Tom Rondeau wrote:
>> >> >
>> >> > On Tue, Apr 19, 2011 at 2:03 PM, ish13  wrote:
>> >> >
>> >> >>
>> >> >> I am using DBPSK, but I am not receiving anything when I transmit
>> my
>> >> >> signal.
>> >> >> I attached the flow-graphs from the companion.  Can someone look
>> >> through
>> >> >> it
>> >> >> and tell me if it is correct?
>> >> >>
>> >> >> Thanks
>> >> >> Ismael
>> >> >>
>> >> >> http://old.nabble.com/file/p31434999/Receiver.png Receiver.png
>> >> >> http://old.nabble.com/file/p31434999/Transmitter.png
>> Transmitter.png
>> >> >>
>> >> >
>> >> > A few issues. First, don't set the multiplier to 32k as you will
>> >> probably
>> >> > start to over drive the amplifier. I tend to keep this at a max of
>> 15k.
>> >> >
>> >> > More importantly, though, you're interpolation and decimations are
>> set
>> >> to
>> >> > 4k
>> >> > and 2k, respectively. You cannot use this large of a number. The max
>> >> (if
>> >> I
>> >> > recall) are 512 for interp and 256 for decim.
>> >> >
>> >> > It's also helpful to start the transmitter and use the usrp_fft.py
>> >> program
>> >> > to make sure you are receiving what you think you are receiving.
>> >> >
>> >> > Tom
>> >> >
>> >> > ___
>> >> > Discuss-gnuradio mailing list
>> >> > Discuss-gnuradio@gnu.org
>> >> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>&

Re: [Discuss-gnuradio] Re ceiving DBPSK side not working.

2011-04-21 Thread ish13

Am going to work on it today and see if I get any results from the previous
replys. Below the setting that are currently being used but I am changing
the interpolation and decimation rates. 

4k. 
Gain=20. 
Freq= 100.1MHz
Board is tvrx
Version 3.3 gnuradio and 0.7 grc

Ismael


Tom Rondeau wrote:
> 
> On Tue, Apr 19, 2011 at 2:35 PM, ish13  wrote:
> 
>>
>> Ok I had used the muliplier in a previous code using Frequency Modulation
>> which is why I used it again.  But thanks for that.  I will change it to
>> a
>> smaller value.
>>
>> I also had it set up with the interpolation to 512 and the decimation to
>> 256
>> but it didn't work either.  Though I will set these values to the range
>> it
>> has to fall between.
>>
>> As for the transmitter, I had connected the output of the modulation
>> block
>> to a scope to see if it was transmitting the correct waveform, which it
>> was.
>> Though the problem came when I try to receive.  When I tune into the
>> frequency I am transmitting at there is no signal at all, which I am not
>> sure why that is happening.
>>
>> Ismael
> 
> 
> Just connecting to the scope inside the transmitter isn't likely to tell
> you
> too much. You want to see it at the receiver. The fact that you are not
> seeing it at the receiver helps.
> 
> What interpolation are you using at the transmitter when looking for the
> received signal?
> What gain settings?
> What frequency?
> What daughterboards are you using?
> What version of GNU Radio and GRC?
> 
> Tom
> 
> 
> 
>> Tom Rondeau wrote:
>> >
>> > On Tue, Apr 19, 2011 at 2:03 PM, ish13  wrote:
>> >
>> >>
>> >> I am using DBPSK, but I am not receiving anything when I transmit my
>> >> signal.
>> >> I attached the flow-graphs from the companion.  Can someone look
>> through
>> >> it
>> >> and tell me if it is correct?
>> >>
>> >> Thanks
>> >> Ismael
>> >>
>> >> http://old.nabble.com/file/p31434999/Receiver.png Receiver.png
>> >> http://old.nabble.com/file/p31434999/Transmitter.png Transmitter.png
>> >>
>> >
>> > A few issues. First, don't set the multiplier to 32k as you will
>> probably
>> > start to over drive the amplifier. I tend to keep this at a max of 15k.
>> >
>> > More importantly, though, you're interpolation and decimations are set
>> to
>> > 4k
>> > and 2k, respectively. You cannot use this large of a number. The max
>> (if
>> I
>> > recall) are 512 for interp and 256 for decim.
>> >
>> > It's also helpful to start the transmitter and use the usrp_fft.py
>> program
>> > to make sure you are receiving what you think you are receiving.
>> >
>> > Tom
>> >
>> > ___
>> > Discuss-gnuradio mailing list
>> > Discuss-gnuradio@gnu.org
>> > http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>> >
>> >
>>
>> --
>> View this message in context:
>> http://old.nabble.com/Receiving-DBPSK-side-not-working.-tp31434999p31435221.html
>> Sent from the GnuRadio mailing list archive at Nabble.com.
>>
>>
>> ___
>> Discuss-gnuradio mailing list
>> Discuss-gnuradio@gnu.org
>> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
>>
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Receiving-DBPSK-side-not-working.-tp31434999p31451604.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


Re: [Discuss-gnuradio] Re ceiving DBPSK side not working.

2011-04-19 Thread ish13

Ok I had used the muliplier in a previous code using Frequency Modulation
which is why I used it again.  But thanks for that.  I will change it to a
smaller value.  

I also had it set up with the interpolation to 512 and the decimation to 256
but it didn't work either.  Though I will set these values to the range it
has to fall between.

As for the transmitter, I had connected the output of the modulation block
to a scope to see if it was transmitting the correct waveform, which it was. 
Though the problem came when I try to receive.  When I tune into the
frequency I am transmitting at there is no signal at all, which I am not
sure why that is happening.  

Ismael


Tom Rondeau wrote:
> 
> On Tue, Apr 19, 2011 at 2:03 PM, ish13  wrote:
> 
>>
>> I am using DBPSK, but I am not receiving anything when I transmit my
>> signal.
>> I attached the flow-graphs from the companion.  Can someone look through
>> it
>> and tell me if it is correct?
>>
>> Thanks
>> Ismael
>>
>> http://old.nabble.com/file/p31434999/Receiver.png Receiver.png
>> http://old.nabble.com/file/p31434999/Transmitter.png Transmitter.png
>>
> 
> A few issues. First, don't set the multiplier to 32k as you will probably
> start to over drive the amplifier. I tend to keep this at a max of 15k.
> 
> More importantly, though, you're interpolation and decimations are set to
> 4k
> and 2k, respectively. You cannot use this large of a number. The max (if I
> recall) are 512 for interp and 256 for decim.
> 
> It's also helpful to start the transmitter and use the usrp_fft.py program
> to make sure you are receiving what you think you are receiving.
> 
> Tom
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Receiving-DBPSK-side-not-working.-tp31434999p31435221.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


[Discuss-gnuradio] Re ceiving DBPSK side not working.

2011-04-19 Thread ish13

I am using DBPSK, but I am not receiving anything when I transmit my signal. 
I attached the flow-graphs from the companion.  Can someone look through it
and tell me if it is correct?

Thanks
Ismael

http://old.nabble.com/file/p31434999/Receiver.png Receiver.png 
http://old.nabble.com/file/p31434999/Transmitter.png Transmitter.png 
-- 
View this message in context: 
http://old.nabble.com/Receiving-DBPSK-side-not-working.-tp31434999p31434999.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


[Discuss-gnuradio] Digital Modulation and Demodulation

2011-03-05 Thread ish13

I am trying to test the DBPSK modulation and demodulation but I don't
understand the output.  I read a binary file and modulate, then demodulate,
and then write to a file.  I view the file but it is not the same as the
original file.  Can someone help with what I should do.

Thanks


-- 
View this message in context: 
http://old.nabble.com/Digital-Modulation-and-Demodulation-tp31076987p31076987.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


[Discuss-gnuradio] Help with Code

2010-12-03 Thread ish13

Can someone please help and tell me what is wrong with my code.  My idea is
to create a sine wave->modulate->demodulate->display on scope. I get the
following error below.  Can some explain why?  Also is my idea of my flow
graph a correct way to see if I get back the signal that was created?

Thanks
Ismael


RuntimeError: iir_filter_ffd(14): insufficient connected output ports (1
needed, 0 connected)


"""
Transmit 1 signal.

Outputs SSB (USB) signals on side A and side B at frequencies
specified on command line.

Side B is 350 + 440 Hz tones.
"""

from gnuradio import gr
from gnuradio.eng_notation import num_to_str, str_to_num
from gnuradio import usrp
from gnuradio import audio
from gnuradio import blks2
from gnuradio.eng_option import eng_option
from optparse import OptionParser
from usrpm import usrp_dbid
from gnuradio.wxgui import stdgui2, scopesink2, form, slider
import wx
import math
import sys

class dialtone_signal1(gr.hier_block2):
"""
tone (440 Hz).
"""
def __init__(self, sample_rate):
gr.hier_block2.__init__(self, "dialtone_signal1",
gr.io_signature(0, 0, gr.sizeof_float), 
  
# Input signature
gr.io_signature(1, 1, gr.sizeof_float)) #
Output signature

src1 = gr.sig_source_f (sample_rate,# sample rate
gr.GR_SIN_WAVE, # waveform type
440,# frequency
1.0,# amplitude
0)  # DC Offset

self.connect(src1,self)


class my_top_block(stdgui2.std_top_block):

def __init__(self, frame, panel, vbox, argv):
stdgui2.std_top_block.__init__(self, frame, panel, vbox, argv)

self.frame = frame
self.panel = panel

usage="%prog: [options] side-A-tx-freq side-B-tx-freq"
parser = OptionParser (option_class=eng_option, usage=usage)
parser.add_option("-T", "--tx-subdev-spec", type="subdev", default=None,
  help="select USRP Tx side A or B")
parser.add_option("-r", "--sample-rate", type="eng_float", 
default=48000,
  help="set sample rate to RATE (48000)")
parser.add_option("-O", "--audio-output", type="string", default="",
  help="pcm output device name.  E.g., hw:0,0 or
/dev/dsp")
parser.add_option("-n", "--frame-decim", type="int", default=1,
  help="set oscope frame decimation factor to n
[default=1]")
parser.add_option("-v", "--v-scale", type="eng_float", default=1000,
  help="set oscope initial V/div to SCALE
[default=%default]")
parser.add_option("-t", "--t-scale", type="eng_float",
default=49e-6,
  help="set oscope initial s/div to SCALE
[default=50us]")
(options, args) = parser.parse_args ()

sample_rate = int(options.sample_rate)
self.audio_rate = 320e3 // 10
print "Enter Carrier frequency: (XXX.X)"
freq= float(raw_input())*1e6
  
self.source1 = dialtone_signal1(sample_rate)
dst = audio.sink (sample_rate, options.audio_output)
self.modulator = blks2.wfm_tx(self.audio_rate, 320e3)
self.demodulator = blks2.wfm_rcv(320e3,int(self.audio_rate))

self.scope = scopesink2.scope_sink_c(panel, sample_rate=48e3,
frame_decim=options.frame_decim,
v_scale=options.v_scale,
t_scale=options.t_scale,
num_inputs=1)

self.connect(self.source1,self.modulator,self.demodulator,self.scope)

vbox.Add(self.scope.win, 10, wx.EXPAND) 

def set_freq(self, target_freq):
"""
Set the center frequency we're interested in.

@param side: 0 = side A, 1 = side B
@param target_freq: frequency in Hz
@rtype: bool

Tuning is a two step process.  First we ask the front-end to
tune as close to the desired frequency as it can.  Then we use
the result of that operation and our target_frequency to
determine the value for the digital up converter.
"""

print "Tuning side A to %sHz" % num_to_str(target_freq)
r = self.u.tune(self.subdev.which(), self.subdev, target_freq)
if r:
print "  r.baseband_freq =", num_to_str(r.baseband_freq)
print "  r.dxc_freq  =", num_to_str(r.dxc_freq)
print "  r.residual_freq =", num_to_str(r.residual_freq)
print "  r.inverted  =", r.inverted
print "  OK"
return True

else:
   

Re: [Discuss-gnuradio] Error when installing Boost

2010-10-20 Thread ish13

I am new at this. But I was just following the instructions that are on the
wiki page. It said that boost needed to be installed. So I was following the
steps and I ran into the error message. Which approach am I supposed to take
to complete the installation of gnu radio.  

Ismael



Eric Blossom wrote:
> 
> On Wed, Oct 20, 2010 at 04:47:47PM -0700, ish13 wrote:
>> 
>> I get an error with I use ./configure when I am installing boost.  The
>> following commands are entered in the terminal when I am installing.
> 
> Why are you building boost?  It's packaged for pretty much every
> reasonably modern distribution.
> 
>> cd boost_1_44_0
>> BOOST_PREFIX=/opt/boost_1_44_0
>> ./tools/jam/src/boehm_gc/configure --prefix=$BOOST_PREFIX
>> --with-libraries=thread,date_time,program_options
>> 
>> confchecking if f77 PIC flag -fPIC works... yes
>> checking if f77 static flag -static works... yes
>> checking if f77 supports -c -o file.o... yes
>> checking whether the f77 linker (/usr/bin/ld) supports shared
>> libraries...
>> yes
>> checking dynamic linker characteristics... /usr/bin/f77: Illegal option:
>> -print-search-dirs
>> GNU/Linux ld.so
>> checking how to hardcode library paths into programs... immediate
>> checking sys/dg_sys_info.h usability... no
>> checking sys/dg_sys_info.h presence... no
>> checking for sys/dg_sys_info.h... no
>> checking whether Solaris gcc optimization fix is necessary... no
>> checking atomic_ops.h usability... no
>> checking atomic_ops.h presence... no
>> checking for atomic_ops.h... no
>> configure: error: Missig libatomic_ops.
>> 
>> Can someone help?
>> 
>> Thanks
>> Ismael
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> http://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Error-when-installing-Boost-tp30015069p30016337.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


[Discuss-gnuradio] Error when installing Boost

2010-10-20 Thread ish13

I get an error with I use ./configure when I am installing boost.  The
following commands are entered in the terminal when I am installing.

cd boost_1_44_0
BOOST_PREFIX=/opt/boost_1_44_0
./tools/jam/src/boehm_gc/configure --prefix=$BOOST_PREFIX
--with-libraries=thread,date_time,program_options

confchecking if f77 PIC flag -fPIC works... yes
checking if f77 static flag -static works... yes
checking if f77 supports -c -o file.o... yes
checking whether the f77 linker (/usr/bin/ld) supports shared libraries...
yes
checking dynamic linker characteristics... /usr/bin/f77: Illegal option:
-print-search-dirs
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking sys/dg_sys_info.h usability... no
checking sys/dg_sys_info.h presence... no
checking for sys/dg_sys_info.h... no
checking whether Solaris gcc optimization fix is necessary... no
checking atomic_ops.h usability... no
checking atomic_ops.h presence... no
checking for atomic_ops.h... no
configure: error: Missig libatomic_ops.

Can someone help?

Thanks
Ismael

-- 
View this message in context: 
http://old.nabble.com/Error-when-installing-Boost-tp30015069p30015069.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


[Discuss-gnuradio] Usrp Runtime Error

2010-08-18 Thread ish13

Hi, I am using the usrp_wfm_rcv_nogui program to listen to FM radio.  I have
also added code to the program so that I can perform a scan, for stations in
my area.  My code works by first creating a usrp_source() for the FM code. 
When I want to scan for stations I press a button on my keyboard and then it
stops the fm code from running by using tb.stop().  I then remove the
flowgraph from tb so that the usrp source is not in use.  The code then
creates a new usrp_source() and scans frequency band.  I then stop the scan
code with scan.stop().  The code then does the same procedure as the FM code
did to stop the source.  When I return back to start the FM code again I get
a RunTimeError: can't open usrp.  I don't understand why I am getting this
error if I have used the source once, stop that source, removed the source
and then created a new one.  Help is greatly appreciated. 
-- 
View this message in context: 
http://old.nabble.com/Usrp-Runtime-Error-tp29473867p29473867.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


Re: [Discuss-gnuradio] getting FM radio signal strength

2010-07-28 Thread ish13

Ok I will look into that. Another question... I am not sure if you have seen
the code for the usrp_wfm_rcv.py code but in the code there is a little
section where it builds a FFT plot and displays the date.  Do you know if
there is anyway of getting the data that it is plotting?  

Thanks


ish13 wrote:
> 
> Is there any way I can get the signal strength from a radio station that
> it is being tuned into?  I am trying to implement a scan mode so I can get
> all the FM stations.
> 

-- 
View this message in context: 
http://old.nabble.com/getting-FM-radio-signal-strength-tp29281935p29288173.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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


[Discuss-gnuradio] getting FM radio signal strength

2010-07-27 Thread ish13

Is there any way I can the signal strength from a radio station that it is
tuning into?  I am trying to implement a scan mode so I can get all the FM
stations.
-- 
View this message in context: 
http://old.nabble.com/getting-FM-radio-signal-strength-tp29281935p29281935.html
Sent from the GnuRadio mailing list archive at Nabble.com.


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