TSD_CONFIG
Description
Get or Set sche_profile. Each sche_profile can work with trigger type like TDI ,TMD,TVL,TMAU. Sche profile also can work alone, when trigger_type is defined as TSD. Here are five trigger_type ,TDI, TMD, TSD, TVL,TMAU.
Type | Description |
TDI | Trigger of DI : User can define low level trigger or high level trigger. We provide 4 DI trigger sources. |
TMD | Trigger of Motion Detection: There are 3 regions for general A platform and T platform encoder, and 4 regions for ACD-2000Q. |
TSD | Scheduel Trigger: User can define the trigger time self. We provide 10 sets. |
TVL | Trigger of Video Loss: There is only one channel for A platform and T platform video server, and there are 4 channes for ACD-2000Q |
TMAU | Manual Trigger : User can manual trigger from UI. |
We provide 10 set of sche_profile. Each sche_profile record the day, start_time and duration of time frame to activate the trigger.
Input Argument
n,state,day,start_time,duration
n: 1~10, sche_profile ID
state:
1: Valid
0: Invalidday : 7 character sting. its meaning like the table.
¡@ 1 2 3 4 5 6 7 ¡@ Sunday Moday Tuesday Wendesday Thurday Friday Saturday Enable S M T W T F S Disable N N N N N N N For example, "SMTNNNN", means open Sunday, Monday, Tuesday as valid day of a week
start_time : 00:00~23:59
duration: 00:00~168:00, maximum is 168 hours.
Attribute
Return of Message
TSD_CONFIG='1,1,SMTNNNN,10:00,01:00'
TSD_CONFIG='2,0,NNNNNNN,00:00,24:00'
...
TSD_CONFIG='9,0,NNNNNNN,00:00,24:00'
TSD_CONFIG=''10,0,NNNNNNN,00:00,24:00'
OK:TSD_CONFIG='1,1,SMTNNNN,10:00,01:00'
or
ERROR:TSD_CONFIG='1,1,SMTNNNN,10:00,01:00'
Applicability
Status
Valid
See Also
Example
read operation
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&TSD_CONFIG
or
http://ip:port/cgi-bin/cmd/encoder?TSD_CONFIG
write operation
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&TSD_CONFIG=1,1,SMTNNNN,10:00,01:00
or
http://ip:port/cgi-bin/cmd/encoder?TSD_CONFIG=1,1,SMTNNNN,10:00,01:00
Back to