Hi Marcus, Thank you for your email. I forgot to add my port to the xml file. Its fixed now.
On Wed, Apr 5, 2017 at 11:00 AM, <[email protected]> wrote: > Send Discuss-gnuradio mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > or, via email, send a message with subject or body 'help' to > [email protected] > > You can reach the person managing the list at > [email protected] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Discuss-gnuradio digest..." > > > Today's Topics: > > 1. How to add project to CGRAN (Maxime Lastera) > 2. Re: How to add project to CGRAN (Marcus M?ller) > 3. GNU Radio/No Devices Found (NI USRP-2920) (bup487) > 4. Re: GNU Radio/No Devices Found (NI USRP-2920) (Derek Kozel) > 5. Re: GNU Radio/No Devices Found (NI USRP-2920) (Marcus D. Leech) > 6. Re: GNU Radio/No Devices Found (NI USRP-2920) (bup487) > 7. Re: GNU Radio/No Devices Found (NI USRP-2920) (Marcus M?ller) > 8. Adding command port to OFDM Allocator Block (Qurat-Ul-Ann Akbar) > 9. Re: Adding command port to OFDM Allocator Block (Marcus M?ller) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Tue, 4 Apr 2017 20:01:19 +0200 > From: Maxime Lastera <[email protected]> > To: [email protected] > Subject: [Discuss-gnuradio] How to add project to CGRAN > Message-ID: > <CAAXDBk=3exb8-YBdzX7mZbKHWJEnu-_U5pwMFT0nF_8ghEoZ= > [email protected]> > Content-Type: text/plain; charset="utf-8" > > Hi every body, > > Do you know where I can found information to add our own project to CGRAN? > > I don't see any information about that on GNURADIO website. > > Regards > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.gnu.org/archive/html/discuss-gnuradio/ > attachments/20170404/86ebf336/attachment.html> > > ------------------------------ > > Message: 2 > Date: Tue, 4 Apr 2017 20:05:26 +0200 > From: Marcus M?ller <[email protected]> > To: [email protected] > Subject: Re: [Discuss-gnuradio] How to add project to CGRAN > Message-ID: <[email protected]> > Content-Type: text/plain; charset="windows-1252" > > Hi Maxime > > Write a recipe for PyBOMBS, make a Pull Request on Github to get it into > the gr-etcetera repo :) > > Best regards, > > Marcus > > > On 04/04/2017 08:01 PM, Maxime Lastera wrote: > > Hi every body, > > > > Do you know where I can found information to add our own project to > CGRAN? > > > > I don't see any information about that on GNURADIO website. > > > > Regards > > > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.gnu.org/archive/html/discuss-gnuradio/ > attachments/20170404/fdec7108/attachment.html> > > ------------------------------ > > Message: 3 > Date: Tue, 4 Apr 2017 11:49:29 -0700 (MST) > From: bup487 <[email protected]> > To: [email protected] > Subject: [Discuss-gnuradio] GNU Radio/No Devices Found (NI USRP-2920) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Two programs, MATLAB and GNU Radio, are giving me different results when > searching for the USRP on my network. > My setup is Laptop -> Wired Ethernet -> Switch -> NI USRP-2920. > > MATLAB can detect the USRP device, while GNU Radio throws an error whenever > it tries to identify the USRP device at 192.168.10.3. > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_001.jpg> > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_002.jpg> > > My computer is configured with the static IP address 192.168.10.1. I'm > using Windows 10 for this setup. I recently downloaded the automated > NI-USRP driver software. Apparently, this software updates the USRP image > to > the latest firmware. Installing new firmware onto the USRP had no effect on > the error message. > > How do I get GNU radio to detect my USRP device? > > If there is any help, I'd be very grateful. > > Thanks! > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_003.jpg> > > > > > -- > View this message in context: http://gnuradio.4.n7.nabble. > com/GNU-Radio-No-Devices-Found-NI-USRP-2920-tp63451.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 4 > Date: Tue, 4 Apr 2017 12:14:04 -0700 > From: Derek Kozel <[email protected]> > To: bup487 <[email protected]> > Cc: GNURadio Discussion List <[email protected]> > Subject: Re: [Discuss-gnuradio] GNU Radio/No Devices Found (NI > USRP-2920) > Message-ID: > <CAA+K=tv8DW7wkOBQr9M8EW2ajvw39V-7qaHj_61wU3AQpkG5zQ@mail. > gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hello, > > I recommend joining the USRP users mailing list and asking your question > there. MATLAB and the Windows GNU Radio install both include their own UHD > drivers so this is likely a conflict between those two and the FPGA version > you have just loaded using the NI-USRP utility. These are three separate > environments, each with their own requirements about the UHD and FPGA > images. We would need to see more of the output for each tool. Can you > please copy and paste the full output from running uhd_find_devices which > is included in the GNU Radio install? > > http://lists.ettus.com/mailman/listinfo/usrp-users_lists.ettus.com > > Regards, > Derek > > > On Tue, Apr 4, 2017 at 11:49 AM, bup487 <[email protected]> wrote: > > > Two programs, MATLAB and GNU Radio, are giving me different results when > > searching for the USRP on my network. > > My setup is Laptop -> Wired Ethernet -> Switch -> NI USRP-2920. > > > > MATLAB can detect the USRP device, while GNU Radio throws an error > whenever > > it tries to identify the USRP device at 192.168.10.3. > > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_001.jpg> > > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_002.jpg> > > > > My computer is configured with the static IP address 192.168.10.1. I'm > > using Windows 10 for this setup. I recently downloaded the automated > > NI-USRP driver software. Apparently, this software updates the USRP image > > to > > the latest firmware. Installing new firmware onto the USRP had no effect > on > > the error message. > > > > How do I get GNU radio to detect my USRP device? > > > > If there is any help, I'd be very grateful. > > > > Thanks! > > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_003.jpg> > > > > > > > > > > -- > > View this message in context: http://gnuradio.4.n7.nabble. > > com/GNU-Radio-No-Devices-Found-NI-USRP-2920-tp63451.html > > Sent from the GnuRadio mailing list archive at Nabble.com. > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.gnu.org/archive/html/discuss-gnuradio/ > attachments/20170404/033523d2/attachment.html> > > ------------------------------ > > Message: 5 > Date: Tue, 04 Apr 2017 15:44:20 -0400 > From: "Marcus D. Leech" <[email protected]> > To: [email protected] > Subject: Re: [Discuss-gnuradio] GNU Radio/No Devices Found (NI > USRP-2920) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=windows-1252; format=flowed > > On 04/04/2017 02:49 PM, bup487 wrote: > > Two programs, MATLAB and GNU Radio, are giving me different results when > > searching for the USRP on my network. > > My setup is Laptop -> Wired Ethernet -> Switch -> NI USRP-2920. > > > > MATLAB can detect the USRP device, while GNU Radio throws an error > whenever > > it tries to identify the USRP device at 192.168.10.3. > > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_001.jpg> > > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_002.jpg> > > > > My computer is configured with the static IP address 192.168.10.1. I'm > > using Windows 10 for this setup. I recently downloaded the automated > > NI-USRP driver software. Apparently, this software updates the USRP > image to > > the latest firmware. Installing new firmware onto the USRP had no effect > on > > the error message. > > > > How do I get GNU radio to detect my USRP device? > > > > If there is any help, I'd be very grateful. > > > > Thanks! > > <http://gnuradio.4.n7.nabble.com/file/n63451/RUBYFORUM_003.jpg> > > > > > > > Could you perhaps give us the exact text of the error message? > > MATLAB-packaged UHD and GnuRadio-compatible UHD may well have different > firmware requirements. > > Also, the firmware doesn't "take effect" until you power-cycle the device. > > Also, you should run "uhd_images_downloader" from the > Gnuradio-compatible UHD that you may have, which will identify the > version of the UHD > library you're running, and download the appropriate firmware into > your PC. Once that happens THEN you need to program the FPGA of the USRP > device with this firmware, and power-cycle. > > But again, my understanding is that MATLAB packages their own UHD > version, so if you want to use both MATLAB and Gnu Radio, you'll be in > a switching-back-and-forth mode with the firmware. > > > > > > ------------------------------ > > Message: 6 > Date: Tue, 4 Apr 2017 14:50:24 -0700 (MST) > From: bup487 <[email protected]> > To: [email protected] > Subject: Re: [Discuss-gnuradio] GNU Radio/No Devices Found (NI > USRP-2920) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=us-ascii > > Okay, here is the console for the error. Let me know if this is what you > guys > wanted to see... > <http://gnuradio.4.n7.nabble.com/file/n63454/FORUMS_002.jpg> > > I ran the "uhd_image_downloadeder" and it gave me tons of different images. > I'm assuming I'd want to install the N21x_fw and N21x_fpga files. Are there > better ones suited for the USRP-2920? > <http://gnuradio.4.n7.nabble.com/file/n63454/FORUMS_003.jpg> > > And finally, I couldn't find the program that allows me to see the images > already installed, but due to the last update of the firmware being > yesterday, I'm fairly confident these images are the ones installed > currently. > <http://gnuradio.4.n7.nabble.com/file/n63454/FORUMS_001.jpg> > > I'm concerned that the image status is reading a null value currently. > However, it still reads in MATLAB just fine. > > > Which images should I install from that repository seen in the second > picture? > > Thanks! > > > > -- > View this message in context: http://gnuradio.4.n7.nabble. > com/GNU-Radio-No-Devices-Found-NI-USRP-2920-tp63451p63454.html > Sent from the GnuRadio mailing list archive at Nabble.com. > > > > ------------------------------ > > Message: 7 > Date: Wed, 5 Apr 2017 00:04:10 +0200 > From: Marcus M?ller <[email protected]> > To: [email protected] > Subject: Re: [Discuss-gnuradio] GNU Radio/No Devices Found (NI > USRP-2920) > Message-ID: <[email protected]> > Content-Type: text/plain; charset=windows-1252 > > Hi, > > as Derek said, can you please take this to the USRP-users mailing list? > GNU Radio and UHD are different things... > > Best regards and thank you > > Marcus > > > On 04.04.2017 23:50, bup487 wrote: > > Okay, here is the console for the error. Let me know if this is what you > guys > > wanted to see... > > <http://gnuradio.4.n7.nabble.com/file/n63454/FORUMS_002.jpg> > > > > I ran the "uhd_image_downloadeder" and it gave me tons of different > images. > > I'm assuming I'd want to install the N21x_fw and N21x_fpga files. Are > there > > better ones suited for the USRP-2920? > > <http://gnuradio.4.n7.nabble.com/file/n63454/FORUMS_003.jpg> > > > > And finally, I couldn't find the program that allows me to see the images > > already installed, but due to the last update of the firmware being > > yesterday, I'm fairly confident these images are the ones installed > > currently. > > <http://gnuradio.4.n7.nabble.com/file/n63454/FORUMS_001.jpg> > > > > I'm concerned that the image status is reading a null value currently. > > However, it still reads in MATLAB just fine. > > > > > > Which images should I install from that repository seen in the second > > picture? > > > > Thanks! > > > > > > > > -- > > View this message in context: http://gnuradio.4.n7.nabble. > com/GNU-Radio-No-Devices-Found-NI-USRP-2920-tp63451p63454.html > > Sent from the GnuRadio mailing list archive at Nabble.com. > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > > > ------------------------------ > > Message: 8 > Date: Tue, 4 Apr 2017 17:41:41 -0500 > From: Qurat-Ul-Ann Akbar <[email protected]> > To: GNURadio Discussion List <[email protected]> > Subject: [Discuss-gnuradio] Adding command port to OFDM Allocator > Block > Message-ID: > <CAJwfNj2GDnKHGh0+YVeCVSz7RBx_CDhJfWJaR5-uVvOv1mN_=Q@mail. > gmail.com> > Content-Type: text/plain; charset="utf-8" > > Hi, > > I am trying to add a command port to the OFDM Allocator block in GNURadio. > The goal is for this command port to take a message every 1 ms to change > the amplitude of the complex pilot symbols. However, I can not see the port > appearing in GRC. > > I just wrote some test code to see if the port is appearing. The changes I > made are given below: > > *1)* I added this line here: > ofdm_carrier_allocator_cvc_impl::ofdm_carrier_allocator_cvc_impl > {int fft_len, > const std::vector<std::vector<int> > &occupied_carriers, > const std::vector<std::vector<int> > &pilot_carriers, > const std::vector<std::vector<gr_complex> > &pilot_symbols, > const std::vector<std::vector<gr_complex> > &sync_words, > const std::string &len_tag_key, > const bool output_is_shifted > ) : tagged_stream_block("ofdm_carrier_allocator_cvc", > io_signature::make(1, 1, sizeof (gr_complex)), > io_signature::make(1, 1, sizeof (gr_complex) * fft_len), len_tag_key), > d_fft_len(fft_len), > d_occupied_carriers(occupied_carriers), > d_pilot_carriers(pilot_carriers), > d_pilot_symbols(pilot_symbols), > d_sync_words(sync_words), > d_symbols_per_set(0), > d_output_is_shifted(output_is_shifted) > { > //MY_CHANGES > *message_port_register_in(pmt::mp("test"));* > * set_msg_handler(pmt::mp("test"), boost::bind(&mac_impl::test_in, > this, > _1));* > > > *2)* And then the function test_in is just a function printing out the > message "TESTER" > > //MY_CHANGES > *void test_in (pmt::pmt_t msg) {* > * // this must be a pair* > * int count = 0;* > * if (!pmt::is_blob(pmt::cdr(msg))) {* > * throw std::runtime_error("PMT must be blob");* > * }* > > * if(pmt::is_symbol(msg)) {* > * throw std::runtime_error("#############TESTER#########");* > *}* > *}* > > *3) *I uninstalled everything and built again. But I cant see anything in > the block. I don't see this port at the input of the block. > > Can anyone please tell me what am I doing wrong ? > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.gnu.org/archive/html/discuss-gnuradio/ > attachments/20170404/6954ea4c/attachment.html> > > ------------------------------ > > Message: 9 > Date: Wed, 5 Apr 2017 14:13:31 +0200 > From: Marcus M?ller <[email protected]> > To: [email protected] > Subject: Re: [Discuss-gnuradio] Adding command port to OFDM Allocator > Block > Message-ID: <[email protected]> > Content-Type: text/plain; charset="windows-1252" > > Hi, > > did you add the message port to the .xml file describing the block in > python? > > Greetings, > > Marcus > > > On 05.04.2017 00:41, Qurat-Ul-Ann Akbar wrote: > > Hi, > > > > I am trying to add a command port to the OFDM Allocator block in > > GNURadio. The goal is for this command port to take a message every 1 > > ms to change the amplitude of the complex pilot symbols. However, I > > can not see the port appearing in GRC. > > > > I just wrote some test code to see if the port is appearing. The > > changes I made are given below: > > > > *1)* I added this line here: > > ofdm_carrier_allocator_cvc_impl::ofdm_carrier_allocator_cvc_impl > > {int fft_len, > > const std::vector<std::vector<int> > &occupied_carriers, > > const std::vector<std::vector<int> > &pilot_carriers, > > const std::vector<std::vector<gr_complex> > &pilot_symbols, > > const std::vector<std::vector<gr_complex> > &sync_words, > > const std::string &len_tag_key, > > const bool output_is_shifted > > ) : tagged_stream_block("ofdm_carrier_allocator_cvc", > > io_signature::make(1, 1, sizeof (gr_complex)), > > io_signature::make(1, 1, sizeof (gr_complex) * fft_len), len_tag_key), > > d_fft_len(fft_len), > > d_occupied_carriers(occupied_carriers), > > d_pilot_carriers(pilot_carriers), > > d_pilot_symbols(pilot_symbols), > > d_sync_words(sync_words), > > d_symbols_per_set(0), > > d_output_is_shifted(output_is_shifted) > > { > > //MY_CHANGES > > *message_port_register_in(pmt::mp("test"));* > > * set_msg_handler(pmt::mp("test"), boost::bind(&mac_impl::test_in, > > this, _1));* > > * > > * > > * > > * > > *2)* And then the function test_in is just a function printing out the > > message "TESTER" > > > > //MY_CHANGES > > *void test_in (pmt::pmt_t msg) {* > > *// this must be a pair* > > *int count = 0;* > > *if (!pmt::is_blob(pmt::cdr(msg))) {* > > *throw std::runtime_error("PMT must be blob");* > > *}* > > * > > * > > *if(pmt::is_symbol(msg)) {* > > *throw std::runtime_error("#############TESTER#########");* > > ***}* > > *}* > > * > > * > > *3) *I uninstalled everything and built again. But I cant see anything > > in the block. I don't see this port at the input of the block. > > > > Can anyone please tell me what am I doing wrong ? > > > > > > > > > > > > _______________________________________________ > > Discuss-gnuradio mailing list > > [email protected] > > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > -------------- next part -------------- > An HTML attachment was scrubbed... > URL: <http://lists.gnu.org/archive/html/discuss-gnuradio/ > attachments/20170405/52216ac7/attachment.html> > > ------------------------------ > > Subject: Digest Footer > > _______________________________________________ > Discuss-gnuradio mailing list > [email protected] > https://lists.gnu.org/mailman/listinfo/discuss-gnuradio > > > ------------------------------ > > End of Discuss-gnuradio Digest, Vol 173, Issue 6 > ************************************************ >
_______________________________________________ Discuss-gnuradio mailing list [email protected] https://lists.gnu.org/mailman/listinfo/discuss-gnuradio
