[srslte-users] ZeroMQ interface with gnuradio: couldn't update sample rate
Ellory D Freneau
efreneau at uw.edu
Wed Apr 8 17:57:45 UTC 2020
Hello,
I am trying pass IQ samples through gnuradio into a zmq socket and have srsLTE demodulate from that socket. I found a slide deck online about someone doing something like this but I can't seem to get this working. I pass the zeromq test in make test and I can see the packets sent from gnuradio in wireshark. I think my leading error is "couldn't update sample rate". I am very stuck.
gnuradio flowgraph: https://imgur.com/a/ZAnd052
ue.conf: https://pastebin.com/rm3bzLnY
srsue --rf.device_name zmq --rf.device_args "rx_port=tcp://127.0.0.1:5554<http://127.0.0.1:5554>,tx_port=tcp://127.0.0.1:5555<http://127.0.0.1:5555>,id=0,base_srate=125.085e6"
Reading configuration file /home/ef/.config/srslte/ue.conf...
Built in Release mode using commit d045213 on branch master.
Opening 1 RF devices with 1 RF channels...
Using base rate=125.085e6
Using ID=0
Error: couldn't update sample rate. 1.92 is not divisible by 125.08
Current sample rate is 0.00 MHz with a base rate of 125.08 MHz (x0 decimation)
Channel 0. Using rx_port=tcp://127...1:5554
Channel 0. Using tx_port=tcp://127...1:5555
Error: connecting transmitter socket: No such device
[zmq] Error: opening transmitter
/home/ef/srsLTE/lib/src/radio/radio.cc.36: Error opening RF device
Failed to find device zmq with args ,,,
Error initializing radio.
Waiting PHY to initialize ... Warning: Failed to create thread with real-time priority. Creating it with normal priority: Success
Warning: Failed to create thread with real-time priority. Creating it with normal priority: Success
Warning: Failed to create thread with real-time priority. Creating it with normal priority: Success
terminate called after throwing an instance of 'std::out_of_range'
what(): vector::_M_range_check: __n (which is 0) >= this->size() (which is 0)
srsLTE crashed... backtrace saved in './srsLTE.backtrace.crash'...
--- exiting ---
Thanks,
Ellory Freneau (KI7ZWX)
M.S. ECE Student
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20200408/da8595a6/attachment.htm>
More information about the srsran-users
mailing list