FZ_PanDAForm.ChangeSceneGroup

Switches a scene group

Public Shared Function ChangeSceneGroup( _
   ByVal sceneGroupNo As Integer, _
   ByVal sceneNo As Integer _
) As Integer

Parameters
sceneGroupNo
Scene group number to be switched
Input
sceneNo
Scene number to be switched
Input

Return Value
Returns 0 when switching a scene group succeeded.
Otherwise returns a non-zero value.

Description
Switches to a scene group/scene of the specified scene group number/scene number.
* When you execute this method, always disable a measurement trigger (execute refMeasureStop ) before the execution.
After switching a scene group, enable the measurement trigger (execute refMeasureStart ).

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 group 10, scene 0
       ChangeSceneGroup(10, 0)

       ' Enables a measurement trigger
       MeasureStart()

   End Sub