14
3. Acquiring Alarm from VN-E4 _
3.1 Procedure
1) The client establishes a TCP connection to port number 32040.
2) When motion is detected from the video image of VN-E4, or when there are changes to the alarm input (make or break), VN-E4 will send
out alarm information in the following format. The first 4 lines indicate the current alarm input status (make or break). The following 4
lines indicate whether motion has been detected at each of the video input channel.
peripheral.input_pin.pin(1).status=break<CRLF>
peripheral.input_pin.pin(2).status=break<CRLF>
peripheral.input_pin.pin(3).status=make<CRLF>
peripheral.input_pin.pin(4).status=break<CRLF>
video.input(1).detection(motion).status=on<CRLF>
video.input(2).detection(motion).status=off<CRLF>
video.input(3).detection(motion).status=off<CRLF>
video.input(4).detection(motion).status=off<CRLF><CRLF>
3) The client can disconnect TCP32040 to end the alarm acquisition.
3.1 Procedure
3. Acquiring Alarm from VN-E4