DIO_STATUS
Description
Get the DIs and DOs signal level. The return of this command is in hexadecimal. The bit[1:0] indicate the DI 2/1 level and the bit[5:4] indicate the DO 1/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 The value in the bits 2, 3, 6 and 7 are ignored. The 1 in the bit value indicates the level of the corresponding DIO pin is HIGH,
If the CHANNEL=n was not set with this URL to the Multi-Channel device, this command is read-only command and the CHANNEL 1 video server'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.
Input Argument
None
Attribute
Return of Message
Read Operation
OK: DIO_STATUS='0x00'
Applicability
Status
Valid
See Also
Example
http://ip:port/cgi-bin/mpeg4?USER=Admin&PWD=123456&DIO_STATUS
or
http://ip:port/cgi-bin/cmd/mpeg4?DIO_STATUS
Back to