GetSteppedParameter

Top  Previous  Next

This function returns all the attributes of each stepped parameter.

 

returnValue = test.GetSteppedParameter( paramIndex, paramValueIndex )

 

The paramIndex is based on the stepping priority.

 

The paramValueIndex is shown below.

 

Using (0,0) returns the number of stepped parameters in the test.

 

 

 

Example:

 

steppedParameterCount = test.GetSteppedParameter( 0, 0 )

 

PRINT "Using the following stepped parameters."

PRINT "Name", "Step Start", "Step End", "Step Step", "Step Count", "Step Index", "Step Value", "Step Priority"

FOR i = 1 to steppedParameterCount

 

 ' Stepped parameter values

 StepName = test.GetSteppedParameter( i, 1 )

 stepStart = test.GetSteppedParameter( i, 2 )

 stepEnd = test.GetSteppedParameter( i, 3 )

 stepStep = test.GetSteppedParameter( i, 4 )

 stepCount = test.GetSteppedParameter( i, 5 )

 stepIndex = test.GetSteppedParameter( i, 6 )

 stepValue = test.GetSteppedParameter( i, 7 )

 stepPriority = test.GetSteppedParameter( i, 8 )

 

 PRINT stepName, stepStart, stepEnd, stepStep, stepCount, stepIndex, stepValue, stepPriority

 

NEXT