Specifications

532 Chapter 18
COM Interface Reference
Application object
SingleMeasure method
Explanation Executes sweep under current setting once and waits for the completion of the sweep. If
sweep averaging is enabled, sweep is performed the same number of times as that of the
sweep averaging factor. This method sends a response back.
VB syntax Application.SingleMeasure
or
SingleMeasure
Response Value of long integer type (1 or 0) is sent back.
Examples The following is a program example of performing the sweep once after the DUT is
connected and then giving notification of the completion of the sweep.
Example 18-4 Example of using SingleMeasure method
Dim Bool As Long
MsgBox "Connect DUT to Test Fixture"
Bool = Application.SingleMeasure
If Bool = 1 Then
MsgBox "Sweep Done!"
ElseIf Bool = 0 Then
MsgBox "Sweep Aborted!"
End If
1 Sweep was completed.
0 Sweep was interrupted.