DIO_OUTPUT

Description

Set the device's DOs signal level.

The input argument is in hexadecimal. The mapping of the hexadecimal value to the DOs are listed below.

Bit and value in the input argument Signal level in DO pins
Bit 0 = 0 DO1 is Low
Bit 0 = 1 DO1 is High
Bit 1 = 0 DO2 is Low
Bit 1 = 1 DO2 is High

The value in the higher bits, bit 7~2, are ignored.

The value in the return message is the echo of the input argument. It does not reflect the DO signal after this command.

If the CHANNEL=n was not set with this URL to the Multi-Channel device, the error message will be returned.

Input Argument

0xn (1byte hexadecimal value)

Attribute

Return of Message

OK: DIO_OUTPUT='0x00'

Applicability

Status

Valid

See Also

DIO_STATUS

Example

http://ip:port/cgi-bin/mpeg4?USER=Admin&PWD=123456&DIO_OUTPUT=0x01
or
http://ip:port/cgi-bin/cmd/mpeg4?DIO_OUTPUT=0x01

Back to

HOME, MPEG4 CGI