Define Subroutine Return Values

Defines the return arguments for a subroutine, passing back a specified return status. This returned status is the re- sulting status of the Run Subroutine command in the parent MP. This is equivalent to defining one or more function return values in a traditional programming language.

 

Input Arguments

 

0

Measurement Plan Result

MP Subroutine Return Step Result

The returned status that will be passed back to the calling MP.

1->n

USER

USER

Additional User-defined arguments.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

This command always succeeds.

 

Remarks

This must be the last command of any subroutine that is created.

Any number of return arguments may be added, edited, or removed using the buttons below the comment area of the MP editor. Notice that when adding arguments, you specify the data type and description for each of the arguments. Leaving the list of arguments empty indicates that the subroutine returns no arguments.