-
Notifications
You must be signed in to change notification settings - Fork 13
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
Support for long DBF_STRING fields #22
Comments
I'm not clear on how this would work. I guess you mean to use |
For monitors and gets using This may be harder than I thought to do properly though, and we might want to change dbAccess to make it simpler. As I showed above a pvget from pvaSrv works, but that's because the code just copies an unlimited zero-terminated string from The code for |
This was my reading of the situation :)
I would prefer this to filling up QSRV with workarounds for limitations in this API. |
Since QSRV talks directly to dbAccess it could determine how long a DBF_STRING field's buffer is (they are allowed to be longer than MAX_STRING_SIZE, e.g. the
NAME
field, and theVAL
fields of the lsi, lso and printf record types). QSRV could thus provide access to long string fields without truncation, although it doesn't at the moment.This is using pvaSrv, which handles this long string's value (although possibly more by luck than by design):
This is using QSRV, which truncates the long string's value at 39 characters:
The text was updated successfully, but these errors were encountered: