Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Metadata recording behaviour when changing the frequency parameter during Program execution. #46

Open
KishanJ29 opened this issue Jan 16, 2023 · 1 comment

Comments

@KishanJ29
Copy link

I have source installed digital_RF blocks main 3.8 branch using following commands,

git checkout maint-3.8
git submodule update --init --recursive
mkdir build
cd build/
cmake ../
make
sudo make install

I would like to know what happens if we suddenly change frequency during running of program and how is it notified in metadata.

I have set the variable "Frequency" value to QR GUI range gnu radio block. So during running of program when the RF and metadata is being recorded if I change the slider value of frequency. Will the corresponding changed frequency value will be reflected in the metadata and RF recording.

Thanks in advance!

@ryanvolz
Copy link
Member

Hi @KishanJ29! Currently, changing the frequency is not reflected in the metadata. This would be a nice feature, and probably more work needs to happen to improve metadata handling in GNU Radio flowraphs in general.

You can try modifying https://github.com/MITHaystack/digital_rf/blob/master/python/gr_digital_rf/digital_rf_sink.py#L376 (in this case, just uncomment that line) to enable the ability to process stream tags other than "metadata". In that part that was commented out, it used to process "rx_freq" stream tags like you might want, but we encountered various issues that made it easier to disable. You might have better luck now, but I don't know if changing the frequency with the QT GUI Range block will create the appropriate "rx_freq" tag or if there's more that would need to be done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants