LINE_FREQ

Description

Get or Set the power frequency (50 or 60Hz).

The Power Frequency is used as the base of lighting synchronization calculation in CMOS sensor. Therefore, this URL is only valid in the CMOS or Mage-Pixel sensor camera. In the D1 encoder, the TV Standard, NTSC or PAL, is used for that, refer to VIDEO_TV in SYSTEM CGI.

The LINE_FREQ will not be used in the D1 encoder and VIDEO_TV will not be used in CMOS and Mega-Pixel encoders. These two URL commands are readable and writable in these sensors.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, this command is read-only command and the CHANNLE 1 video server's LINE_FREQ configurations will be returned. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.

Input Argument

50HZ, 60HZ

Attribute

Return of Message

LINE_FREQ='60HZ'
OK: LINE_FREQ='60HZ'
or
ERROR: LINE_FREQ='60HZ'

Applicability

Status

Valid

See Also

VIDEO_TV in SYSTEM CGI

Example

http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&LINE_FREQ
or
http://ip:port/cgi-bin/cmd/encoder?LINE_FREQ
http://ip:port/cgi-bin/encoder?USER=Admin&PWD=123456&LINE_FREQ=60HZ
or
http://ip:port/cgi-bin/cmd/encoder?LINE_FREQ=60HZ

Back to

HOME, ENCODER CGI