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

Split values into messaging and formatting #811

Open
BenediktBurger opened this issue Jan 1, 2023 · 0 comments
Open

Split values into messaging and formatting #811

BenediktBurger opened this issue Jan 1, 2023 · 0 comments
Labels
discussion-needed A solution still needs to be determined enhancement instrument

Comments

@BenediktBurger
Copy link
Member

In #784 the question arose, how to modify the message formatting (due to a binary protocol) of values while keeping the messaging (ask of the instrument or channel, respectively).

Some parts of the message formatting of values may cause problems. For example the stripping of white space chars may corrupt a binary string, as a byte might have the value of a white space char by chance.

An instrument and a channel use different ask methods (either through the adapter or the instrument), therefore, the values methods have to be different too.

Several solutions were discussed in #784.
For example values could be split in a messaging part (ask) and a formatting part (the rest).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion-needed A solution still needs to be determined enhancement instrument
Projects
None yet
Development

No branches or pull requests

1 participant