Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2022.2 Object Library
PCDLRN ActiveX DLL > PartProgram Object : AsyncExecute Method
AsyncExecute Method
Description
This function starts execution of the measurement routine and then returns immediately, allowing for asynchronous execution.
Syntax
Visual Basic
Public Function AsyncExecute() As Boolean
Return Type
Boolean value. Boolean returns true if the function succeeds, false if it fails. TRUE if the execution of the measurement routine and the return of control was successful, FALSE otherwise.
Example

Dim ExecDlg As PCDLRN.ExecutionDialog

Part.AsyncExecute

ExecDlg = Part.GetExecutionWindow(1)

ExecDlg.Stop

‘ code the receives external loaded signal

ExecDlg.Continue

See Also