Return from Subroutine Now

Returns immediately from a subroutine, passing back a specified return status. This returned status is the resulting status of the Run Subroutine command in the parent MP.

 

Input Arguments

 

0

Measurement Plan Result

MP Subroutine Return Step Result

The step status to return back to the calling MP.

1->n

USER

USER

User-defined return arguments.

 

Return Arguments

None.

 

Returned Status

 

SUCCESS

This command always succeeds.

 

Remarks

Once a Define Subroutine Return Values command has been specified on the last line of the subroutine, you can click the Refresh Arguments button to refresh the list of arguments that will be returned to the calling MP. Use this list to specify what values to return from the subroutine.

The arguments listed in each Return from Subroutine Now command must match those in the Define Subroutine Return Values command.