Video.Out.Device
Description
Marks an Object as an analog monitor capable of the ShowCamera, RemoveCamera and Split Operations. Cameras with the Functionality Video.In.Device can be shown on these monitors.
Note: Only used for external monitors without archive function.
Operations
ShowCamera
The ShowCamera Operation is used to tell which analog camera should be activated on which pane.
Properties
| Name | Type | Description | Examples |
|---|---|---|---|
| CameraUrl | string | The URL of the analog camera which should be activated on the monitor. | ext[1]:DemoPanel/AnalogCamera[1] |
| Pane | int | The id of the pane, where the analog camera should be activated. The id is a number between 1 and 36. | 1, 2, 3, … 36 |
RemoveCamera
The RemoveCamera Operation is used to remove the given analog camera from the given pane.
Properties
| Name | Type | Description | Examples |
|---|---|---|---|
| CameraUrl | string | The URL of the analog camera which should be removed on the monitor. | ext[1]:DemoPanel/AnalogCamera[1] |
| Pane | int | The id of the pane, on which the camera should be removed. The id is a number between 1 and 36. | 1, 2, 3, … 36 |
Split
The Split Operation allows WinGuard to split an adapter display into several panes.
Every time the split of a display is changed in the Video Manager, WinGuard will send this Operation with the selected format to the adapter.
If successful, the adapter should update the SplitFormat State accordingly.
Note: The Operation must be added in the Module XML, otherwise the split Operation can only be executed via the VideoManager.
Properties
| Name | Type | Description | Examples |
|---|---|---|---|
| Format | string | The requested format of the adapter display. | See SplitFormat |
States
SplitFormat
The State SplitFormat represents the current format of an external monitor. When this State is changed WinGuard updates the visualization of the corresponding monitor Datapoint.
The list of possible split formats corresponds to the available options in the context menu of a display control in the Video Manager.
| Type | Description | Possible values |
|---|---|---|
| string | The value represents the current format of the external monitor. | “1x1”, “2x2”, “3x3”, “4x4”, “5x5”, “6x6”, “2x1”, “3x2”, “4x3”, “5x4”, “6x5”, “1+2”, “1+3”, “1+5”, “1+7”, “1+8”, “1+12”, “2+4”, “2+8” |
ActiveCameras
The State ActiveCameras communicates which camera is activated on which pane. When this State is changed, WinGuard updates the visualization of the corresponding analog monitor Datapoint.
| Type | Description | Possible values |
|---|---|---|
| string[#] | The key is the pane id and the value is the URL of the activated camera. This array has to cover all pane ids. If there is no camera activated on the pane the URL is empty. | { “1”: “sst[1]:DemoPanel/AnalogCamera[1]”, “2”: "" } |
Setup
Module XML
<Objects>
...
<!-- TestPanel.Video.Monitor-->
<Object id="Monitor">
<Property id="Number" type="int" address="1" minval="1"/>
<!-- Functionality.Video.Out.Device -->
<State id="SplitFormat" type="string" />
<State id="ActiveCameras" type="string[#]" />
<Operation id="ShowCamera">
<Property id="CameraUrl" type="string" />
<Property id="Pane" type="int" />
</Operation>
<Operation id="RemoveCamera">
<Property id="Pane" type="int" />
</Operation>
<Operation id="Split">
<Property id="Format" type="string"/>
</Operation>
</Object>
...
</Objects>App XML
<Objects>
...
<!-- TestPanel.Video.Monitor -->
<Object id="Monitor">
<App domain="Video" type="Monitor" >
<Functionality id="Video.Out.Device" />
<Mapping>
</Mapping>
</App>
</Object>
</Objects>