Page 1 of 1

Restrinct String Length of an attribute within a signal

PostPosted: Thu Nov 22, 2018 1:35 am
to define an interface specification we modeled several signals in MagicDraw 18.5 - with SysML profile.
I have typed the attributes as String (ValueType).
As bandwidth is a concern - the maximum String Length shall be restricted (e.g. 20 characters)
I have set an unnamed constrained like {[]<=20}. But i don’t get this constrain visualized just behind the attribute?
Another option would be derive specific value types like char[20].
What is the suggested way forward?
Many thanks