Sending data to a server

I’m trying to send my recordings from a USRP Source(hardware: NI B200)
to a
database I set up. I have been searching the internet for hours and I
come up with nothing. There was one post that mentioned it, but only the
fact that there is a way to have MySQL and GRC working together. Is
there a
way to have the data output from a UHD: USRP Source go to a MySQL
I tried using a TCP Sink, mode: Client but nothing happens and mode:
gives me an error.

Yeah, write a script to insert it into a database. Start by importing
gr and pyodbc…

Which is just about as unhelpful as your question. But seriously:

  • what do you intend to record? (raw samples, filtered signal, decoded
    messages, …)
  • how much data do you plan to record, and how long do you need to store
  • do you need to store any metadata? (frequency, bandwidth, time,
    location, …)
  • what does your database schema look like?
  • how do you plan on retrieving the recordings from the database?
  • what do you plan on doing with the recording after you get it from
    the database?
  • are you maybe doing it wrong? would it make more sense to just store
    capture files on disk, and keep metadata (including filename) in the

On Tue, Jun 9, 2015 at 1:43 PM, Ashraf Y. [email protected]

[email protected]

GDB has a ‘break’ feature; why doesn’t it have ‘fix’ too?

Thank you for responding. I’m new to all of this, including database. I
recording what you called metadata; time, location, frequency, power for
about 30 minutes. I think that also answer the question about schema. I
just started learning how to write functions in python, and I went
the example tutorials.

That doesn’t necessarily answer the question about schema - you could
have a whole bunch of columns, one for each frequency bin across a
band, or a shorter record of power level on a frequency at a
particular time.

Have a look at for a start. It emits text
records with many of these measurements - try write a script to parse
the output and stash it into a database. When you get that working
you’ll probably understand how to add database logging to

On Tue, Jun 9, 2015 at 2:04 PM, Ashraf Y. [email protected]

the database?

fact that there is a way to have MySQL and GRC working together. Is

GDB has a ‘break’ feature; why doesn’t it have ‘fix’ too?

GDB has a ‘break’ feature; why doesn’t it have ‘fix’ too?

Thank you. i ran and it helped alot. I am now in
process of getting it to also print out the location in longitude,
latitude, and altitude.


How would uhd_spectrum_sense know your location?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs