Set The Output Level Of A Gpio Pin; Toggle The Level Of A Gpio Pin; Usb Port Settings; Usb Host Select - Lightware MMX8x4-HT420M User Manual

Multiport matrix switcher
Hide thumbs Also See for MMX8x4-HT420M:
Table of Contents

Advertisement

 
8. LW3 Programmers' Reference
8.26.2. Set the Output Level of a GPIO Pin
Command and Response
SET·/MEDIA/GPIO/<gpio_port>.Output=<value>
ç
pw·/MEDIA/GPIO/<gpio_port>.Output=<value>
æ
Parameters
Identifier
Parameter description
<gpio_port>
GPIO port number
<value>
Value of the GPIO pin
Example
ç SET /MEDIA/GPIO/P1.Output=H
æ pw /MEDIA/GPIO/P1.Output=H
8.26.3. Toggle the Level of a GPIO Pin
Command and Response
ç CALL·/MEDIA/GPIO/<gpio_port>:toggle()
æ pw·/MEDIA/GPIO/ <gpio_port>:toggle
Example
ç CALL /MEDIA/GPIO/P1:toggle()
æ mO /MEDIA/GPIO/P1:toggle
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.
8.27. USB Port Settings
8.27.1. USB Host Select
Command and Response
#usb
SET·/MEDIA/USB/USBSWITCH.HostSelect=<USB_host>
ç
pw·/MEDIA/USB/USBSWITCH.HostSelect=<USB_host>
æ
Parameters
Identifier
Parameter description
<USB_host>
Active USB-B port
Example
ç SET /MEDIA/USB/USBSWITCH.HostSelect=1
æ pw /MEDIA/USB/USBSWITCH.HostSelect=1
Parameter values
P1-P6
H: High level
L: Low level
Parameter values
1-4, 0 means off
Applied firmware package: v1.3.0 | LDC software: v2.4.2
MMX8x4-HT series – User's Manual
8.27.2. Power Switch Delay
Command and
Response #usb
SET·MEDIA/USB/USBSWITCH.DelayedSwitch=<delay_status>
ç
pw·MEDIA/USB/USBSWITCH.DelayedSwitch=<delay_status>
æ
Parameters
Identifier
Parameter description
<delay_status>
2sec Power-Cut
towards the devices if
Host changed
Example
ç SET /MEDIA/USB/USBSWITCH.DelayedSwitch=true
æ pw /MEDIA/USB/USBSWITCH.DelayedSwitch=true
8.27.3. Host 5V Sense
Command and Response
GET·/MEDIA/USB/USBSWITCH.<HostPc>
ç
pr·/MEDIA/USB/USBSWITCH.<HostPc>=<status>
æ
Parameters
Identifier
Parameter description
<HostPc>
ID of the host PC
<status>
Status of the
connected host
Example
ç GET /MEDIA/USB/USBSWITCH.Host5vSensePc1
æ pr /MEDIA/USB/USBSWITCH.Host5vSensePc1=false
Parameter values
true
false
Parameter values
Host5vSensePc1
Host5vSensePc2
Host5vSensePc3
Host5vSensePc4
true
false
153

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mmx8x4-ht400mcMmx8x8-hdmi-4k-aMmx8x8-hdmi-4k-a-usb20

Table of Contents