10-17-2008 04:50 PM
I'm trying to pass a 2 dimensional String Array from TestStand 4 into VB.Net (2003), however the array in VB.NET is somehow in the wrong format. The array size varies:
Array size is set by:
SetArrayBounds(Locals.asArray,"[0][0]","[5][" + Str(Locals.nMaxSize) + "]")
The Locals.asArray is then passed into a VB.NET function and instead of the array being:
[0][0] = "Name1"
[1][0] = "Attribute"
[2][0] = "Default"
[3][0] = "Class"
[4][0] = "Member"
[5][0] = "Instance"
[0][1] = "Name2"
I seem to get something like:
[0]="Name1"
[1]="Name2"
Is there a way to pass the array in a format that VB.NET will understand?
I also need to Pass a similar array from VB.NET back to TestStand 4
Mike
11-05-2008 03:32 PM
Hi Mike,
Would it be possible for you to attach an example sequence file and VB.NET project that displays this behavior?
12-09-2008 08:21 AM
Mike,
Did you get this issue resolved? Were you able to successfully pass the 2D string array from TestStand into VB.NET?