Basic information
Scenes in Voyager give the ability to create a full Scenario of actions under one Scene. Scenes are used in Voyager only, creating Scene for a Web visualization or Client Editor will require another implementation which includes XLogic.
Assigning Scene to Button
This tutorial shows how to assign an existed Scene to a Button in Voyager 5.0. To use this tutorial, please do the following steps in advance:
Open Scene Manager by clicking on the Scenes icon in Voyager tool bar, This will open Scenes window which contains a List of all Scenes. In Scene Manager you can Add, Copy, Delete or Edit Scene.
We will create a new Scene CheckOut, this Scene will do the Following:
- Change the Room Check_out Status to True.
- Change the Room Occupied Status to False.
- Change the Room MUR to True.
Save on The Server Item in here will be compared to a static operand. If the comparison proof true the scene will be saved.
Play on The Server Item in here will be compared to a static operand. If the comparison proof true the scene will be played.
For this tutorial the Play on will be assigned to a VAR item "NETx\VAR\Real\Item1" in BMS Server and to trigger this Scene the Value of this Item should be 1 (other values also can be assigned also other operations can be used).
Using Select you can set an item for this input. it can be VAR or any other item of your choice. For this tutorial , a VAR item that will trigger your Scene to Play on when its value is equal the Input, for this example "Input = 1".
This all means if the Selected Item changed to 1 the Scene will be triggered.
After creating the Scene, and saving the changes the Checkout Scene will appear in the Scene Manager.
As next,from the Object catalog drag and drop the Button in the visualization page; it can be any type of Button from Library or Picture Button.
A double-click on the Button will show the Button properties dialog. In the Object tab and for this tutorial the following configuration should be done:
So what you are doing actually that this button change the Value of this item to 1 . which will trigger the Play on of the Scene because now input is 1.
A small designfor Visualization can be done, for testing the functionality.
Clicking on Check Out Button will trigger the Scene "CheckOut" and Values will change in the BMS Server for the selected items in the scene.