TmGetMethod Function

Returns the data structure of the specified method.

Usage

method_call = TmGetMethod(tool_name, method_name)

Parameters

tool_name—A string containing the unique name of a VDA Tool.

method_name—A string containing the name of a method.

Returned Value

method_call—The name of the procedure in which the method was set.

Discussion

The method data structure contains two tags: the name of the method procedure and a variable for user data.

Example

The following command shows that a method procedure called WzPlotDisplay is registered with the TM_DISPLAY method in the VDA Tool instance WzPlot_0.

PRINT, TmGetMethod('WzPlot_0', 'TM_DISPLAY') 
; PV-WAVE prints: { WzPlotDisplay{}}

See Also

TmEnumerateMethods, TmExecuteMethod, TmSetMethod