07-23-2007 08:35 AM
Hi,
We have a 1-D array numbered from 2 to 15 (as it reflects the numbers used on the product)
We have the Lower Bound set to 2 and the upper bound at 15.
Under each of these are 1 to 33 1-D arrays and under each of these is a 1 to 5 1-D array
When we used this array (2 to 15) in the “Edit Statement Step” in Test Stand the expression shows as red.
With out re numbering the array (2 to 15) is there any way to get Test Stand to accept this as a correct enter?
Thanks for the help
Simon
Just been introduced to TestStand (3.1 and 2.0.1) on the 2ed June 2007.
07-23-2007 10:17 AM
Hi,
Sorry, panic over!!!
It was not the array that was the problem but the pointers into the array.
The program was setup to use local variable pointer to got into the array.
These local variables were set to 0 (zero) but when Test Sand picked up on these the error was occurring because the array started at 2 and 1 not 0.
By changing the initial value to which the local variable was set we no longer have red in the “Edit Statement Step”
Sorry for the hurried requested.
Thanks
Simon