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

ApplyLimitFunction in Packer #68

Open
Uight opened this issue Jul 29, 2024 · 0 comments
Open

ApplyLimitFunction in Packer #68

Uight opened this issue Jul 29, 2024 · 0 comments

Comments

@Uight
Copy link
Contributor

Uight commented Jul 29, 2024

I would like to have a ApplyLimit function in the Packer to limit the values send to TxPack or limit the values received from RxUnpack.

The problem is that it is a bit unclear how you would implement this.
If both limits are 0 the limiter is anactive but i dont realy want to check for that everytime. i would like one of the following options:

  1. property in the signal das is set when signal is created that is true if a valid limit is there.
  2. we could set the limits to -inf and inf if no limit is set then we could always apply the limit (this is however a bit confusing as you would expect a parser to just show what was read in.)
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

1 participant