Specifications
Chapter 18 537
COM Interface Reference
Application object
18. COM Interface Reference
SweepEnd event
Explanation Indicates specified sweep (measurement) is completed.
Parameter SweepMode: To be selected from the following.
Examples The following is an example of displaying a message when measurement of calibration
data is completed. The following program has to be described in user form or class module.
Example 18-10 Example of using SweepEnd event
Public WithEvents Evnt As E4991ALib.ApplicationPublic WithEvents
Evnt As E4991ALib.Application
Private Sub Evnt_SweepEnd(ByVal Mode As SweepMode)
If Mode = Measure Then
MsgBox "A measurement is completed."
ElseIf Mode = Calibration Then
MsgBox "A measurement of calibration data is completed."
ElseIf Mode = Compensation Then
MsgBox "A measurement of compensation data is completed."
End If
End Sub
Measure Specifies sweep
Calibration Specifies measurement of calibration data
Compensation Specifies measurement of fixture compensation data