Send Topic Feedback | See Object Hierarchy Chart
PC-DMIS 2023.1 Object Library
PCDLRN ActiveX DLL > ApplicationObjectEvents Object : OnObjectAboutToExecute2 Event
An expression that evaluates to a PartProgram object to determine the measurement routine for which this event should wait.
An expression that evaluates to a Command object to determine the command about to be executed.
Long value representing the arm on a multiple arm machine that is about to execute the command (Cmmd) causing the event to launch.
OnObjectAboutToExecute2 Event
Description

This event gets launched immediately before the specified command (Cmmd) gets executed on a specified arm (Arm) of a multiple arm system.

Syntax
Visual Basic
Public Event OnObjectAboutToExecute2( _
   ByVal PartProg As PartProgram, _
   ByVal Cmmd As Command, _
   ByVal Arm As Long _
)
Parameters
PartProg
An expression that evaluates to a PartProgram object to determine the measurement routine for which this event should wait.
Cmmd
An expression that evaluates to a Command object to determine the command about to be executed.
Arm
Long value representing the arm on a multiple arm machine that is about to execute the command (Cmmd) causing the event to launch.
See Also