![Lightware HDMI-3D-OPT-RX150RA Скачать руководство пользователя страница 72](http://html.mh-extra.com/html/lightware/hdmi-3d-opt-rx150ra/hdmi-3d-opt-rx150ra_user-manual_1915357072.webp)
7. LW3 Programmer's Reference
HDMI-3D-OPT series – User's Manual
72
7.11. GPIO Port Configuration
INFO: Use the GET command to query a parameter.
7.11.1.
Set the Direction of a GPIO Pin
Command format
:
SET
●
/MEDIA/GPIO/P
n
.Direction=<dir>
Response format
:
pw
●
/MEDIA/GPIO/ P
n
.Direction=<dir>
Legend
:
<dir>: direction of the GPIO pin: I=input; O=output
Example
:
˃
SET /MEDIA/GPIO/P1.Direction=I
˂
pw /MEDIA/GPIO/P1.Direction=I
7.11.2.
Set the Output Level of a GPIO Pin
Command format
:
SET
●
/MEDIA/GPIO/P
n
.Output=<value>
Response format
:
pw
●
/MEDIA/GPIO/ P
n
.Output=<value>
Legend
:
<value>:
value of the GPIO pin: H=high level; L=low level
Example
:
˃
SET /MEDIA/GPIO/P1.Output
˂
pw /MEDIA/GPIO/P1.Output=H
7.11.3.
Toggle the Level of a GPIO Pin
Command format
:
CALL
●
/MEDIA/GPIO/P
n
:toggle()
Response format
:
pw
●
/MEDIA/GPIO/ P
n
:toggle
˃
CALL
●
/MEDIA/GPIO/P1:toggle()
˂
mO
/MEDIA/GPIO/P1:toggle
Explanation
: If the direction of the pin is input: the output value is toggled.
If the direction of the pin is output: the output value and the input value are toggled.
7.12.
EDID Management
7.12.1. Query the Emulated EDIDs
Command format
:
GET
●
/EDID.EdidStatus
Response format
:
pr
●
/EDID.EdidStatus=<E_loc>:<E
1
>;<E_loc>:<E
2
>;…;<E_loc>:<E
n
>
Example
:
˃
GET /EDID.EdidStatus
˂
pr /EDID.EdidStatus=D1:E1;D1:E2;D1:E3;D1:E4
Explanation
: Emulated EDID memory for input port is listed with the EDID number that is currently emulated
on the input.
7.12.2. Query the Validity of a Dynamic EDID
Command format
:
GET
●
/EDID/D/D
n
.Validity
Response format
:
pr
●
/EDID/D/D
n
.Validity=true|false
Example
:
˃
GET /EDID/D/D1.Validity
˂
pr /EDID/D/D1.Validity=true
Explanation
: The ‘Validity’ property is true, valid EDID is stored in D1 memory place.
7.12.3. Query the Preferred Resolution of an User EDID
Command format
:
GET
●
/EDID/U/U
n
.PreferredResolution
Response format
:
pr
●
/EDID/U/U
n
.PreferredResolution=<preferred_resolution>
Example
:
˃
GET /EDID/U/U2.PreferredResolution
˂
pr /EDID/U/U2.PreferredResolution=1920x1080p60.00Hz
INFO: Use the "Manufacturer" property to query the manufacturer and the "MonitorName" property to
query the name of the monitor.
7.12.4.
Emulating an EDID to an Input Port
Command format
:
CALL
●
/EDID:switch(<source>:<destination>)
Response format
:
mO
●
/EDID:switch
Example
:
˃
CALL /EDID:switch(F49:E2)
˂
mO /EDID:switch
Legend
:
<source>:
Source EDID memory place: Factory / User / Dynamic.
<destination>:
The emulated EDID memory of the desired input port.