Re: [USRP-users] missing rx_freq tags when frequency changes

2017-11-07 Thread Gilad Beeri (ApolloShield) via USRP-users
Hi David, UHD should write that rx_freq tag whenever you change the frequency. Maybe others will know to explain why it doesn't. Which GR version are you using? Open usrp_source_impl.cc and verify that your version has `_tag_now = true` in `set_center_freq()` and that `work()` responds to that

[USRP-users] missing rx_freq tags when frequency changes

2017-11-07 Thread David Rose via USRP-users
I'm programming a USRP B200mini-i in Python. When the receiver starts up, it automatically inserts a 'rx_freq' tag into the stream. In my application I periodically change the receiver frequency using a command such as: self.uhd_usrp_source_0.set_center_freq(self.rf_freq, 0). This does

Re: [USRP-users] TX power levels. Long term exposure.

2017-11-07 Thread Kevin Hung via USRP-users
Now I am very tempted to try it out and see how many coworkers believe the metal hat. On Tue, Nov 7, 2017 at 3:31 PM, Dan CaJacob wrote: > It's a joke :) > > On Tue, Nov 7, 2017 at 2:21 PM Kyeong Su Shin via USRP-users < > usrp-users@lists.ettus.com> wrote: > >> It will

Re: [USRP-users] API for PPS input validation

2017-11-07 Thread Rob Kossler via USRP-users
Dario, Perhaps with the time source set to external, you can just check the time of the last PPS (get_time_last_pps) and if it's more than 1 sec old (relative to get_time_now), there is no PPS detected. Rob On Tue, Nov 7, 2017 at 11:02 AM, Dario Fertonani via USRP-users <

[USRP-users] Phantom USRP X300 Detections from uhd::device::find

2017-11-07 Thread Perelman, Nathan via USRP-users
My application runs uhd::device::find() (with no arguments) every 5 seconds or so to detect when a user has plugged in a new USRP. Rarely (on the order of once or twice per day), this reports detecting an X300 with an IP address matching the IP address of the computer the application is running

Re: [USRP-users] TX power levels. Long term exposure.

2017-11-07 Thread Kyeong Su Shin via USRP-users
It will act as a RF shield. (see: https://en.wikipedia.org/wiki/Electromagnetic_shielding ) Not a recommended way to protect yourself from strong EM waves, but it does make a good joke. Regards, Kyeong Su Shin On Tue, Nov 7, 2017 at 11:01 AM, Kevin Hung via USRP-users <

Re: [USRP-users] C API call in Windows fails with no last_error

2017-11-07 Thread Sivan Toledo via USRP-users
I think I resolved it; must specify num_samps in the struct (as 0) even if you want to stream continuously. On Tue, Nov 7, 2017 at 1:21 PM, Sivan Toledo wrote: > Before this code runs, the TX antenna is set to TX/RX, the RX antenna to > RX2. The radio is a B200. > > On Tue,

Re: [USRP-users] C API call in Windows fails with no last_error

2017-11-07 Thread Sivan Toledo via USRP-users
More progress: there is no error message but the error code is 40 ( UHD_ERROR_ASSERTION = 40) On Tue, Nov 7, 2017 at 1:18 PM, Sivan Toledo wrote: > A bit of

Re: [USRP-users] API for PPS input validation

2017-11-07 Thread Dario Fertonani via USRP-users
On B210, the function get_mboard_sensor_names( ) returns only "ref_locked" (output confirmed by "uhd_usrp_probe"), so it seems the answer to the question in this thread is negative. Can anybody please confirm whether this is correct? It would be very useful to know if the PPS signal input is

Re: [USRP-users] UBX-160 with X310 communication issue

2017-11-07 Thread Mark Koenig via USRP-users
I would like to revisit this topic….the more I delve into this, it seems that the communications change came when I moved from working with the N210 to the X310. A stark difference I notice between the N20 and X310 is the time it takes for a ping to respond. The N210 ping is a little erratic

Re: [USRP-users] C API call in Windows fails with no last_error

2017-11-07 Thread Sivan Toledo via USRP-users
A bit of progress. The error_string might have been used by two threads, so I allocated a new buffer for error messages in the thread that starts streaming and receives samples. This revealed the error message: TX/RX. What is is error? On Tue, Nov 7, 2017 at 1:06 PM, Sivan Toledo

[USRP-users] C API call in Windows fails with no last_error

2017-11-07 Thread Sivan Toledo via USRP-users
Hi, I've ported a code from the C++ API to the C API; it runs okay on Linux but fails on Windows. The failure occurs at the function: void radioRxStartStreaming(void) { uhd_stream_cmd_t stream_cmd; size_t n; uhd_rx_streamer_max_num_samps(rx_stream, ); fprintf(stderr,"### UHD max samples

[USRP-users] Cross compiling uhd+rfnoc for use on e310, bulds and installs but fails when used

2017-11-07 Thread Jack Ziegler via USRP-users
I've been struggling with the exact same bug with uhd on the e310. I'm trying to compile it to use RFNOC. Has a fix for this been resolved? I'm new to using the e310 and have no idea how to get past this. Unlike the the original poster, I am unable to run anything with uhd, the examples stop