Integrating a DVR
10
Building Technologies 048_DMS_DMS8000_Generic_DVR_Integration_Guide_MP4.50_A6V10331273_a_en
Fire Safety & Security Products 06.2012
– IF_PTZ(…) – If camera supports PTZ commands and PTZ control is selected
on the user interface toolbar, then …
– IF_N_PTZ(…) – If camera does not support PTZ commands or PTZ control is
not selected on the user interface toolbar, then …
– IF_LIVE (…) – If the software is displaying live video, then …
– IF_PLAYBK(…) – If the software is displaying playback video, then …
For any variable, note that the “%%” string is used as separator to indicate both the
beginning and the end of variables or conditions.
Here below is an XML example of parameter configuration including all types of
variables. The viewer expects up to 3 parameters. The first parameter (/t=…) is us-
er defined and can be different depending on the MM8000 condition (plant browser
navigation or event treatment). The second parameter (/in=…) is the video input
number associated with the current selection in MM8000. The third parameter (“/p”)
may or may not be present, depending whether camera is motorised and can sup-
port PTZ control commands.
<CommandLine Value= " "
"/t=%%IF_PB(%%CUST_PARAM_SURVEILLANCE%%)%%%%IF_ET(%%CUST_PARA
M_EVENT%%)%% /in=%%VIDEOIN_NO%%%%IF_PTZ( /p)%%" />
I/O limits
The range of the I/O limit must be between 0 and 256. If =0, no instance of that
type of objects will be used.
The corresponding XML structure can be the following (in the example, three
groups out of four are foreseen with different limits):
<!-- Mandatory fields - System limits-->
<AlarmInputMax Value="2" Note="Max 2 alarm inputs">
</AlarmInputMax>
<AlarmOutputMax Value="1" Note="Max 1 alarm output">
</AlarmOutputMax>
<VideoInputMax Value="4" Note="Max 4 video inputs">
</VideoInputMax>
<VideoOutputMax Value="0" Note="No video outputs">
</VideoOutputMax>
Tip: in Composer (set in Debug mode using a register command in
…\DMS8000\Utilities\Reg\ST_Debug_Yes.reg), on the Custom Settings tab of the
DVR, you can check the invocation string for the selected model.
The Windows event viewer can show the resulting string in the command line after the
variables interpretation (refer to 3.2.2 at p.17).
2.4.2 Folders (XML node TYPE 20, 30, 50, 60)
Folders for inputs and outputs with max. value >0 must be defined in the XML so
that they will be part of the Composer model applied whenever a DVR instance is
inserted in the Composer configuration.
For example, the XML structure for the video input folder can be:
node ID="1000" TYPE="20">
<properties>
<property ID="CustomerText">
<item VAL="Video Inputs Folder" />
</property>
<property ID="TechText">
<item VAL="Video-in Folder" />
</property>