Handling arrays in TestStand is pretty limiting and more often that not you have to pop into a code module to perform any sort of array handling.
The following is the default functions that can be used in expressions:
[Array
GetArrayBounds(array, lower, upper) Retrieves the upper and lower bounds of an array.
GetNumElements(array) Returns the number of elements in an array.
InsertElements(array, index, numElements) Inserts new elements into a one-dimensional array.
RemoveElements(array, index, numElements) Removes elements from a one-dimensional array.
SetArrayBounds(array, lower, upper) Changes the bounds of an array.
SetNumElements(array, numElements) Sets the number of elements in a one-dimensional array.
]
I would like to see this expanded to avoided have to resort to using code module.
The following is some suggestion:
Array Subset function
Array Max & Min
Replace Array Subset function
Search 1D Array
Sort 1D Array
regards
Ray Farmer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.