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

Output stdout to GRC message port #16

Open
kirat68 opened this issue Nov 16, 2021 · 2 comments
Open

Output stdout to GRC message port #16

kirat68 opened this issue Nov 16, 2021 · 2 comments
Assignees

Comments

@kirat68
Copy link

kirat68 commented Nov 16, 2021

This feature would be nice to have:

  • Output of stdout to a gnuradio message port for further processing inside the python script
@fventuri fventuri self-assigned this Nov 17, 2021
@fventuri
Copy link
Owner

Tarik,
I looked at the source code for the gr-sdrplay3 GNU Radio module and I don't see anywhere where it is writing directly to stdout (or to the C++ stream std::cout).

I also just ran the FM receiver example (https://github.com/fventuri/gr-sdrplay3/blob/master/examples/FM-Receiver-SDRplay.grc) for about 30 seconds, and the only messages I see on the console are warning and info log messages from the GR_LOG_* functions (or perhaps macros).

Are these log messages the "output to stdout" that you are referring to in your request?

Franco

@kirat68
Copy link
Author

kirat68 commented Nov 17, 2021

Olá Franco,

Sorry was not enough concise. Yes I meant the log messages that are printed in the console.
Would be great the have them printed to a message port. Would be then available in the grc python code for further actions. Nice also would be to have the choice to route them to console (as it is now) or to message port or to both.

For example, catching "overload detected" could be nice to trigger appropriate actions ...

Tarik

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