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

Invalid default values resulting from parsing #22

Open
8 of 26 tasks
ncorgan opened this issue Feb 22, 2020 · 3 comments
Open
8 of 26 tasks

Invalid default values resulting from parsing #22

ncorgan opened this issue Feb 22, 2020 · 3 comments

Comments

@ncorgan
Copy link
Member

ncorgan commented Feb 22, 2020

More TBD

  • FFT: Window parameter needs std::vector<float>, default value is "window.blackmanharris(1024)"
  • Blocks needing boost::shared_ptr as parameter
    • fec_encoder
    • fec_decoder
    • fec_async_encoder
    • fec_async_decoder
    • protocol_formatter_async
    • protocol_parser
    • packet_sink
    • packet_headerparser_b
  • Blocks with Rate parameter set to rate (no quotes, not a string)
    • audio_sink
    • audio_source
    • wavfile_sink
    • freq_xlating_fir_filter
    • dvb2_pilot_generator_cc
    • dvbt2_paprtr_cc
    • file_meta_sink
    • tagged_file_sink
    • throttle
    • header_payload_demux
  • Blocks with empty vlen parameter
    • and
    • or
    • xor
    • not
  • multiply_const: Constant parameter takes in std::vector, populates with single number
  • quadrature_demod_cf: gain parameter populated with math using usual GRC variables
  • burst_shaper: Window Taps populated with "([])", needs quotes removed to be valid
@guruofquality
Copy link
Contributor

Blocks needing boost::shared_ptr as parameter

Any chance the recent fec factory helps with this. I cant think of a way to do this other than give it a string in the parameter box which can be converted to a fec object.

Blocks with Rate parameter set to rate (no quotes, not a string)

I guess rates not defined until someone creates a global variable "rate". Not sure, it mimics GRC here in that someone wanted those blocks to use the variable and not have a default number.

@ncorgan
Copy link
Member Author

ncorgan commented Feb 26, 2020 via email

@ncorgan
Copy link
Member Author

ncorgan commented Jan 5, 2021

This may be fixed with the shift to 3.8, as parsing is moving over from the old GRC XML files to BlockTool output. At the very least, the behavior will be changed.

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