35
5. API for Acquiring/Changing Parameters of VN-E4 _
5.5. Alarm Environment Setting
Acquiring FTP Server User Name Setting from VN-E4
Format
/api/param?application.ftp.user
Example of Response
application.ftp.user=somename&200 OK
Response example
when setting field is
left blank
application.ftp.user=&200 OK
Interpretation
Acquire the FTP server user name setting used for FTP transmission via alarm.
Allowed users
admin, operator
Setting FTP Server User Name for VN-E4
Format
/api/param?application.ftp.user=data
Example
/api/param?application.ftp.user=somename
Example of Response
application.ftp.user&200 OK
Interpretation
Change the FTP server user name setting used for FTP transmission via alarm. The maximum user name size
is 60 bytes.
Set as follows when this setting is to be left blank.
/api/param?application.ftp.user=%00
Allowed users
admin, operator
Setting FTP Server Password for VN-E4
Format
/api/param?application.ftp.password=data
Example
/api/param?application.ftp.password=someword
Example of Response
application.ftp.password&200 OK
Interpretation
Change the FTP server password setting used for FTP transmission via alarm. The maximum password size is
60 bytes. Set as follows when this setting is to be left blank.
/api/param?application.ftp.password=%00
Allowed users
admin, operator
(There is no API for acquiring passwords.)
Note
Refer to Section 5.4 for details on transmission of JPEG input channel, frame size, prerec and postrec via FTP.
Acquiring Chattering Guard Time Setting of Alarm Input from VN-E4
Format
/api/param?peripheral.input_pin.pin(Number).chatter
Example
When acquiring chattering guard time of alarm input 1
/api/param?peripheral.input_pin.pin(1).chatter
Example of response
peripheral.input_pin.pin(1).chatter=100&200 OK
Interpretation
Acquire the time setting to prevent chattering in the alarm input. Specify a number between 1 to 4 as VN-E4
has 4 alarm inputs. Unit of the response value is in msec.
Allowed users
admin, operator, user