We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Another one for the pile of string related issues: it looks like strings are read at a fixed 1024 characters in e.g. plc.read_by_name():
plc.read_by_name()
# pyads_ex.py: if type_is_string(data_type): data = (STRING_BUFFER * PLCTYPE_STRING)()
# constants.py: STRING_BUFFER: int = 1024
Which seems unnecessary because the returned type of a string looks like "STRING(80)" and would contain the right size perfectly fine.
"STRING(80)"
EDIT: Same for WSTRING (which is double-byte USC-2 encoded)
WSTRING
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Another one for the pile of string related issues: it looks like strings are read at a fixed 1024 characters in e.g.
plc.read_by_name()
:Which seems unnecessary because the returned type of a string looks like
"STRING(80)"
and would contain the right size perfectly fine.EDIT: Same for
WSTRING
(which is double-byte USC-2 encoded)The text was updated successfully, but these errors were encountered: