Specifications
538 Chapter 18
COM Interface Reference
Application object
SweepStart event
Explanation Indicates specified sweep (measurement) has started.
Parameter SweepMode: To be selected from the following.
Examples The following is an example of loading and showing a user form (Abort_yn) on the screen
when the measurement of calibration data or fixture compensation data has started (the
program code of Abort_yn is not included in this sample). The following program has to be
described in user form or class module.
Example 18-11 Example of using SweepStart event
Public WithEvents Evnt As E4991ALib.Application
Private Sub Evnt_SweepStart(ByVal Mode As SweepMode)
If Mode = Calibration Or Compensation Then
Load Abort_yn
Abort_yn.Show
End If
End Sub
CompleteSweepAveraging event
Explanation Indicates specified number of sweep averaging is completed when the sweep averaging
function is used.
Examples The following is an example of producing a beep sound when the specified number of
sweep averaging is completed. The following program has to be described in user form or
class module.
Example 18-12 Example of using CompleteSweepAveraging event
Public WithEvents Evnt As E4991ALib.Application
Private Sub Evnt_CompleteSweepAveraging()
Application.SCPI.Output "SYST:BEEP"
End Sub
Measure Specifies sweep
Calibration Specifies measurement of calibration data
Compensation Specifies measurement of fixture compensation data