Gpio Port Configuration; Set The Direction Of A Gpio Pin; Set The Output Level Of A Gpio Pin; Toggle The Level Of A Gpio Pin - Lightware UMX-TPS-TX100 Series User Manual

Hide thumbs Also See for UMX-TPS-TX100 Series:
Table of Contents

Advertisement

 
7. LW3 Programmers' Reference
7.13. GPIO Port Configuration
INFO: Use the GET command to query a parameter.
Parameters
Parameter
<port>
GPIO port number (1..8). Example: P1
7.13.1. Set the Direction of a GPIO Pin
Command and Response
SET·/MEDIA/GPIO/<port>.Direction=<direction>
Î
pw·/MEDIA/GPIO/<port>.Direction=<direction>
Í
Parameters
Identifier
Parameter description
<direction>
Direction of the GPIO pin
Example
Î SET /MEDIA/GPIO/P1.Direction=I
Í pw /MEDIA/GPIO/P1.Direction=I
7.13.2. Set the Output Level of a GPIO Pin
Command and Response
SET·/MEDIA/GPIO/<port>.Output=<value>
Î
Í pw·/MEDIA/GPIO/
<port>.Output=<value>
Parameters
Identifier
Parameter description
<value>
Level value of the GPIO pin
Example
Î SET /MEDIA/GPIO/P1.Output=H
Í pw /MEDIA/GPIO/P1.Output=H
UMX-TPS-TX100 series – User's Manual
Description
Value
Parameter value
I
Input
O
Output
Value
Parameter value
H
Logical high level
L
Logical low level
7.13.3. Toggle the Level of a GPIO Pin
Command and Response
Î CALL·/MEDIA/GPIO/<port>:toggle()
Í mO·/MEDIA/GPIO/ <port>:toggle
Example
Î 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.14. EDID Management
Parameters
Parameter
<emulated>
The emulated EDID memory of the desired input port. Example: E1.
<dynamic>
Dynamic EDID memory index. Example: D1
<user>
User EDID memory index. Example: U1
<factory>
Factory EDID memory index. Example: F1
7.14.1. Query the Emulated EDIDs
Command and Response
Î GET·/EDID.EdidStatus
pr·/EDID.EdidStatus=<dynamic|user|factory>:<emulated>;...;<dynamic|user|factory>:<emulated>
Í
Example
Î GET /EDID.EdidStatus
Í pr /EDID.EdidStatus=D1:E1;D1:E2;D1:E3;D1:E4
Emulated EDID memory for input port is listed with the EDID number that is currently emulated on the input.
96
Description

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the UMX-TPS-TX100 Series and is the answer not in the manual?

Table of Contents