AdvancedHMI Software
General Category => Support Questions => Topic started by: habadeer on October 15, 2017, 04:50:40 PM
-
I am getting an "Offset plus number of elements extends beyond ..." when trying to read a single element from an array of boolean using the CLX read method. Oddly I wasn't getting this error using the 398t version. This has only recently popped up in the 399x version.
The original call looked like this:
newVal = CLX.Read ("BOOLARR[0]");
I tried explicitly specifying the number of elements like this and got the same result:
newVal = CLX.Read ("BOOLARR[0]", 1)[0];
Any help is appreciated.
Update: Status Code = 255 (Not sure if that helps.)
-
How many elements do you have in your BOOLARR ?
I did a quick test with a 30 element bool array and haven't been able to replicate this.
-
So I must have something screwed up, but moving on from that, I have discovered a bigger problem. I'll post separately if I cannot find a solution.
Thanks!