[Discuss-gnuradio] Probe Avg Mag^2 - Display/Store values

2018-11-11 Thread ALEJANDRO RAMIRO MUNOZ
Hey all!

I'm newly using GNU Radio with a HackRF SDR as source and *I want to
visualice power values of a certain frequency and store them in a file* for
later processing in MATLAB.

I've seen in some example flowgraphs, like the one attached, there's a
"Probe Avg Mag^2" box, but I don't how it works, does it store the power
values somewhere? How can I visualize those values? Is there any other
block for that purpose?

Thank you so much in advance,
Cheers!

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


[Discuss-gnuradio] Passing specific range of I/p signal to o/p

2018-11-11 Thread Ayaz Mahmud
Hi,

Before creating a new OOT, wanted to be sure if any related block exists for 
below case:

Repetitive case:
Input signal is : [1,2,3,4………40]
Output signal should be: [21,22,23….30]

Values can be random here, but I want to pass only the position [20:30] out of 
40.

I have tried with “Keep M in N” block and “Skip Head” block, but this does not 
satisfy the case.
Also is there any way where I can do opposite of “Keep M in N” block. For 
example : keep the last M values instead of first ?

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


Re: [Discuss-gnuradio] Packet decoder does not output the last packet

2018-11-11 Thread Cinaed Simson
I wouldn't change the packet size on the udp sink - it wasn't 16 in the
simulation - and even if it was I wouldn't mess with the defaults settings.

Also you have a plumbing problem between packet encoder and gmk mod -
the samples/symbol should be equal.

And I wouldn't use the packet encoded - I would just use a steam to
tagged stream block.

On the low pass filter, I would set it to "Bypass" - fiddle with LPF
later if needed.

And last but not least, I would recommend using the zmq sources and
sinks instead of the udp sources and sinks - I think they're easier.

If you do decided to use zmq, just use the default protocol - namely,
tcp until you're comfortable using it.

See

  http://zeromq.org/docs:features

I don't know anything about your source, but enclosed is the way I would
do it based on my biases and prejudices - using a random GFLSR source
instead.

In the end, I compare the input of the source to the output of the gmsk
demod.

-- Cinaed




On 11/11/2018 09:44 AM, Williams, Diane wrote:
> In a very gnuradio simple simulation, flowgraph shown in attached image
> simple_udp_simulation, all packets sent to the UDP source are received
> by the UDP sink and sent out to a connected UDP socket server program.
> 
> When adding the other processing blocks to the simulation, attached
> image udp_packet_encoder_gmsk_simulation, the last packet is received by
> the UDP source, but not by the UDP sink. That last packet never is
> output by the packet decoder. If I send one extra packet through, a
> dummy packet of the same length, then I get my last valid packet. I can
> do this and handle it in post-processing, if needed, when later that
> dummy packet, flows through, but I would appreciate knowing why the
> packet decoder hangs onto the last packet.
> 
> I see the packet encoder/decoder deprecation warnings, but have not yet
> found a working example for other means of encoding and decoding.
> 
> I am using Ubuntu 18.04 gnuradio packages 3.7.11
> 
> Thank you.
> 
> 
> 
> Diane Williams
> Senior Professional Research Assistant, Electrical Engineering
> University of Colorado Denver
> 
> 
> ___
> Discuss-gnuradio mailing list
> Discuss-gnuradio@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
> 




  Mon Jan 12 13:10:48 2015
  
options

  author
  


  window_size
  1280, 1024


  category
  Custom


  comment
  


  description
  


  _enabled
  True


  _coordinate
  (16, 11)


  _rotation
  0


  generate_options
  qt_gui


  hier_block_src_path
  .:


  id
  my_gmfsk_zmq_test


  max_nouts
  0


  qt_qss_theme
  


  realtime_scheduling
  


  run_command
  {python} -u {filename}


  run_options
  prompt


  run
  True


  sizing_mode
  fixed


  thread_safe_setters
  


  title
  


  placement
  (0,0)

  
  
variable_qtgui_range

  comment
  


  value
  0


  _enabled
  1


  _coordinate
  (8, 264)


  gui_hint
  


  _rotation
  0


  id
  delay


  label
  Delay


  min_len
  200


  orient
  Qt.Horizontal


  start
  0


  step
  1


  stop
  200


  rangeType
  int


  widget
  counter_slider

  
  
variable

  comment
  


  _enabled
  True


  _coordinate
  (16, 115)


  _rotation
  0


  id
  samp_rate


  value
  2**15

  
  
variable

  comment
  


  _enabled
  1


  _coordinate
  (16, 188)


  _rotation
  0


  id
  sps


  value
  16

  
  
blocks_char_to_float

  alias
  


  comment
  


  affinity
  


  _enabled
  1


  _coordinate
  (952, 484)


  _rotation
  0


  id
  blocks_char_to_float_0_0_0


  maxoutbuf
  0


  minoutbuf
  0


  scale
  1


  vlen
  1

  
  
blocks_char_to_float

  alias
  


  comment
  


  affinity
  


  _enabled
  1


  _coordinate
  (944, 580)


  _rotation
  0


  id
  blocks_char_to_float_0_0_0_0


  maxoutbuf
  0


  minoutbuf
  0


  scale
  1


  vlen
  1

  
  
   

[Discuss-gnuradio] existing GUI for gnuradio?

2018-11-11 Thread Doug

Hi, all--

I am new to gnuradio. I have an RTL+SDR module that includes a mixer and 
a 100 MHz oscillator to tune 100 KHz to 1.7 GHz, with a solid state 
switch and filters, using "R829T2 Tuner"--


this printed on a yellow tag--on a block called SDR.RTL 2832 UNIT.

I looked at the introductory information, but it is really no help to 
me. I haven't coded anything in over 20 years, and then in Pascal and 
BASIC, and I did look at Python some years ago,


but decided that anything that depended on specific indents was not for 
me. I might add that I am now 81 years old.  I did RF engineering, not 
software, when I was employed.


I would really*really* like an on-screen GUI which would allow me to see 
a spectrum of signals, tune to one and listen to it in CW, SSB, NBFM or 
WBFM. If guiradio has such an app


pre-existing that will run on an rpm-based Linux machine, I would like 
to have a copy, please. If only in DEB format, I will try to convert it 
via alien.


If guiradio does not have such an app, do you folks know of any Linux 
program that does? (I know that there are all sorts of Windows programs, 
but I'm trying to avoid Windows and


all its keep-outs and problems.)

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


Re: [Discuss-gnuradio] existing GUI for gnuradio?

2018-11-11 Thread Anon Lister
Check out gqrx, it uses gnuradio behind the scenes and should do what you
want. It should be in the repos assuming your using something like Debian
or Ubuntu.

On Sun, Nov 11, 2018, 19:44 Doug  Hi, all--
>
> I am new to gnuradio. I have an RTL+SDR module that includes a mixer and a
> 100 MHz oscillator to tune 100 KHz to 1.7 GHz, with a solid state switch
> and filters, using "R829T2 Tuner"--
>
> this printed on a yellow tag--on a block called SDR.RTL 2832 UNIT.
>
> I looked at the introductory information, but it is really no help to me.
> I haven't coded anything in over 20 years, and then in Pascal and BASIC,
> and I did look at Python some years ago,
>
> but decided that anything that depended on specific indents was not for
> me. I might add that I am now 81 years old.  I did RF engineering, not
> software, when I was employed.
>
> I would really* really* like an on-screen GUI which would allow me to see
> a spectrum of signals, tune to one and listen to it in CW, SSB, NBFM or
> WBFM. If guiradio has such an app
>
> pre-existing that will run on an rpm-based Linux machine, I would like to
> have a copy, please. If only in DEB format, I will try to convert it via
> alien.
>
> If guiradio does not have such an app, do you folks know of any Linux
> program that does? (I know that there are all sorts of Windows programs,
> but I'm trying to avoid Windows and
>
> all its keep-outs and problems.)
>
> Thanx--doug
> ___
> 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] existing GUI for gnuradio?

2018-11-11 Thread Doug


On 11/11/2018 07:59 PM, Anon Lister wrote:
Check out gqrx, it uses gnuradio behind the scenes and should do what 
you want. It should be in the repos assuming your using something like 
Debian or Ubuntu.


On Sun, Nov 11, 2018, 19:44 Doug  wrote:


Hi, all--

I am new to gnuradio. I have an RTL+SDR module that includes a
mixer and a 100 MHz oscillator to tune 100 KHz to 1.7 GHz, with a
solid state switch and filters, using "R829T2 Tuner"--

this printed on a yellow tag--on a block called SDR.RTL 2832 UNIT.

I looked at the introductory information, but it is really no help
to me. I haven't coded anything in over 20 years, and then in
Pascal and BASIC, and I did look at Python some years ago,

but decided that anything that depended on specific indents was
not for me. I might add that I am now 81 years old.  I did RF
engineering, not software, when I was employed.

I would really*really* like an on-screen GUI which would allow me
to see a spectrum of signals, tune to one and listen to it in CW,
SSB, NBFM or WBFM. If guiradio has such an app

pre-existing that will run on an rpm-based Linux machine, I would
like to have a copy, please. If only in DEB format, I will try to
convert it via alien.

If guiradio does not have such an app, do you folks know of any
Linux program that does? (I know that there are all sorts of
Windows programs, but I'm trying to avoid Windows and

all its keep-outs and problems.)

Thanx--doug

I should have said gnuradio, not guiradio. I've been recommended to GQRX 
or sdrsharp.


Anyway, GQRX comes with dependency hell on PCLinuxOS, and sdrsharp is 
not findable at all. (I'm looking at the site rpmfind.)



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


Re: [Discuss-gnuradio] existing GUI for gnuradio?

2018-11-11 Thread Marcus D. Leech

On 11/11/2018 09:54 PM, Doug wrote:


On 11/11/2018 07:59 PM, Anon Lister wrote:
Check out gqrx, it uses gnuradio behind the scenes and should do what 
you want. It should be in the repos assuming your using something 
like Debian or Ubuntu.


On Sun, Nov 11, 2018, 19:44 Doug  wrote:


Hi, all--

I am new to gnuradio. I have an RTL+SDR module that includes a
mixer and a 100 MHz oscillator to tune 100 KHz to 1.7 GHz, with a
solid state switch and filters, using "R829T2 Tuner"--

this printed on a yellow tag--on a block called SDR.RTL 2832 UNIT.

I looked at the introductory information, but it is really no
help to me. I haven't coded anything in over 20 years, and then
in Pascal and BASIC, and I did look at Python some years ago,

but decided that anything that depended on specific indents was
not for me. I might add that I am now 81 years old.  I did RF
engineering, not software, when I was employed.

I would really*really* like an on-screen GUI which would allow me
to see a spectrum of signals, tune to one and listen to it in CW,
SSB, NBFM or WBFM. If guiradio has such an app

pre-existing that will run on an rpm-based Linux machine, I would
like to have a copy, please. If only in DEB format, I will try to
convert it via alien.

If guiradio does not have such an app, do you folks know of any
Linux program that does? (I know that there are all sorts of
Windows programs, but I'm trying to avoid Windows and

all its keep-outs and problems.)

Thanx--doug

I should have said gnuradio, not guiradio. I've been recommended to 
GQRX or sdrsharp.


Anyway, GQRX comes with dependency hell on PCLinuxOS, and sdrsharp is 
not findable at all. (I'm looking at the site rpmfind.)



SDRSharp is windows-only.

Just looked at the repos for recent PCLOS.They've apparently 
packaged Gnu Radio + friends, but NOT gqrx.  Which is a bit odd these days.
  But the people to complain to about that might be whoever the 
packaging managers are for PCLOS.



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


Re: [Discuss-gnuradio] Probe Avg Mag^2 - Display/Store values

2018-11-11 Thread Cinaed Simson
The fragment of the flowchart you sent was for a USRP.

For the HackRF, you need to use the Osmocom Source.

See the HackRF tutorials at

  https://greatscottgadgets.com/sdr/

which should get your started with Gnuradio and the HackRF.

And then the Gnuradio tutorials at

  https://wiki.gnuradio.org/index.php/Tutorials

for advance topics.

The bottom line is you can only calculate the relative power - see the
FAQ at

  https://wiki.gnuradio.org/index.php/FAQ

-- Cinaed


On 11/11/2018 04:45 AM, ALEJANDRO RAMIRO MUNOZ wrote:
> Hey all!
> 
> I'm newly using GNU Radio with a HackRF SDR as source and *I want to
> visualice power values of a certain frequency and store them in a file*
> for later processing in MATLAB.
> 
> I've seen in some example flowgraphs, like the one attached, there's a
> "Probe Avg Mag^2" box, but I don't how it works, does it store the power
> values somewhere? How can I visualize those values? Is there any other
> block for that purpose?
> 
> Thank you so much in advance,
> Cheers!
> 
> Alejandro
> 
> 
> 
> 
> 
> ___
> 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