FZ_PanDAForm.Measure

Performs measurement processing

Public Shared Function Measure( _
) As Integer
 
Public Shared Function Measure( _
    ByVal wait As MeasureWait _
) As Integer
 
Public Shared Function Measure( _
    ByVal preImageNo As Integer _
) As Integer
 
Public Shared Function Measure( _
    ByVal preImageNo As Integer, _
    ByVal wait As MeasureWait _
) As Integer

Parameters
preImageNo
Logging image number to be measured.
Performs a measurement for the latest logging image if 0 is specified, and for the previous logging image if 1 is specified.
Input
wait
Specifies According to which timing the processing of Measure() ends and whether it returns.
-NoWait It returns at once, even the measurement end is not waited for.
-WaitMeasureProc It returns, even the measurement end is waited for.
-WaitMeasureDisp It returns, even the end of the measurement and the the measurement result display that CoreRA do is waited for.
Input

Return Value
Returns 0 when the measurement is successfully executed.
Otherwise returns a non-zero value.

Description
Performs the measurement processing. When the argument is specified, performs the measurement processing for that logging image.
This method only prepares a trigger for the measurement. Therefore, processing that obtains measurement as a result of this method does not work as expected.

Example
   Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click

       ' Performs measurement processing
       Measure()

       ' Performs a measurement processing using the latest logging image
       Measure(0)

   End Sub