DISK_FILE_SEARCH_EVENT

 

Description

Set the event matching conditions for searching files from the local storage media.

When device received this command, it just record the date and time conditions but not perform file searching. The URL DISK_FILE_LIST will trigger device to perform file searching.

Input Argument

State,EventCondition
where
State could be 1 (The event conditions are used for file searching) or 0 (not using event conditions for file searching).
EventCondition could be the combination of following values.
DI1,DI2,MD1,MD2,MD3,MDPIR,SCH,READY
where
EventCondition Description
DI1 and DI2 Digital Input alarms are the event conditions.
MD1, MD2, MD3 and MDPIR Motion detections are the event conditions
SCH Schedule recording is the event conditions
READY Continuous recording is the event conditions

Example

1. Set DI1, DI2 and MDPIR events as the event conditions for recored file searching.
   DISK_FILE_SEARCH_EVENT=1,DI1,DI2,MDPIR
2. Set all motion events as the event conditions for recored file searching.
   DISK_FILE_SEARCH_EVENT=1,MD1,MD2,MD3,MDPIR
3. Remove all event conditions.
   DISK_FILE_SEARCH_EVENT=NONE

Attribute

Return of Message

DISK_FILE_SEARCH_EVENT='NONE'
or
ERROR: DISK_FILE_SEARCH_EVENT not found

OK: DISK_FILE_SEARCH_EVENT='1,DI1,DI2'
or
ERROR: DISK_FILE_SEARCH_EVENT not found

Applicability

PlatformT Camera, Video server with local storage A1D-310-V4.12 and later
PlatformK Camera A1D-311-V5.08.06 and later
PlatformA1 Camera A1D-500-V6.02 and later

Statue

Valid

See also

DISK_REMOVE_FILE, DISK_REMOVE_OLD_FILES, DISK_FILE_LIST, DISK_TOTAL_PAGES, DISK_GET_FILE, DISK_FILE_SEARCH_TIME,

Example

http://ip:port/cgi-bin/system?USER=admin&PWD=123456&DISK_FILE_SEARCH_EVENT
or
http://ip:port/cgi-bin/cmd/system?DISK_FILE_SEARCH_EVENT

http://ip:port/cgi-bin/system?USER=admin&PWD=123456&DISK_FILE_SEARCH_EVENT=1,DI1,DI2
or
http://ip:port/cgi-bin/cmd/system?DISK_FILE_SEARCH_EVENT=1,DI1,DI2

Back To

HOME, SYSTEM CGI