PC-DMIS 2022.1 Object Library
AsyncExecute Method
See Also  Send Topic Feedback | See Object Hierarchy Chart
PCDLRN ActiveX DLL > PartProgram Object : AsyncExecute Method

Glossary Item Box

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

Copyright © 2022. Hexagon Manufacturing Intelligence – Metrology Software, Inc. All Rights Reserved.