11-30-2010 11:37 PM - edited 11-30-2010 11:40 PM
I am fairly new using Testand ..so I would appreciate all the help:
I created a string array using an ActiveX/COM action: PropertyObject.NewSubProperty (lookupString, valueType, asArray, typeName, options)
It creates an empty array of strings[0..empty]. How can I programatically set the upper bound of the array (for example the array of strings[0..8])
Due to my application requirements, I have to use Teststand 3.1
Thank you in advance,
Ellas1
Solved! Go to Solution.
12-01-2010 01:35 AM
Hi,
I think in TS 3.1 you still have to use the TS API PropertyObject.SetDimensions (later TS's this has been superceded by an Array property) or you can use SetNumElements if it's a 1D array. You can of course checkout these function in the TestStand Help.
12-01-2010 01:21 PM - edited 12-01-2010 01:23 PM
Thank you Ray,
the SetNumElements worked great.
George