JVC VN-E4U API Guide - Page 28

Setting JPEG Parameters Added to FTP from VN-E4, Acquiring Alarm Action from VN-E4, Message&200 OK

Page 28 highlights

5. API for Acquiring/Changing Parameters of VN-E4 _ 5.4. Alarm Setting Example When acquiring setting of Object 1 Acquisition of input CH: /api/param?application.object(1).source Acquisition of frame size: /api/param?application.object(1).framesize Acquisition of frame rate: /api/param?application.object(1).framerate Acquisition of BeforeTrigger: /api/param?application.object(1).prerec Acquisition of AfterTrigger: /api/param?application.object(1).postrec Example of Response Acquisition of input CH: application.object(1).source=video.input(01)&200 OK Acquisition of frame size: application.object(1).framesize=vga&200 OK Acquisition of frame rate: application.object(1).framerate=10&200 OK Acquisition of BeforeTrigger: application.object(1).prerec=2&200 OK Acquisition of AfterTrigger: application.object(1).postrec=2&200 OK Interpretation Acquire the parameter of the specified object. This object is used by the API for setting FTP. Specify the number of object(number) between the range of 1 to 8. Setting JPEG Parameters Added to FTP from VN-E4 Format Setting of frame rate: Setting of BeforeTrigger: Setting of AfterTrigger: /api/param?application.object(Number).framerate=data /api/param?application.object(Number).prerec=data /api/param?application.object(Number).postrec=data Example Set frame rate to 5 fps: Set BeforeTrigger to 3 seconds: Set AfterTrigger to 3 seconds: /api/param?application.object(1).framerate=5 /api/param?application.object(1).prerec=3 /api/param?application.object(1).postrec=3 Example of Response Setting of frame rate: Setting of BeforeTrigger: Setting of AfterTrigger: application.object(1).framerate&200 OK application.object(1).prerec&200 OK application.object(1).postrec&200 OK Interpretation Perform setting for the specified object. This object is used by the API for setting FTP. Specify the number of object(number) between the range of 1 to 8. The maximum value for prerec/postrec is 60. In addition, input CH and frame size for each object are fixed and cannot be changed. Acquiring Alarm Action from VN-E4 Format /api/param?application.event(Number).action Example When acquiring action of Alarm No. 1 /api/param?application.event(1).action Example of Response application.event(1).action=mailto/[email protected]/none/ Message&200 OK 28

  • 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

28
5. API for Acquiring/Changing Parameters of VN-E4 _
5.4. Alarm Setting
Example
When acquiring setting of Object 1
Example of Response
Interpretation
Acquire the parameter of the specified object. This object is used by the API for setting FTP. Specify the
number of object(number) between the range of 1 to 8.
Setting JPEG Parameters Added to FTP from VN-E4
Format
Example
Example of Response
Interpretation
Perform setting for the specified object. This object is used by the API for setting FTP. Specify the number of
object(number) between the range of 1 to 8. The maximum value for prerec/postrec is 60. In addition, input
CH and frame size for each object are fixed and cannot be changed.
Acquiring Alarm Action from VN-E4
Format
/api/param?application.event(Number).action
Example
When acquiring action of Alarm No. 1
/api/param?application.event(1).action
Example of Response
application.event(1).action=mailto/[email protected]/none/
Message&200 OK
Acquisition of input CH:
/api/param?application.object(1).source
Acquisition of frame size:
/api/param?application.object(1).framesize
Acquisition of frame rate:
/api/param?application.object(1).framerate
Acquisition of BeforeTrigger:
/api/param?application.object(1).prerec
Acquisition of AfterTrigger:
/api/param?application.object(1).postrec
Acquisition of input CH:
application.object(1).source=video.input(01)&200
OK
Acquisition of frame size:
application.object(1).framesize=vga&200 OK
Acquisition of frame rate:
application.object(1).framerate=10&200 OK
Acquisition of BeforeTrigger:
application.object(1).prerec=2&200 OK
Acquisition of AfterTrigger:
application.object(1).postrec=2&200 OK
Setting of frame rate:
/api/param?application.object(Number).framerate=data
Setting of BeforeTrigger:
/api/param?application.object(Number).prerec=data
Setting of AfterTrigger:
/api/param?application.object(Number).postrec=data
Set frame rate to 5 fps:
/api/param?application.object(1).framerate=5
Set BeforeTrigger to 3
seconds:
/api/param?application.object(1).prerec=3
Set AfterTrigger to 3
seconds:
/api/param?application.object(1).postrec=3
Setting of frame rate:
application.object(1).framerate&200 OK
Setting of BeforeTrigger:
application.object(1).prerec&200 OK
Setting of AfterTrigger:
application.object(1).postrec&200 OK