DIO_STATUS

 

Description

Get the DIs and DOs signal level. The return of this command is in hexadecimal. The bit[3:0] indicate the DI 4/3/2/1 level and the bit[7:4] indicate the DO 4/3/2/1 level. the. For example, the DIO_STATUS=0x31 means the DI2 is low and DI1 is high and DO2 and DO1 are high.

Here is the mapping table of the bit in the return value and the DIs and DOs pins.

Bit in the Return Value DIO Pin
Bit 0 DI1
Bit 1 DI2
Bit 4 DO1
Bit 5 DO2

If the CHANNEL=n was not set with this URL to the multiple channel encoders, this command is read-only command and the CHANNEL 1 module's DIO_STATUS configuration will be returned. If the CHANNEL 1 video server does not connect to the router, the error message will be returned.

Important Note :
Because we allowed user level account to request for control token in control message session, the user level account could control DOs then. That applies to this URL access authority. So, user level account could use this URL to control DO level.

Input Argument

None

Attribute

Return of Message

DIO_STATUS='0x00'

Applicability

Status

Valid

See Also

DIO_OUTPUT

Example

http://ip:port/cgi-bin/cgi?USER=Admin&PWD=123456&DIO_STATUS
or
http://ip:port/cgi-bin/cmd/cgi?DIO_STATUS
where
cgi could be mpeg4 or encoder

Back to

HOME, MPEG4 CGI, ENCODER CGI