How would uhd_spectrum_sense know your location? On 06/10/2015 04:04 PM, Ashraf Younis wrote: > *usrp_spectrum_sense.py > > On Wed, Jun 10, 2015 at 10:03 AM, Ashraf Younis <[email protected] > <mailto:[email protected]>> wrote: > > Thank you. i ran uhd_spectrum_sense.py and it helped alot. I am > now in the process of getting it to also print out the location in > longitude, latitude, and altitude. > > On Tue, Jun 9, 2015 at 5:19 PM, Chris Kuethe > <[email protected] <mailto:[email protected]>> wrote: > > 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 uhd_spectrum_sense.py 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 > uhd_spectrum_sense.py. > > > On Tue, Jun 9, 2015 at 2:04 PM, Ashraf Younis > <[email protected] <mailto:[email protected]>> wrote: > > Thank you for responding. I'm new to all of this, including > database. I am > > 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 through the > > example tutorials. > > > > On Tue, Jun 9, 2015 at 4:58 PM, Chris Kuethe > <[email protected] <mailto:[email protected]>> wrote: > >> > >> 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 > >> it? > >> - 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 > >> database? > >> > >> On Tue, Jun 9, 2015 at 1:43 PM, Ashraf Younis > <[email protected] <mailto:[email protected]>> wrote: > >> > 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 > >> > have > >> > 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 > >> > database? > >> > I tried using a TCP Sink, mode: Client but nothing > happens and mode: > >> > Server > >> > gives me an error. > >> > > >> > _______________________________________________ > >> > Discuss-gnuradio mailing list > >> > [email protected] <mailto:[email protected]> > >> > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > >> > > >> > >> > >> > >> -- > >> GDB has a 'break' feature; why doesn't it have 'fix' too? > > > > > > > > -- > GDB has a 'break' feature; why doesn't it have 'fix' too? > > > > > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
