Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Possible to attach FileSink to "ADS-B Decoder"? #41

Closed
DominikMair opened this issue Jun 1, 2021 · 1 comment
Closed

Possible to attach FileSink to "ADS-B Decoder"? #41

DominikMair opened this issue Jun 1, 2021 · 1 comment
Labels

Comments

@DominikMair
Copy link

DominikMair commented Jun 1, 2021

Hi!
Thank you very much for this awesome work. I am new to gnuradio and tried to attach a file sink to your ADS-B Decoder with following Errors:

_Error 0:
Connection (
Block - adsb_decoder_0 - ADS-B Decoder(adsb_decoder)
Source - decoded(decoded)
Block - blocks_file_sink_0 - File Sink(blocks_file_sink)
Sink - in(0)
):
No connection known for domains "gr_message", "gr_stream"

Error 1:
Connection (
Block - adsb_decoder_0 - ADS-B Decoder(adsb_decoder)
Source - decoded(decoded)
Block - blocks_file_sink_0 - File Sink(blocks_file_sink)
Sink - in(0)
):
Source IO size "0" does not match sink IO size "8"._

As i am not very familiar with gnuradio i am not sure if this is even possible with your Decoder block. Thus, I appreciate any help.

@mhostetter
Copy link
Owner

Hey. What is your goal with the file sink? For instance, what do you want/expect the file to contain?

You cannot connect a file sink (which only takes stream inputs) to the message output from the ADS-B Decoder. However, if you'd like the decoded stream of bits/bytes in the file, I believe you can connect a PDU to Tagged Stream block in between.

I can't test this right now, but I believe this will work.

image

Repository owner locked and limited conversation to collaborators Sep 10, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
Projects
None yet
Development

No branches or pull requests

2 participants