JVC VN-E4U API Guide - Page 14

Acquiring Alarm from VN-E4, 3.1 Procedure

Page 14 highlights

3. Acquiring Alarm from VN-E4 3. Acquiring Alarm from VN-E4 _ 3.1 Procedure 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 peripheral.input_pin.pin(2).status=break peripheral.input_pin.pin(3).status=make peripheral.input_pin.pin(4).status=break video.input(1).detection(motion).status=on video.input(2).detection(motion).status=off video.input(3).detection(motion).status=off video.input(4).detection(motion).status=off 3) The client can disconnect TCP32040 to end the alarm acquisition. 14

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80

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