Go to documentation repository
Messages sent to port 900 are passed to the video subsystem directly; for this reason, such messages have a different syntax.
Messages sent to the video subsystem have the following syntax:
OBJECT TYPE|OBJECT ID|ACTION [|PARAMETER<VALUE>]
Below is the syntax of messages that contain n parameters.
OBJECT TYPE|OBJECT ID|ACTION [|PARAMETER 1<VALUE>,PARAMETER 2<VALUE>,…,PARAMETER N<VALUE>]
Attention!
The message parameters are described in the table below.
Parameter | Description |
Object type | Object type (GRABBER, CAM, or MONITOR) |
Object ID | The object ID set during creation of the object in Axxon PSIM |
Action | Action (command) |
Parameter <Value> | Parameter name. The value is enclosed by angle brackets |
To check the network, you can use the <trash:N> parameter, where N is the length of the parameter in bytes. As a result, a text string of a given length will be generated in the message, containing numbers and Latin letters. The parameter name can be anything. For example, if you add the following parameter to the message
param1<trash:128>
the following text string will be generated in response
param1<88n9ESCAFyBfHyXzIoPpOF1GirSmlMJ1Ahh9oYZDIQou2RgWY0jXlaL2HhaX9ZY2oKfkQYLuPLg8bGNQK6OumvQjVp1G7BEt1wFsw6FApzIZ3NbBUJNCKnP335OlgEwN>
Example 1. Setting camera 1 to recording mode.
CString msg = “CAM|1|REC”;
SendMsg (id,msg);
Example 2. Saving video from all cameras to local disk C.
CString msg = “GRABBER|1|SET_DRIVES|drives<C:\>” ;
SendMsg(id,msg);
Note
Note