CreateAssertionErrorMessageNonEqualArrayBounds (FUN)ΒΆ
FUNCTION CreateAssertionErrorMessageNonEqualArrayBounds
Helper function to create an error message for non-equal bounds of an array.
- InOut:
Scope
Name
Type
Comment
Inout
wsAssertError
WSTRING(Constants.WSTRING_LENGTH)
Input
diExpectedBound
DINT
the upper or lower bound of the reference array
diActualBound
DINT
the upper or lower bound of the actual array
xIsLowerBound
BOOL
if set to
TRUE
the error message containsLower bounds
otherwiseUpper bounds
diDimension
DINT
the dimension in which the bounds differ