Introduction
This page covers the ICD-001 Camera Command.
Contents
...
Table of Contents | ||||||
---|---|---|---|---|---|---|
|
...
Camera Command Example
Code Block | ||
---|---|---|
| ||
<!—MsgId is the unique id of the message being sent --> <!—CommandType defines the type of action required --> <!—CameraId is the unique id of the camera being controlled --> <?xml version="1.0" encoding="utf-8"?> <CameraCommand xmlns=”http://navtechradar.com/CameraCommand” xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance" MsgId="21" MsgTimeStamp="2012-02-14T11:23:15" CommandType="ManualOverride" CameraId="2"> <!-- The sender element is optional --> <Sender SenderId ="XFSControlSuite:1" NetworkAddress="192.168.24.5" NetworkPort ="2077"/> </CameraCommand> |
...
Camera Command Attributes
Attributes | Description | Type | Notes |
MsgId | Unique message Id | Long | This must be globally unique across all message types |
MsgTimeStamp | Date and time that the message was sent | DateTime | |
CommandType
| Type of Camera Command:
| CameraCommandTypeList | |
CameraId | Id of the camera which is the target for this message | Int | This must match the configured User Id |
for the target camera in Witness | |||
ExternalCameraId | External Id of the camera which is the target for this message | string | This must match the configured External Id for the target camera in Witness, if this is present the system ignores CameraId |
Payload Element
The payload carries data specific to a command. Each command that requires a payload is detailed in this document and each of the payload elements is included within the appropriate XSD.
...
When Witness receives this command it starts a timer. The duration of this timer is set within the Witness configuration, but by default it is 10 seconds. If another command is not received before this timer expires then Witness will resume automatic control.
...
Info |
---|
To avoid excessive load on the camera controller it is not recommended to send this command more than once a second. |
The following example sends a manual override command for camera 2.
Camera Manual Override Example
Code Block | ||
---|---|---|
| ||
<!—MsgId is the unique id of the message being sent -->
<!—CommandType defines the type of action required -->
<!—CameraId is the unique id of the camera being controlled -->
<?xml version="1.0" encoding="utf-8"?>
<CameraCommand xmlns=”http://navtechradar . com/CameraCommand” xmlns:xsi="http://www.w3.org/2001/XMLSchema-Instance" xmlns:xsd=http://www.w3.org/2001/XMLSchema MsgId="12" MsgTimeStamp="2012-02-14T11:23:15" CommandType="ManualOverride" CameraId="2"> <!-- The sender element is optional --> <Sender SenderId ="XFSControlSuite:1" NetworkAddress="192.168.24.5" NetworkPort ="2077"/> </CameraCommand> |
...
...
Related Information
Filter by label (Content by label) | ||||||
---|---|---|---|---|---|---|
|
...