Re: [USRP-users] sc16 - complex to numpy float

2019-09-06 Thread GhostOp14 via USRP-users
Here's a way in Python you can pull in SC16 and recover the FC32 from a file. It'll scale the values from the INT16_MAX back to -1.0 to 1.0 too in one shot. import numpy file="somefile.iq" dat = numpy.fromfile(file, dtype=numpy.int16) data = dat[0::2]/32767.0 + 1j*dat[1::2]/32767.0 # ::02 says

Re: [USRP-users] How to periodically write files using USRP and GNUradio

2019-05-05 Thread GhostOp14 via USRP-users
arameter in the advanced file sink. >>> >>> Overall, this solution is very good and eliminates a lot of variables >>> from our experiments. All of our USRP devices are initialized once and >>> constantly stream data (only some of which is saved). Our phase calibration

Re: [USRP-users] How to periodically write files using USRP and GNUradio

2019-05-02 Thread GhostOp14 via USRP-users
hub. My own custom >> embedded python block was inelegant and inconsistent. >> >> Cheers, >> >> Ali >> >> >> On Wed, May 1, 2019 at 6:19 AM GhostOp14 via USRP-users < >> usrp-users@lists.ettus.com> wrote: >> >>> Morning everyon

Re: [USRP-users] How to periodically write files using USRP and GNUradio

2019-05-01 Thread GhostOp14 via USRP-users
. > > Thank you again for providing these oot blocks on Github. My own custom > embedded python block was inelegant and inconsistent. > > Cheers, > > Ali > > > On Wed, May 1, 2019 at 6:19 AM GhostOp14 via USRP-users < > usrp-users@lists.ettus.com> wrote: >

Re: [USRP-users] How to periodically write files using USRP and GNUradio

2019-05-01 Thread GhostOp14 via USRP-users
Morning everyone, not sure my note yesterday hit the list correctly so I'm trying again. Mark: I have a solution for you. I added a new block yesterday to gr-filerepeater (pybombs or github). There's now a state timer block that'll generate a message based on block-specified timing. Trigger

[USRP-users] Fwd: How to periodically write files using USRP and GNUradio

2019-04-30 Thread GhostOp14 via USRP-users
Hi Mark, If you look at gr-filerepeater (https://github.com/ghostop14/gr-filerepeater or from pybombs), I just recently added an advanced file sink to the module. One thing it has is a message port that you can pass a state key in the metadata to (1 to record, 0 to stop).The block will also

Re: [USRP-users] RFNoC On B210

2018-06-29 Thread GhostOp14 via USRP-users
I second RFNoC for the B series would be great. They're an incredibly popular and affordable series and I feel a little left out of the capabilities of RFNoC due to the Spartan6. Bringing the Artix to the B-series or supporting the Spartan6 could both be options I'd love to see. (Just a

Re: [USRP-users] USRP B-Series Issue with USB LTE Adapter Connected

2018-06-26 Thread GhostOp14 via USRP-users
TE adapter". > > > > On Sun, Jun 24, 2018 at 5:24 PM, Marcus D. Leech via USRP-users < > usrp-users@lists.ettus.com> wrote: > >> On 06/24/2018 04:25 PM, GhostOp14 via USRP-users wrote: >> >>> Hi folks, >>> >>> I have a weird issue I've

Re: [USRP-users] USRP B-Series Issue with USB LTE Adapter Connected

2018-06-25 Thread GhostOp14 via USRP-users
a USRP-users < > usrp-users@lists.ettus.com> wrote: > >> On 06/24/2018 04:25 PM, GhostOp14 via USRP-users wrote: >> >>> Hi folks, >>> >>> I have a weird issue I've been attempting to troubleshoot for a bit and >>> I'm stuck. >>>

[USRP-users] USRP B-Series Issue with USB LTE Adapter Connected

2018-06-24 Thread GhostOp14 via USRP-users
Hi folks, I have a weird issue I've been attempting to troubleshoot for a bit and I'm stuck. So setup: USRP B205 connected to a Raspberry Pi 3 (so USB 2 mode) Huawei E3372 USB LTE adapter connected as well Running the latest Raspbian (stretch) Problem: I'm using C++ code to read stream blocks