Specifications

534 Chapter 18
COM Interface Reference
Application object
CompenMeasure method
Explanation Measures fixture compensation data (Open/Short) and waits for the completion of
measurement. This method sends a response back.
VB syntax Application.CompenMeasure(CompenType)
or
CompenMeasure(CompenType)
Parameter CompenType: To be select from the following.
Response Value of long integer type (1 or 0) is sent back.
Examples The following is a program example of indicating the completion of measurement after
connecting the open standard of the fixture compensation kit to the test fixture and
performing the measurement.
Example 18-6 Example of using CompenMeasure method
Dim Bool As Long
MsgBox "Connect OPEN Compen Standard to Test Fixture"
Bool = Application.CompenMeasure(CompenOpen)
If Bool = 1 Then
MsgBox "OPEN Compensation Done!"
ElseIf Bool = 0 Then
MsgBox "OPEN Compensation Aborted!"
End If
CompenOpen Specifies measurement of Open compensation data.
CompenShort Specifies measurement of Short compensation data.
1 Measurement was completed.
0 Measurement was interrupted.