CTT Index range varries on 2d String Array #1470
Replies: 6 comments 4 replies
-
I would guess it has something to do with the Node you configured the CTT with that has a 2D string array value and whether or not the index range parameter is working when reading the value of that Node. |
Beta Was this translation helpful? Give feedback.
-
Actually i have no multi dimensional arrays configured in CTT ? |
Beta Was this translation helpful? Give feedback.
-
Ah ok there i have a String array configured. But what should i check there ? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Hello in the meantime i got the following Answer from Allmendinger to this case: |
Beta Was this translation helpful? Give feedback.
-
I'll be in the UA WG meeting tomorrow to discuss this. It may end up
requiring a fix in Milo, we'll see.
…On Mon, Jun 23, 2025 at 1:39 AM Johann Wesely ***@***.***> wrote:
Hello in the meantime i got the following Answer from Allmendinger to this
case:
"In the test case Monitor Value Change / 038, the CTT uses the length of
the first element to calculate the IndexRange, as you have correctly
analyzed. However, this is at first glance not a problem either. Let's take
the string array ["ABCDEFGH", "ABC", "ABCDE", "ABCDEFG"] as an example. The
script then creates a MonitoredItem with the IndexRange "0:2,5:7", that is,
from the first 3 elements of the array, the characters 5-7 -> ["FGH", "",
""]. At that point, an array with 3 elements is expected, with the last 2
elements representing NULL values (or empty strings). We are currently
sitting with the Director of Compliance of the OPC Foundation and have also
discussed this behavior. The topic will be handed over to the UA Working
Group for discussion, so that a clarification - also in the specification -
can be made." So we have to wait i guess but is there something we can do ?
Greetings Johann
—
Reply to this email directly, view it on GitHub
<#1470 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AACTCMLXERTJLDAHM67ZBY33E64KZAVCNFSM6AAAAAB5V5RCYKVHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTGNJUHA3DCNQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, i have the following CTT Error

Any Suggestions on this ?
Greetings Johann
Beta Was this translation helpful? Give feedback.
All reactions