07-27-2011 09:51 AM
Hi, I am in trouble with passing data between TestStand and my custom Step Type.
I developed some step type in LV2009 and now I need to make them MultipleNumericTest. The user edit the step type and creates a list of mesures and limits. When the user press the Save button all these data should fill the array Step.Result.Measurement[], but I have this error code:
-17325; Wrong number of array indeces.
The array Step.Result.Mesurement is empty, and I cannot index an empty array.
How can I fill this array programmately?
Thanks.
07-28-2011 12:53 AM
Use either of the following:
PropertyObject.SetValNumber ( lookupString, options = 0x1, newValue)
PropertyObject.SetValNumberByOffset ( arrayOffset, options, newValue)
If you use SetValNumber set the options parameter to 1 (Insert if Missing)