FZ_PanDAForm.ChangeScene
Switches the scene
Public Shared Function ChangeScene( _
ByVal sceneNo As Integer _
) As Integer
Parameters
sceneNo
|
Scene number to be switched
|
Input
|
Return Value
Returns 0 when switching of a scene succeeded.
Otherwise returns a non-zero value.
Description
Switches to the scene of the specified scene number.
* When you execute this method, always disable a measurement trigger (execute
MeasureStop ) before the execution.
After switching a scene, enable the measurement trigger (execute
MeasureStart ).
Example
Private Sub btnOK_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnOK.Click
' Disables a measurement trigger
MeasureStop()
' Switches to the scene 10
ChangeScene(10)
' Enables a measurement trigger
MeasureStart()
End Sub