core

#### Pass Back Settings from Subroutine

(This item pertains to the check boxes on the General tab of the Setup Options dialog box. You can open it through the F5 key or through the Edit | Preferences | Setup menu option.)

This check box determines whether or not global settings applied within a subroutine are changed permanently for the remainder of the measurement routine when the execution flow returns out of the subroutine.

- If you select this check box, any global settings within the subroutine are "passed back" and used for the remainder of the measurement routine.

- If you clear this check box, any global settings within the subroutine only apply while within that subroutine. When the execution flow returns out of the subroutine, the previous settings are restored.

For example, suppose you have a SCANSPEED/10 statement before your subroutine and a SCANSPEED/5 statement somewhere within your subroutine. If you select this check box, when the execution flow leaves the subroutine, the scan speed of 5 is passed back and used for the remainder of the measurement routine. If you don't select this check box, the scan speed will automatically return to its original value of 10 after the execution flow leaves the subroutine.