To call a subroutine, you need to insert a CALLSUB command into your measurement routine to call an existing subroutine from the current measurement routine or a subroutine from an external measurement routine.
When a CALLSUB command executes, PC-DMIS executes all the commands in the subroutine. This includes even unmarked commands.
The called subroutine must have been created in a valid PC-DMIS version (versions 2015.1 through 2023.1).
Calling a Subroutine by Typing CALLSUB
Calling a Subroutine Using the Call Sub Menu Item
Syntax for the CALLSUB Command
More:
Understanding the Call Subroutine Dialog Box
Passing Arguments into a Subroutine
To add a new argument using the Call Subroutine Dialog box:
To edit existing arguments using the Call Subroutine Dialog box: