CHxx_TIME

CHANNEL_TIME

Description

> Set the time of stay in second for a connected channel to the decoder. In here, this time duration is called channel dwell time.

> If the channel dwell time is set to 0, the decoder will stay this channel forever.

> In the decoder devices, it could connect an encoder and move to next channel after current channel dwell time.

Input Argument

- For Read Operation

> n
> where
> n : the channel ID in the decoder, 1~16.

- For Write Operation

> n,m
> where
> n : the channel ID in the decoder, 1~16
> m : channel dwell time from 0 to 65535.

- Note:
  1. If the n is missing in the read operation, the target channel of this read command is channel 1.

Attribute

- Readable and Writable
- On-Fly

Return of Message

- Read Operation

> CHANNEL_TIME='1,60'

- Write Operation

> OK: CHANNEL_TIME='1,60'
> or
> ERROR: CHANNEL_TIME='1,60'

Applicability

- WPL Decoder Devices
- PlatformT Decoder Devices

Status

> Valid

See Also

> CHANNEL_CONFIG, CHANNEL_VARIABLE_FPS, CHANNEL_INFO, CHANNEL_SWITCH

Example

- Read Operation (Only in EPL Decoder Devices)

> http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_TIME=2
> or
> http://ip:port/cgi-bin/cmd/decoder?CHANNEL_TIME=2
> http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_TIME (get channel 1's channel dwell time)
> or
> http://ip:port/cgi-bin/cmd/decoder?CHANNEL_TIME (get channel 1's channel dwell time)

- Write Operation

> http://ip:port/cgi-bin/decoder?USER=Admin&PWD=123456&CHANNEL_TIME=2,60
> or
> http://ip:port/cgi-bin/cmd/decoder?CHANNEL_TIME=2,60

Back to

> HOME, URL CGI