01-31-2019 06:15 AM
Hello all,
So I have initialised a 1d array that is set to be the size of the amount of test sockets active using the following code.
SetNumElements(FileGlobals.ReportPaths,FileGlobals.NumberOfSockets)
I then use a FOR Loop to iterate thriugh the array using the LoopCount as the index to insert the string.
Uswing the following code.
#NoValidation(InsertElements(FileGlobals.ReportPaths,"[Locals.LoopCount]",Parameters.ReportFilePath))
I keep getting an error message stating that "[Locals.LoopCount]" is out of range.
Any ideas?
Solved! Go to Solution.
01-31-2019 06:21 AM
Solved. Don't use the TestStand API.
Do it like you would any other progrmaming language.
FileGlobals.ReportPaths[Locals.LoopCount] = Parameters.ReportFilePath
02-06-2019 06:39 AM