string cut off / max string size?

Questions regarding the use of the UaExpert.

Moderator: uaexpert

Post Reply
martenbyebye
Hero Member
Hero Member
Posts: 21
Joined: 03 Mar 2017, 16:08

string cut off / max string size?

Post by martenbyebye »

Hi,

I have a data access node with a long string (77000 characters). It is truncated to around 33000 characters when I read using UaExpert. We are not changing the EndpointConfiguration in the server, i.e. it uses the default settings (MaxMessageSize = 16777216; MaxStringLength = 16777216).

And the client the settings are:
- Stack.Serializer_MaxMessageSize = 16777216
- Stack.Serializer_MaxStringLength = 16777216

When I run a different test that only uses the server and client SDK, not UaExpert, then nothing is cut off, i.e. the string can be 16 million characters long. But with UaExpert, and another 3rd party client, the string is cut off. Is there another setting somewhere that needs to be changed?

User avatar
Support Team
Hero Member
Hero Member
Posts: 3064
Joined: 18 Mar 2011, 15:09

Re: string cut off / max string size?

Post by Support Team »

Hello martenbyebye,

the display widgets used by UaExpert have a limited maximum string length, this is why the string value might show truncated. For strings that long it might be more practical to use a file object (as specified in the specification part 5, annex C), which allows writing and reading the value in batches.
Best regards
Unified Automation Support Team

Post Reply