Re: How to convert complex float file to complex int 16 in Gnuradio For USRP input...
Thanks, This means when I send a complex signal I see it on spectrum, I too send a converted signal and I see a converted signal on the spectrum. Signals are not the same... I expect that signals in two formats (format int16 or float 32 ) be the same on a spectrum. I only have a signal in two formats... The fact that your signal is all zeros seems to be a problem with your > signal; have you maybe scaled it incorrectly, so that it (correctly) gets > rounded to all 0? Can you explain how should I scale a float signal according to a block in Gnuradio? I don't know what "don't acceptable" would mean in this context. The USRP >> accepts any int16. >> >> >> The fact that your signal is all zeros seems to be a problem with your >> signal; have you maybe scaled it incorrectly, so that it (correctly) >> gets rounded to all 0? >> >> >>
How can I check Hackrf is busy or not?
in CPP driver Hackrf there is a method that can find Hackrf but is there a method that I check Hackrf is busy or idle? When I send a signal with Hackrf , Led TX after finished continue on and after 5 seconds it is off... how can I check Hackrf is busy or not? It is idle for new transmitting? devs = osmosdr::device::find();
error in building gnuradio 3.8.1 error: cannot convert ‘const nanoseconds in ubuntu 20.04
can anyone guide me on how can solve this error in building gnuradio 3.8.1 from the source.!! error: cannot convert ‘const nanoseconds’ {aka ‘const std::chrono::duration >’} to ‘const nanoseconds&’ {aka ‘const boost::chrono::duration >&’}
Error ! LaTeX Error: File `newunicodechar.sty' not found.
In building Gnuradio 3.8.1 (i need this version not a higher version) I faced a strange error Can anyone guide me? thanks in advance Scanning dependencies of target doxygen_target [ 0%] Generating documentation with doxygen ... ... This is pdfTeX, Version 3.14159265-2.6-1.40.20 (TeX Live 2019/Debian) (preloaded format=latex) restricted \write18 enabled. entering extended mode (./_formulas.tex LaTeX2e <2020-02-02> patch level 2 L3 programming layer <2020-02-14> (/usr/share/texlive/texmf-dist/tex/latex/base/article.cls Document Class: article 2019/12/20 v1.4l Standard LaTeX document class (/usr/share/texlive/texmf-dist/tex/latex/base/size10.clo)) (/usr/share/texlive/texmf-dist/tex/latex/base/ifthen.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics/epsfig.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphicx.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/keyval.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics/graphics.sty (/usr/share/texlive/texmf-dist/tex/latex/graphics/trig.sty) (/usr/share/texlive/texmf-dist/tex/latex/graphics-cfg/graphics.cfg) (/usr/share/texlive/texmf-dist/tex/latex/graphics-def/dvips.def (/usr/share/texlive/texmf-dist/tex/latex/base/inputenc.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsmath.sty For additional information on amsmath, use the `?' option. (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amstext.sty (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsgen.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsbsy.sty) (/usr/share/texlive/texmf-dist/tex/latex/amsmath/amsopn.sty)) (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amssymb.sty (/usr/share/texlive/texmf-dist/tex/latex/amsfonts/amsfonts.sty)) ! LaTeX Error: File `newunicodechar.sty' not found. Type X to quit or to proceed, or enter new name. (Default extension: sty) Enter file name:
Request for help with Comprehensive RFID module in GNU Radio on Linux
Dear GNU Radio community, I am working on a project involving RFID modules in GNU Radio on Linux. I have come across some projects, but they seem to be imperfect. I would appreciate any guidance or suggestions from the community on how to approach this problem. RFID UHF RFID 125Khz RFID 13.56MHZ Thank you in advance for your help.
Error strange: The daughterboard manager encountered a recoverable error in init.
when I want to use USRP x310 with ubx-160 and twin-rx daughterboard I have faced this strange log... The daughterboard manager encountered a recoverable error in init. Loading the "unknown" daughterboard implementations to continue. The daughterboard cannot operate until this error is resolved. when I used uhd_usrp_probe I faced that TX for UBX-160 is unknown. TX Frontend: 0 | | | * Name: Unknown (0x0094) - 0| | | Antennas:| | | Sensors:| | | Freq range: 0.000 to 0.000 MHz| | | Gain Elements: None| | | Bandwidth range: 0.0 to 0.0 step 0.0 Hz| | | Connection Type: IQ| | | Uses LO offset: No* How can solve these errors? *complete log:* uhd_usrp_probe [INFO] [UHD] linux; GNU C++ version 9.4.0; Boost_107100; UHD_4.2.0.0-0-unknown [INFO] [X300] X300 initialization sequence... [INFO] [X300] Maximum frame size: 1472 bytes. [INFO] [X300] Radio 1x clock: 200 MHz [WARNING] [RFNOC::GRAPH] One or more blocks timed out during flush! _ / | Device: X-Series Device | _ |/ | | Mboard: X310 | | revision: 11 | | revision_compat: 7 | | product: 30818 | | mac-addr0: 00:80:2f:32:72:23 | | mac-addr1: 00:80:2f:32:72:24 | | gateway: 192.168.10.1 | | ip-addr0: 192.168.10.2 | | subnet0: 255.255.255.0 | | ip-addr1: 192.168.20.2 | | subnet1: 255.255.255.0 | | ip-addr2: 192.168.30.2 | | subnet2: 255.255.255.0 | | ip-addr3: 192.168.40.2 | | subnet3: 255.255.255.0 | | serial: 3216766 | | FW Version: 6.0 | | FPGA Version: 38.0 | | FPGA git hash: 26793b8 | | RFNoC capable: Yes | | | | Time sources: internal, external, gpsdo | | Clock sources: internal, external, gpsdo | | Sensors: ref_locked | _ |/ | | RFNoC blocks on this device: | | | | * 0/DDC#0 | | * 0/DDC#1 | | * 0/DUC#0 | | * 0/DUC#1 | | * 0/Radio#0 | | * 0/Radio#1 | | * 0/Replay#0 | _ |/ | | Static connections on this device: | | | | * 0/SEP#0:0==>0/DUC#0:0 | | * 0/DUC#0:0==>0/Radio#0:0 | | * 0/Radio#0:0==>0/DDC#0:0 | | * 0/DDC#0:0==>0/SEP#0:0 | | * 0/Radio#0:1==>0/DDC#0:1 | | * 0/DDC#0:1==>0/SEP#1:0 | | * 0/SEP#2:0==>0/DUC#1:0 | | * 0/DUC#1:0==>0/Radio#1:0 | | * 0/Radio#1:0==>0/DDC#1:0 | | * 0/DDC#1:0==>0/SEP#2:0 | | * 0/Radio#1:1==>0/DDC#1:1 | | * 0/DDC#1:1==>0/SEP#3:0 | | * 0/SEP#4:0==>0/Replay#0:0 | | * 0/Replay#0:0==>0/SEP#4:0 | | * 0/SEP#5:0==>0/Replay#0:1 | | * 0/Replay#0:1==>0/SEP#5:0 | _ |/ | | TX Dboard: 0/Radio#0 | | ID: UBX-160 v2 (0x007d) | | Serial: 325406E | | _ | |/ | | | TX Frontend: 0 | | | Name: UBX TX | | | Antennas: TX/RX, CAL | | | Sensors: lo_locked | | | Freq range: 10.000 to 6000.000 MHz | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB | | | Bandwidth range: 16000.0 to 16000.0 step 0.0 Hz | | | Connection Type: QI | | | Uses LO offset: No | _ |/ | | RX Dboard: 0/Radio#0 | | ID: UBX-160 v2 (0x007e) | | Serial: 325406E | | _ | |/ | | | RX Frontend: 0 | | | Name: UBX RX | | | Antennas: TX/RX, RX2, CAL | | | Sensors: lo_locked | | | Freq range: 10.000 to 6000.000 MHz | | | Gain range PGA0: 0.0 to 31.5 step 0.5 dB | | | Bandwidth range: 16000.0 to 16000.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | _ |/ | | TX Dboard: 0/Radio#1 | | ID: Unknown (0x0094) | | Serial: 31EF996 | | _ | |/ | | | TX Frontend: 0 | | | Name: Unknown (0x0094) - 0 | | | Antennas: | | | Sensors: | | | Freq range: 0.000 to 0.000 MHz | | | Gain Elements: None | | | Bandwidth range: 0.0 to 0.0 step 0.0 Hz | | | Connection Type: IQ | | | Uses LO offset: No | _ |/ | | RX Dboard: 0/Radio#1 | | ID: TwinRX Rev C (0x0095) | | Serial: 31D7212 | | _ | |/ | | | RX Frontend: 0 | | | Name: TwinRX RX0 | | | Antennas: RX1, RX2 | | | Sensors: lo_locked | | | Freq range: 10.000 to 6000.000 MHz | | | Gain range all: 0.0 to 93.0 step 1.0 dB | | | Bandwidth range: 8000.0 to 8000.0 step 0.0 Hz | | | Conn
how can build gr-osmocomsdr in a linux that gnuradio is built and installed in a custom dir?
I installed Gnuradio in /home/sp/disk1/install/usr/local directory when I want to build gr-osmocomsdr I faced this error... in bashrc i add some environment variables that Gnurado works uhd works but for Gnuradio it can not detect Gnuradio I set all environments correctly How can solve my problem? thanks in advance #custom option for running gnuradio echo "bashrc config for running gnuradio" export PYTHONPATH=/home/sp/disk1/install/usr/local/lib/python3.8/dist-packages:/home/sp/disk1/install/usr/local/lib/python3.8/dist-packages:$PYTHONPATH export LD_LIBRARY_PATH=/home/sp/disk1/install/usr/local/lib:$LD_LIBRARY_PATH export GRC_BLOCKS_PATH=/home/sp/disk1/install/usr/local/share/gnuradio/grc/blocks export Gnuradio_DIR=/home/sp/disk1/install/usr/local/lib/cmake/gnuradio export DESTDIR=/home/sp/disk1/install echo "#" echo $PYTHONPATH; echo $LD_LIBRARY_PATH echo "GnuradioDIR="$Gnuradio_DIR echo "DESTDIR="$DESTDIR echo "######" export CMAKE_MODULE_PATH=/home/sp/disk1/install/usr/local/lib/cmake/gnuradio:$CMAKE_MODULE_PATH export PKG_CONFIG_PATH=/home/sp/disk1/install/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH export CMAKE_PREFIX_PATH=/home/sp/disk1/install:$CMAKE_PREFIX_PATH echo "CMAKE_MODULE_PATH="$CMAKE_MODULE_PATH echo "PKG_CONFIG_PATH="$CMAKE_MODULE_PATH echo "CMAKE_PREFIX_PATH="$CMAKE_MODULE_PATH echo "##" export PATH="/home/sp/disk1/install/usr/local/bin:$PATH" echo "PATH="$PATH #custom hint install in new prefix echo "##" echo "hint install in new prefix cmake .. -DCMAKE_INSTALL_PREFIX=/local/usr" -- Building for version: v0.1.x-xxx-xunknown / 0.1.5git -- Using install prefix: /usr/local -- Configurin done CMake Error at lib/CMakeLists.txt:270 (ADD_LIBRARY): Target "gnuradio-osmosdr" links to target "gnuradio::gnuradio-blocks" but the target was not found. Perhaps a find_package() call is missing for an IMPORTED target, or an ALIAS target is missing? -- Generating done CMake Generate step failed. Build files cannot be regenerated correctly.
when in gnuradio top block is started can we change connect blocks?
I have a question about gnuradio blocks when I define gnuradio blocks on a top block and start top block can we changed connection between blocks when tp is running with out stoping it. for example i connect uhd to a null block, after some time i changed uhd to another block? can any one guide me? thanks in advance
How can i designed a FSM and conditional logic control in gnuradio?
Hi, Today I worked on RFID articles, and I had some questions. It is possible to design an RFID reader for frequency 13.56 or 125khz with gnuradio? I read the RFID standards According to RFID flowchart I need to design an FSM (Finite State Machine) for RFID Reader. can anyone guide me? how can write and design a real-time RFID in gnuradio? thanks in advance
how can we implement a pool/worker structure in gnuradio?
In programming, I need to define a pooling layer that updates the last usrp samples and other blocks use these pool samples and compute some operations, I emphasize that my means from pool,the pool is shared for all blocks(the blocks that use pool name as worker) Can anyone guide me? thanks in advance more info: https://en.wikipedia.org/wiki/Thread_pool
How send message with when message is less than sample rate?
When every 3 seconds I call msqq->inserttail, messageTempI is only 64 bytes but the sample rate is 500khz... I know that 64-byte string is more than 500khz samplesbut usrp and uhd in gnuradio send it!!! my question is how message is sent to USRP and how does USRP send it? when samplerate is not completed?!!! it waits to receive 500k samples or it sends it with fault... Sending is correct? using message source in this structure true? message_source = gr::blocks::message_source::make(sizeof(gr_complex)); this->tb->connect(message_source, 0, multiplyControl, 0); this->tb->connect(multiplyControl, 0, this->sinkUHD, 0); //every 3 second i call insert tail message_source->msgq()->insert_tail(gr::message::make_from_string(messageTempI));
Re: how can we implement a pool/worker structure in gnuradio?
After examination I found a solution, you can use copy block in gnuradio for the implementation of a pool structure. On Tue, Aug 29, 2023 at 3:42 PM sp wrote: > In programming, I need to define a pooling layer that updates the last > usrp samples > and other blocks use these pool samples and compute some operations, I > emphasize that my means from pool,the pool is shared for all blocks(the > blocks that use pool name as worker) > Can anyone guide me? thanks in advance > more info: https://en.wikipedia.org/wiki/Thread_pool >
Can i some one explain what's appllication of subdev in UHD?
Can i some one explain what's appllication of subdev in UHD? How work i should with subdev what's means in UHD? what's difference it with channel in UHD. -- Using subdev spec 'A:AB A:BA B:0'. Jamming hardware initialized... gr-osmosdr 0.1.4 (0.1.4) gnuradio 3.7.13.4 built-in sink types: uhd hackrf bladerf soapy redpitaya freesrp file -- Using subdev spec 'A:AB B:0'.
ModToolException: Could not find gr-newmod source dir.
in Gnuradio-dev 3.9 when I want to create a block I am faced with this error... how can solve it... gr_modtool newmod tutorial ModToolException: Could not find gr-newmod source dir. thanks in advance
How can install UHD 4 with gnuradio
Hi, I had a question with Gnuradio 3.7.10 or 3.8, UHD version that is used is 3.13 or 3.15. I used the apt-get install command... How can install UHD 4 alongside Gnuradio 3.8on Debian/Ubuntu without compiling it... All work with USRP is in Gnuradio... Thanks in advance
Why UBX 160 gain not work (for RX and TX)
Hi, in my USRP x310 I used a daughterboard ubx160, but in Gnuradio gain is not effect... gain 0 and gain 100 show the same signal...for FM station it can not show any signal How can solve my problem? Gnuardio 3.8.1 UHD 3.15.1 thanks in advance
is there in gnuradio a library that for for,loop case execute parallel computing like open mp?
I want to develop a Gnuradio block, in this block, I have a for, in this for I compute some multiplay and multiply conjugate ... my question is how I can implement a for (in Gnuradio block) so it is executed in parallel mode... thanks in advance
What Is The Proper Way To Change Block Parameters in cpp?
I developed some blocks for Gnuradio in CPP, I defined a multiply constant for a top block in Gnuradio... I run tb(Top block) block, and USRP sends a signal... when USRP is sending a signal I want to change the multiply constant value set to 0 1 5 and. when i used the method...multiplyControl->set_k(1); it changes the constant value and the method multiplyControl->k() return constant is changed... but signal USRP is changed after 20-30 seconds??? in GRC and Python, I had no problem but in CPP I had a problem with delay? how can fix it in CPP... any guide or solution that I can change parameter block when is top block is running thanks in advance > gr::blocks::multiply_const_cc::sptr > multiplyControl(gr::blocks::multiply_const_cc::make(1, 1)); > > > gr::blocks::file_source::sptr file_source( > > gr::blocks::file_source::make(8,fileSelected.c_str(), > "true")); > > > this->tb->connect(file_source, 0, multiplyControl, 0); > > if(transmitterDevice=="usrp2") > > { > > this->tb->connect(multiplyControl, 0, this->sinkUHD, 0); > > } > > else > > { > > this->tb->connect(multiplyControl, 0, this->sink, 0); > > } > >
Re: What Is The Proper Way To Change Block Parameters in cpp?
I reform for Hackrf this problem is not in python GRC and CPP, but for USRP i had problem delay in CPP and python GRC why USRP is so bad in this situation... On Wed, Oct 20, 2021 at 9:45 PM sp h wrote: > I developed some blocks for Gnuradio in CPP, I defined a multiply constant > for a top block in Gnuradio... > > I run tb(Top block) block, and USRP sends a signal... when USRP is sending > a signal I want to change the multiply constant value set to 0 1 5 and. > > when i used the method...multiplyControl->set_k(1); > > it changes the constant value and the method multiplyControl->k() return > constant is changed... > > but signal USRP is changed after 20-30 seconds??? > in GRC and Python, I had no problem but in CPP I had a problem with delay? > how can fix it in CPP... > > any guide or solution that I can change parameter block when is top block > is running > > thanks in advance > > > > > >> gr::blocks::multiply_const_cc::sptr >> multiplyControl(gr::blocks::multiply_const_cc::make(1, 1)); >> >> >> gr::blocks::file_source::sptr file_source( >> >> gr::blocks::file_source::make(8,fileSelected.c_str(), >> "true")); >> >> >> this->tb->connect(file_source, 0, multiplyControl, 0); >> >> if(transmitterDevice=="usrp2") >> >> { >> >> this->tb->connect(multiplyControl, 0, this->sinkUHD, 0); >> >> } >> >> else >> >> { >> >> this->tb->connect(multiplyControl, 0, this->sink, 0); >> >> } >> >>
Re: What Is The Proper Way To Change Block Parameters in cpp?
For HackRF info there is this delay but it is 5 seconds.. On Wed, Oct 20, 2021 at 9:50 PM sp h wrote: > I reform for Hackrf this problem is not in python GRC and CPP, but for > USRP i had problem delay in CPP and python GRC > why USRP is so bad in this situation... > > On Wed, Oct 20, 2021 at 9:45 PM sp h wrote: > >> I developed some blocks for Gnuradio in CPP, I defined a multiply >> constant for a top block in Gnuradio... >> >> I run tb(Top block) block, and USRP sends a signal... when USRP is >> sending a signal I want to change the multiply constant value set to 0 1 5 >> and. >> >> when i used the method...multiplyControl->set_k(1); >> >> it changes the constant value and the method multiplyControl->k() return >> constant is changed... >> >> but signal USRP is changed after 20-30 seconds??? >> in GRC and Python, I had no problem but in CPP I had a problem with >> delay? how can fix it in CPP... >> >> any guide or solution that I can change parameter block when is top block >> is running >> >> thanks in advance >> >> >> >> >> >>> gr::blocks::multiply_const_cc::sptr >>> multiplyControl(gr::blocks::multiply_const_cc::make(1, 1)); >>> >>> >>> gr::blocks::file_source::sptr file_source( >>> >>> gr::blocks::file_source::make(8,fileSelected.c_str(), >>> "true")); >>> >>> >>> this->tb->connect(file_source, 0, multiplyControl, 0); >>> >>> if(transmitterDevice=="usrp2") >>> >>> { >>> >>> this->tb->connect(multiplyControl, 0, this->sinkUHD, 0); >>> >>> } >>> >>> else >>> >>> { >>> >>> this->tb->connect(multiplyControl, 0, this->sink, 0); >>> >>> } >>> >>>
Clearing gnuradio buffers or gnuradio buffer blocks....
Hi, dears I read the below link that describes how Gnuradio blocks work together... https://www.gnuradio.org/blog/2017-01-05-buffers/ I had a question: Is there any way to clear the buffers of the Gnuradio blocks in C++ or Python... I want in a time UHD buffer is cleared and send new data? In Gnuradio and block is it possible ? any solution or any idea.. thanks in advance I saw these links but not solve my problem. https://lists.gnu.org/archive/html/discuss-gnuradio/2017-07/msg6.html https://www.ruby-forum.com/t/clearing-gnuradio-buffers/60074
I had a daughterboard UBX 160 for USRP, but after 5 months of working, it can not transmit any signal...
I had a daughterboard UBX 160 for USRP, but after 5 months of working, it can not transmit any signal... Led TX is on but on the spectrum, I can not see any data signal, I can see a weak carrier? how can repair UBX160 USRP? really it is the damage? thanks in advance
Installing Gnuradio 3.8.1 with UHD 4 with out source compiling......
I installed Gnuradio 3.8.1 in ubuntu 20.04, is it possible to install a new version of UHD like 4 instead of UHD 3.15 without source compiling... is it possible or I must compile all Gnuradio..any short way... Thanks in advance
Why noi in block Gnuradio is changed every time........
I developed a block Gnuradio that works with samples block type is sync block. i used a for that i can print samples for(int i=0;i
Error installing Gnuradio from PyBombs
When I want to install Gnuradio from PyBombs(Ubuntu 20.04): any offer to solve errors? thanks in advance sudo -H pip3 install PyBOMBS pybombs auto-config pybombs recipes add-defaults pybombs prefix init ~/gnuradio -R gnuradio-default *Errors:* configure: error: Python headers not found [ERROR] Configuration failed after running at least twice. [ERROR] Problem occurred while building package gobject-introspection: Configuration failed [ERROR] Error installing package gobject-introspection. Aborting.
After building Gnuradio 3.8.1 from source , Cannot import gnuradio
Hi, Before I installed Gnuradio from the binary package it works well. In Ubuntu 20.04 when I want to build Gnuradio from source, it not works... Terminal, I received the following message: *Cannot import gnuradio.* *Is the python path environment variable set correctly? * - All OS: PYTHONPATH* - - *Is the library path environment variable set correctly?* - Linux: LD_LIBRARY_PATH* - Windows: PATH* - MacOSX: DYLD_LIBRARY_PATH* *I had set the path in .bashrc* export PYTHONPATH=$PYTHONPATH:/usr/local/lib/python2.7/dist-packages export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib *I had ldconfig after making Gnuradio Source* I saw all links but my problem is not solved. thanks in advance https://www.ruby-forum.com/t/cannot-import-gnuradio/245549
When i want to run some RFNOC blocks in Gnuradio i faced with errors module 'ettus' has no attribute 'device3'
When I want to run some RFNOC blocks in Gnuradio I was faced with errors, How can fix this problem? My environment is Gnuradio 3.8.10 UHD:4.0.0 Ubuntu 20.04 Generating: '/home/sp/Downloads/default1.py' Executing: /usr/bin/python3 -u /home/sp/Downloads/default1.py Traceback (most recent call last): File "/home/sp/Downloads/default1.py", line 275, in main() File "/home/sp/Downloads/default1.py", line 251, in main tb = top_block_cls() File "/home/sp/Downloads/default1.py", line 77, in __init__ self.device3 = variable_ettus_device3_0 = ettus.device3(uhd.device_addr_t( ",".join(('type=x300', '')) )) AttributeError: module 'ettus' has no attribute 'device3'
Re: When i want to run some RFNOC blocks in Gnuradio i faced with errors module 'ettus' has no attribute 'device3'
Thanks, I checked it out. my ldd output is...in gr-ettus/build/lib I had below files, my Gnuradio is 3.8.1, but in gr-ettus i saw 3.8.0 any offer??? I rebuilt and install but the same eros... *List files:* ibgnuradio-ettus.so.3.8.0.0 libgnuradio-ettus.so libgnuradio-ettus.so.3.8.0 *LDD outputs:* ldd libgnuradio-ettus.so linux-vdso.so.1 (0x7ffe7f392000) libgnuradio-runtime.so.3.8.1 => /usr/local/lib/libgnuradio-runtime.so.3.8.1 (0x7f8b76dfe000) libuhd.so.4.0.0 => /usr/local/lib/libuhd.so.4.0.0 (0x7f8b7610e000) libgnuradio-pmt.so.3.8.1 => /usr/local/lib/libgnuradio-pmt.so.3.8.1 (0x7f8b760a1000) liblog4cpp.so.5 => /lib/x86_64-linux-gnu/liblog4cpp.so.5 (0x7f8b76041000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x7f8b75e5f000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f8b75e44000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f8b75c5) libvolk.so.2.2 => /lib/x86_64-linux-gnu/libvolk.so.2.2 (0x7f8b75961000) libboost_program_options.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0 (0x7f8b758d2000) libboost_filesystem.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0 (0x7f8b758b4000) libboost_thread.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_thread.so.1.71.0 (0x7f8b75888000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f8b7587d000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f8b75858000) libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x7f8b757d4000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f8b75685000) libboost_chrono.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0 (0x7f8b75677000) libboost_date_time.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_date_time.so.1.71.0 (0x7f8b75663000) libboost_serialization.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_serialization.so.1.71.0 (0x7f8b7561f000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f8b75617000) libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x7f8b755fb000)/lib64/ld-linux-x86-64.so.2 (0x7f8b76f4d000) liborc-0.4.so.0 => /lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x7f8b75578000) libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x7f8b7554b000)ldd libgnuradio-ettus.so linux-vdso.so.1 (0x7ffe7f392000) libgnuradio-runtime.so.3.8.1 => /usr/local/lib/libgnuradio-runtime.so.3.8.1 (0x7f8b76dfe000) libuhd.so.4.0.0 => /usr/local/lib/libuhd.so.4.0.0 (0x7f8b7610e000) libgnuradio-pmt.so.3.8.1 => /usr/local/lib/libgnuradio-pmt.so.3.8.1 (0x7f8b760a1000) liblog4cpp.so.5 => /lib/x86_64-linux-gnu/liblog4cpp.so.5 (0x7f8b76041000) libstdc++.so.6 => /lib/x86_64-linux-gnu/libstdc++.so.6 (0x7f8b75e5f000) libgcc_s.so.1 => /lib/x86_64-linux-gnu/libgcc_s.so.1 (0x7f8b75e44000) libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x7f8b75c5) libvolk.so.2.2 => /lib/x86_64-linux-gnu/libvolk.so.2.2 (0x7f8b75961000) libboost_program_options.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_program_options.so.1.71.0 (0x7f8b758d2000) libboost_filesystem.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_filesystem.so.1.71.0 (0x7f8b758b4000) libboost_thread.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_thread.so.1.71.0 (0x7f8b75888000) librt.so.1 => /lib/x86_64-linux-gnu/librt.so.1 (0x7f8b7587d000) libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x7f8b75858000) libgmp.so.10 => /lib/x86_64-linux-gnu/libgmp.so.10 (0x7f8b757d4000) libm.so.6 => /lib/x86_64-linux-gnu/libm.so.6 (0x7f8b75685000) libboost_chrono.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_chrono.so.1.71.0 (0x7f8b75677000) libboost_date_time.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_date_time.so.1.71.0 (0x7f8b75663000) libboost_serialization.so.1.71.0 => /lib/x86_64-linux-gnu/libboost_serialization.so.1.71.0 (0x7f8b7561f000) libdl.so.2 => /lib/x86_64-linux-gnu/libdl.so.2 (0x7f8b75617000) libusb-1.0.so.0 => /lib/x86_64-linux-gnu/libusb-1.0.so.0 (0x7f8b755fb000) /lib64/ld-linux-x86-64.so.2 (0x7f8b76f4d000) liborc-0.4.so.0 => /lib/x86_64-linux-gnu/liborc-0.4.so.0 (0x7f8b75578000) libudev.so.1 => /lib/x86_64-linux-gnu/libudev.so.1 (0x7f8b7554b000) On Mon, Jan 10, 2022 at 2:31 PM Vasil Velichkov wrote: > Hi sp h, > > On 10/01/2022 10.28, sp h wrote: > > When I removed device 3 block I had these errors > > > > File "/home/sp/Downloads/default474.py", line 192, in main > > tb = top_block_cls() > > File "/home/sp/Downloads/default474.py", line 143, in __init__ > > self.ettus_rfnoc_digital_gain_0 = ettus.rfnoc_generic( > > AttributeError: module 'ettus' has no attribute 'rfnoc_generic' > > > > with device 3 block in the GRC file, I had these errors... > > > > main
Why rfnoc_graph can not initialize in Gnuradio and CPP, (undefined reference)
Why rfnoc_graph can not initialize in Gnuradio and CPP, I was faced with some undefined symbol errors... I include these header files and below is the source file... #include #include #include #include const::uhd::device_addr_t device("addr=192.168.10.2"); gr::ettus::rfnoc_graph::sptr rfnoc_graph_ctrl=gr::ettus::rfnoc_graph::make(device); But when i want to compile it...I was faced with some erros...how can I solve problemsthanks in advance * error: undefined reference to `gr::ettus::rfnoc_graph::make(uhd::device_addr_t const&)'*
Re: Why rfnoc_graph can not initialize in Gnuradio and CPP,(undefined reference)
Thanks, Marcus Müller, finally I concluded that linker can not find the lib files for gr-ettus. Same Gnuradio package like Gnuradio-analog and son on...I added a pkconfig file to pkgconfig folders... I attached the file. now with pkgconfig command, I can see the lib info (in this situation gnuradio-ettus). in CPP project now everything is ok. pkg-config --modversion gnuradio-ettus 3.8.1 Hi sp h, we don't know how you're building this. You'll need to provide us with a > minimal viable example that triggers this and we could do ourselves. > Also, you need to make sure to link against gr-ettus. It seems you're not > doing this correctly; again, we don't know how you're building this, so > it's hard to advise. > Best regards, > Marcus gnuradio-ettus.pc Description: Binary data
Error in RFNOC blocks in CPP ?? Cannot create! Property already exists at: /blocks/0/DUC#0/noc_id
when I want to convert a GRC python code to CPP code I am faced with NOC graph error? any idea for solving the problem...? I too attached python code... [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: RuntimeError: Cannot create! Property already exists at: /blocks/0/DUC#0/noc_id terminate called after throwing an instance of 'uhd::runtime_error' what(): RuntimeError: Failure to create rfnoc_graph. const::uhd::device_addr_t device("addr=192.168.10.2"); gr::ettus::rfnoc_graph::sptr rfnoc_graph_ctrl=gr::ettus::rfnoc_graph::make(device); uhd::stream_args_t stream_arg=uhd::stream_args_t("fc32","sc16"); gr::ettus::rfnoc_rx_streamer::sptr rx_streamer=gr::ettus::rfnoc_rx_streamer::make(rfnoc_graph_ctrl,1,stream_arg,1,true); gr::ettus::rfnoc_rx_radio::sptr rx_radio=gr::ettus::rfnoc_rx_radio::make(rfnoc_graph_ctrl,device,-1,-1); rx_radio->set_rate(2000); rx_radio->set_antenna("AB", 0); rx_radio->set_frequency(25e6, 0); rx_radio->set_gain(10, 0); rx_radio->set_bandwidth(0, 0); rx_radio->set_dc_offset(false, 0); rx_radio->set_iq_balance(false, 0); gr::ettus::rfnoc_ddc::sptr ddc=gr::ettus::rfnoc_ddc::make(rfnoc_graph_ctrl,device,-1,-1); ddc->set_freq(0, 0); ddc->set_output_rate(0, 0); //Connections rfnoc_graph_ctrl->connect(ddc->get_unique_id(), 0,rx_streamer->get_unique_id(), 0, false); rfnoc_graph_ctrl->connect(rx_radio->get_unique_id(), 0,ddc->get_unique_id(), 0, false); tb->connect(rx_streamer, 0,tsnk_c , 0); tb->connect(rx_streamer, 0,fsnk_c , 0); tb->start(); #!/usr/bin/env python3 # -*- coding: utf-8 -*- # # SPDX-License-Identifier: GPL-3.0 # # GNU Radio Python Flow Graph # Title: RFNOC example with UHD 4 and Gnuradio 3.8.1 # GNU Radio version: 3.8.1.0 from distutils.version import StrictVersion if __name__ == '__main__': import ctypes import sys if sys.platform.startswith('linux'): try: x11 = ctypes.cdll.LoadLibrary('libX11.so') x11.XInitThreads() except: print("Warning: failed to XInitThreads()") from PyQt5 import Qt from gnuradio import qtgui from gnuradio.filter import firdes import sip from gnuradio import gr import sys import signal from argparse import ArgumentParser from gnuradio.eng_arg import eng_float, intx from gnuradio import eng_notation import ettus from gnuradio import uhd from gnuradio import qtgui class rfnoc_getting_started(gr.top_block, Qt.QWidget): def __init__(self): gr.top_block.__init__(self, "RFNOC example with UHD 4 and Gnuradio 3.8.1") Qt.QWidget.__init__(self) self.setWindowTitle("RFNOC example with UHD 4 and Gnuradio 3.8.1") qtgui.util.check_set_qss() try: self.setWindowIcon(Qt.QIcon.fromTheme('gnuradio-grc')) except: pass self.top_scroll_layout = Qt.QVBoxLayout() self.setLayout(self.top_scroll_layout) self.top_scroll = Qt.QScrollArea() self.top_scroll.setFrameStyle(Qt.QFrame.NoFrame) self.top_scroll_layout.addWidget(self.top_scroll) self.top_scroll.setWidgetResizable(True) self.top_widget = Qt.QWidget() self.top_scroll.setWidget(self.top_widget) self.top_layout = Qt.QVBoxLayout(self.top_widget) self.top_grid_layout = Qt.QGridLayout() self.top_layout.addLayout(self.top_grid_layout) self.settings = Qt.QSettings("GNU Radio", "rfnoc_getting_started") try: if StrictVersion(Qt.qVersion()) < StrictVersion("5.0.0"): self.restoreGeometry(self.settings.value("geometry").toByteArray()) else: self.restoreGeometry(self.settings.value("geometry")) except: pass ## # Variables ## self.samp_rate = samp_rate = 32000 self.rfnoc_graph = ettus_rfnoc_graph_055 = ettus.rfnoc_graph(uhd.device_addr(",".join(('', '' ## # Blocks ## self.qtgui_time_sink_x_0 = qtgui.time_sink_c( 1024, #size samp_rate, #samp_rate "", #name 1 #number of inputs ) self.qtgui_time_sink_x_0.set_update_time(0.10) self.qtgui_time_sink_x_0.set_y_axis(-1, 1) self.qtgui_time_sink_x_0.set_y_label('Amplitude', "") self.qtgui_time_sink_x_0.enable_tags(True) self.qtgui_time_sink_x_0.set_trigger_mode(qtgui.TRIG_MODE_FREE, qtgui.TRIG_SLOPE_POS, 0.0, 0, 0, "") self.qtgui_time_sink_x_0.enable_autoscale(False) self.qtgui_time_sink_x_0.enable_grid(False) self.qtgui_time_sink_x_0.enable_axis_labels(True) self.qtgui_time_sink
Re: Error in RFNOC blocks in CPP ?? Cannot create! Property already exists at: /blocks/0/DUC#0/noc_id
The source code also warns me time out blocks and after it, the program crashes... when I disabled connect for rx_streamer block, the software has not any error but I can not see outputs... still, I am working on the problem to solve it. *[WARNING] [RFNOC::GRAPH] One or more blocks timed out during flush!* [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: RuntimeError: Cannot create! Property already exists at: /blocks/0/DUC#0/noc_id terminate called after throwing an instance of 'uhd::runtime_error' what(): RuntimeError: Failure to create rfnoc_graph. On Mon, Jan 24, 2022 at 11:05 AM sp h wrote: > when I want to convert a GRC python code to CPP code I am faced with NOC > graph error? > any idea for solving the problem...? I too attached python code... > > [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: > RuntimeError: Cannot create! Property already exists at: > /blocks/0/DUC#0/noc_id > > terminate called after throwing an instance of 'uhd::runtime_error' > > what(): RuntimeError: Failure to create rfnoc_graph. > > > > const::uhd::device_addr_t device("addr=192.168.10.2"); > > gr::ettus::rfnoc_graph::sptr > rfnoc_graph_ctrl=gr::ettus::rfnoc_graph::make(device); > > uhd::stream_args_t stream_arg=uhd::stream_args_t("fc32","sc16"); > > gr::ettus::rfnoc_rx_streamer::sptr > rx_streamer=gr::ettus::rfnoc_rx_streamer::make(rfnoc_graph_ctrl,1,stream_arg,1,true); > > gr::ettus::rfnoc_rx_radio::sptr > rx_radio=gr::ettus::rfnoc_rx_radio::make(rfnoc_graph_ctrl,device,-1,-1); > > rx_radio->set_rate(2000); > > rx_radio->set_antenna("AB", 0); > > rx_radio->set_frequency(25e6, 0); > > rx_radio->set_gain(10, 0); > > rx_radio->set_bandwidth(0, 0); > > rx_radio->set_dc_offset(false, 0); > > rx_radio->set_iq_balance(false, 0); > > > gr::ettus::rfnoc_ddc::sptr > ddc=gr::ettus::rfnoc_ddc::make(rfnoc_graph_ctrl,device,-1,-1); > > > ddc->set_freq(0, 0); > > ddc->set_output_rate(0, 0); > > > //Connections > > rfnoc_graph_ctrl->connect(ddc->get_unique_id(), > 0,rx_streamer->get_unique_id(), 0, false); > > rfnoc_graph_ctrl->connect(rx_radio->get_unique_id(), > 0,ddc->get_unique_id(), 0, false); > > > tb->connect(rx_streamer, 0,tsnk_c , 0); > > tb->connect(rx_streamer, 0,fsnk_c , 0); > > tb->start(); > > >
Re: Error in RFNOC blocks in CPP ?? Cannot create! Property already exists at: /blocks/0/DUC#0/noc_id
Finally, my code worked correctly. I share it for future use. gr::top_block_sptr tb = gr::make_top_block("receiver"); gr::ettus::rfnoc_graph::sptr rfnoc_graph_ctrl; const::uhd::device_addr_t device("addr=192.168.10.2"); rfnoc_graph_ctrl=gr::ettus::rfnoc_graph::make(device); uhd::stream_args_t stream_arg=uhd::stream_args_t("fc32","sc16"); gr::ettus::rfnoc_rx_streamer::sptr rx_streamer=gr::ettus::rfnoc_rx_streamer::make(rfnoc_graph_ctrl,1,stream_arg,1,true); gr::ettus::rfnoc_rx_radio::sptr rx_radio=gr::ettus::rfnoc_rx_radio::make(rfnoc_graph_ctrl,device,-1,-1); rx_radio->set_rate(stod(sampleRateRX) * 1000); rx_radio->set_antenna(rxAntenna, 0); rx_radio->set_frequency(stod(frequencyRX) * 100, 0); rx_radio->set_gain(rfGain, 0); //rx_radio->set_bandwidth(0, 0); rx_radio->set_dc_offset(false, 0); rx_radio->set_iq_balance(false, 0); gr::ettus::rfnoc_ddc::sptr ddc_0=gr::ettus::rfnoc_ddc::make(rfnoc_graph_ctrl,device,-1,-1); gr::blocks::null_sink::sptr null_sink=gr::blocks::null_sink::make(sizeof(gr_complex)); ddc_0->set_freq(0, 0); ddc_0->set_output_rate(0, 0); //Connections rfnoc_graph_ctrl->connect(ddc_0->get_unique_id(), 0,rx_streamer->get_unique_id(), 0,false); rfnoc_graph_ctrl->connect(rx_radio->get_unique_id(), 0,ddc_0->get_unique_id(), 0, false); tb->connect(rx_streamer, 0,tsnk_c , 0); tb->connect(rx_streamer, 0,fsnk_c , 0); tb->start(); On Tue, Jan 25, 2022 at 11:02 AM sp h wrote: > The source code also warns me time out blocks and after it, the program > crashes... > > when I disabled connect for rx_streamer block, the software has not any > error but I can not see outputs... > > still, I am working on the problem to solve it. > > > *[WARNING] [RFNOC::GRAPH] One or more blocks timed out during flush!* > > [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: > RuntimeError: Cannot create! Property already exists at: > /blocks/0/DUC#0/noc_id > > terminate called after throwing an instance of 'uhd::runtime_error' > > what(): RuntimeError: Failure to create rfnoc_graph. > > On Mon, Jan 24, 2022 at 11:05 AM sp h wrote: > >> when I want to convert a GRC python code to CPP code I am faced with NOC >> graph error? >> any idea for solving the problem...? I too attached python code... >> >> [ERROR] [RFNOC::GRAPH] Caught exception while initializing graph: >> RuntimeError: Cannot create! Property already exists at: >> /blocks/0/DUC#0/noc_id >> >> terminate called after throwing an instance of 'uhd::runtime_error' >> >> what(): RuntimeError: Failure to create rfnoc_graph. >> >> >> >> const::uhd::device_addr_t device("addr=192.168.10.2"); >> >> gr::ettus::rfnoc_graph::sptr >> rfnoc_graph_ctrl=gr::ettus::rfnoc_graph::make(device); >> >> uhd::stream_args_t stream_arg=uhd::stream_args_t("fc32","sc16"); >> >> gr::ettus::rfnoc_rx_streamer::sptr >> rx_streamer=gr::ettus::rfnoc_rx_streamer::make(rfnoc_graph_ctrl,1,stream_arg,1,true); >> >> gr::ettus::rfnoc_rx_radio::sptr >> rx_radio=gr::ettus::rfnoc_rx_radio::make(rfnoc_graph_ctrl,device,-1,-1); >> >> rx_radio->set_rate(2000); >> >> rx_radio->set_antenna("AB", 0); >> >> rx_radio->set_frequency(25e6, 0); >> >> rx_radio->set_gain(10, 0); >> >> rx_radio->set_bandwidth(0, 0); >> >> rx_radio->set_dc_offset(false, 0); >> >> rx_radio->set_iq_balance(false, 0); >> >> >> gr::ettus::rfnoc_ddc::sptr >> ddc=gr::ettus::rfnoc_ddc::make(rfnoc_graph_ctrl,device,-1,-1); >> >> >> ddc->set_freq(0, 0); >> >> ddc->set_output_rate(0, 0); >> >> >> //Connections >> >> rfnoc_graph_ctrl->connect(ddc->get_unique_id(), >> 0,rx_streamer->get_unique_id(), 0, false); >> >> rfnoc_graph_ctrl->connect(rx_radio->get_unique_id(), >> 0,ddc->get_unique_id(), 0, false); >> >> >> tb->connect(rx_streamer, 0,tsnk_c , 0); >> >> tb->connect(rx_streamer, 0,fsnk_c , 0); >> >> tb->start(); >> >> >>
Why when I send a complex file with harmonic sequence f1 f2 f3 ...fn, In receiver haromoic sequence gain is changed?
Why when I send a complex file (With USRP x300) with harmonic sequence f1 f2 f3 ...fn, In receiver (USRP x310) harmonic sequence gain is changed? For example, I have a complex file the FFT of a signal has some harmonic peaks f1 f2 ...fn gain of harmonic peaks in the original file is: f1:2 f2:2 f3:3 f4:4 ... fn=3 But receiver loss or amplify harmonic peaks are not consonant For example, in the receiver we had: f1:5 f2:1 f3:4 f4:7 ... fn=.1 So when I used MatLab to convert complex files to Wav and play file original file and received file is not exactly the same... some higher frequency is suppressed or the sound is more bass. Is this subject related to TDH? In USRP what's TDH? https://en.wikipedia.org/wiki/Total_harmonic_distortion can anyone guide me? Thanks in advance
Re: Why when I send a complex file with harmonic sequence f1 f2 f3 ...fn, In receiver haromoic sequence gain is changed?
With this description for removing this frequency-selective channel which solution exist in digital communications? On Sun, May 8, 2022 at 10:36 AM sp h wrote: > Why when I send a complex file (With USRP x300) with harmonic sequence f1 > f2 f3 ...fn, In receiver (USRP x310) harmonic sequence gain is changed? > For example, I have a complex file the FFT of a signal has some harmonic > peaks f1 f2 ...fn > gain of harmonic peaks in the original file is: > f1:2 > f2:2 > f3:3 > f4:4 > ... > fn=3 > > But receiver loss or amplify harmonic peaks are not consonant > For example, in the receiver we had: > f1:5 > f2:1 > f3:4 > f4:7 > ... > fn=.1 > > So when I used MatLab to convert complex files to Wav and play file > original file and received file is not exactly the same... > some higher frequency is suppressed or the sound is more bass. Is this > subject related to TDH? > In USRP what's TDH? > https://en.wikipedia.org/wiki/Total_harmonic_distortion > can anyone guide me? > Thanks in advance > >
Re: Why when I send a complex file with harmonic sequence f1 f2 f3 ...fn, In receiver haromoic sequence gain is changed?
I mention that problem is not related to USRP, it is a bug in my code and calculations.USRP sends complex samples high-quality less for short distances... Thanks very much On Sun, May 8, 2022 at 2:38 PM sp h wrote: > With this description for removing this frequency-selective channel which > solution exist in digital communications? > > On Sun, May 8, 2022 at 10:36 AM sp h wrote: > >> Why when I send a complex file (With USRP x300) with harmonic sequence f1 >> f2 f3 ...fn, In receiver (USRP x310) harmonic sequence gain is changed? >> For example, I have a complex file the FFT of a signal has some harmonic >> peaks f1 f2 ...fn >> gain of harmonic peaks in the original file is: >> f1:2 >> f2:2 >> f3:3 >> f4:4 >> ... >> fn=3 >> >> But receiver loss or amplify harmonic peaks are not consonant >> For example, in the receiver we had: >> f1:5 >> f2:1 >> f3:4 >> f4:7 >> ... >> fn=.1 >> >> So when I used MatLab to convert complex files to Wav and play file >> original file and received file is not exactly the same... >> some higher frequency is suppressed or the sound is more bass. Is this >> subject related to TDH? >> In USRP what's TDH? >> https://en.wikipedia.org/wiki/Total_harmonic_distortion >> can anyone guide me? >> Thanks in advance >> >>
How to convert complex float file to complex int 16 in Gnuradio For USRP input...
In Gnuradio there are different types that you can see in the below screenshot? How to convert complex float file to complex int 16 in Gnuradio For USRP input I need to convert complex float to complex int... , My question is how can I do this action? Thanks in advance [image: Screenshot from 2022-06-30 19-01-27.png]
Changing output of selector block using stream tags
Hello, I am new to GNU Radio and am wondering question in the subject is possible. In my application, I am transmitting a signal from a file source and need to record sections of that signal at periodic intervals into a file sink. However, I noticed that the E320 receives noise before the desired signal begins transmitting and results in noise being recorded at the beginning of the file. Is it possible to use a selector block to switch the output to the file sink path after receiving some "enable" stream tag in order not to record noise at the beginning? Any alternative solutions would also be appreciated. Thank you in advance. Regards, Phillip