PT-SW-UH21DS-40G
2x1 Dual-Screen USB-C / HDMI Collaboration Switcher - 40G
The PT-SW-UH21DS-40G is a dual-screen HDMI 2.1 collaboration switcher featuring HDMI and USB-C DP Alt-Mode inputs, designed for multi-source management in professional AV environments. It supports a 40Gbps data rate …
ManualControl (TCP/IP)FAQSpecificationsCE declaration ↗Available control interfaces. Expand an active type to see the full command table.
No matching commands.
ASCII Command22 commandsActive
Source: manual, chapter API Commands, page 17
| Command | Description | Example | Response | |
|---|---|---|---|---|
| ? | Get the list of all commands | ? | ||
| help | Get the list of all commands | help | ||
| get model | Get device model | get model | PT-SW-UH21DS-40G | |
| status | Get device current status | status | Please refer to the note at the end of the list. | |
| get version | Get firmware version | get version | FW v1.1.0 KVM v1.1.0 | |
| power on/off | Power on/off the device | power on | Power on… System Initializing... Initialization Finished! FW v1.1.0 KVM v1.1.0 | |
| get power | Get current power state | get power | Power on | |
| reboot | Reboot the device | reboot | Reboot… System Initializing... Initialization Finished! FW v1.1.0 KVM v1.1.0 | |
| reset | Reset system settings to default (Should type "Yes" to confirm, "No" to discard) | reset | Sure to Reset System Settings To Default? Type "Yes" after next prompt to confirm… | |
| reset all | Reset system and network settings to default (Should type "Yes" to confirm, "No" to discard) | reset all | Sure to Reset System and Network Settings To Default? Type "Yes" after next prompt to confirm… | |
| set key on/off | Set front panel key on/off | set key on | Set key on on | |
| get key | Get front panel key on/off status | get key | On | |
| set ir on/off | Set IR on/off | set ir off | Set IR on on | |
| get ir | Get IR on/off status | get ir | On | |
| set beep on/off | Set buzzer on/off | set beep off | Set beep off off | |
| get beep | Get buzzer on/off status | get beep | Off | |
| set hotkey on/off | Set hotkey function on/off | set hotkey on | Set hotkey on on | |
| get hotkey | Get hotkey function on/off status | get hotkey | On | |
| set hotkeys x | Set hotkeys (x=1~5) x=1: PC1 input hotkeys x=2: PC2 input hotkeys x=3: Next input hotkeys x=4: Previous input hotkeys x=5: Enable/disable buzzer | set hotkeys 1 | Type hotkeys… | |
| get hotkeys x | Get hotkeys (x=1~5) settings x=1: PC1 input hotkeys x=2: PC2 input hotkeys x=3: Next input hotkeys x=4: Previous input hotkeys x=5: Enable/disable buzzer | get hotkeys 1 | "Ctrl" + "Ctrl" + "1" | |
| set baud x | Set RS-232 baud rate to x bps x=1: 4800 x=2: 9600 x=3: 19200 x=4: 38400 x=5: 57600 x=6: 115200 | set baud 6 | Set baud rate 115200 9600 | |
| get baud | Get RS-232 baud rate | get baud | 115200 |
API Commands57 commandsActive
Source: manual, chapter API Commands, page 27
| Command | Description | Example | Response | |
|---|---|---|---|---|
| set input x | Set input from (x=1~2) x=1: PC1 input x=2: PC2 input | set input 1 | Set PC1 input 1 | |
| get input | Get PC input | get input | PC1 | |
| set usb x | Set USB from (x=0~2) x=0: Follow video input x=1: PC1 USB host x=2: PC2 USB host | set usb 0 | Set USB follow video input 0 | |
| get usb | Get USB input | get usb | Follow video input | |
| get usb5v | Get USB host input 5V | get usb5v | PC1 USB: 5V PC2 USB: None | |
| set autoswitch on/off | Set auto-switching on/off | set autoswitch on | Set autoswitch on on | |
| get autoswitch | Get auto-switching on/off status | get autoswitch | On | |
| set autoswitch mode x | Set auto-switching detection mode x=0: 5V detection x=1: Signal detection | set autoswitch mode 1 | Set autoswitch mode to signal detection signal detection | |
| get autoswitch mode | Get auto-switching detection mode | get autoswitch mode | Signal detection | |
| get edid x | Get input ports (x=0~4) EDID x=0: All inputs x=1: USB-C A input x=2: USB-C B input x=3: HDMI A input x=4: HDMI B input | get edid 0 | USB-C A EDID 00: Copy EDID from HDMI output (default) USB-C B EDID 00: Copy EDID from HDMI output (default) HDMI A EDID 00: Copy EDID from HDMI output (default) HDMI B EDID 00: Copy EDID from HDMI output (default) | |
| get edid data x | Get input ports (x=0~4) EDID data x=0: All inputs x=1: USB-C A input x=2: USB-C B input x=3: HDMI A input x=4: HDMI B input | get edid data 0 | USB-C A EDID USB-C B EDID HDMI A EDID HDMI B EDID | |
| set user edid x | Set user defined EDID (x=0~2) to y x=0: User Defined 1 and User Defined 2 x=1: User Defined 1 x=2: User Defined 2 y=00 FF FF FF ….. (y is 256 bytes EDID data) | set user edid 1 | User Defined 1 EDID is loaded | |
| get user edid x | Get user defined EDID (x=0~2) data x=0: User Defined 1 and User Defined 2 x=1: User Defined 1 x=2: User Defined 2 | get user edid 1 | ||
| set output mode x | Set output mode to (x=1~2) x=1: Output mode 1 x=2: Output mode 2 | set output mode 1 | Set output to mode 1 1 | |
| get output mode | Get output mode | get output mode | Mode 1 | |
| set output x stream on/off | Set output (x=0~2) stream on/off x=0: All outputs x=1: Output A x=2: Output B | set output 0 stream off | Set All outputs off on | |
| get output x stream | Get output (x=0~2) stream on/off status x=0: All outputs x=1: Output A x=2: Output B | get output 0 stream | Output A on Output B on | |
| set output hdcp y | Set output HDCP mode to (y=0~3) y=0: Reserved y=1: Auto y=2: HDCP 1.4 y=3: HDCP 2.2 | set output hdcp 1 | Set output HDCP to auto 1 | |
| get output hdcp | Get output HDCP mode | get output hdcp | Auto | |
| set audio mute on/off | Set de-embedding audio mute on/off Default: off | set audio mute on set audio mute off | Set de-embedding audio mute on Set de-embedding audio mute off | |
| get audio mute | Get de-embedding audio mute on/off status | get audio mute | Mute on | |
| set output x usb5v y | Set USB device port output (x=0~4) 5V to y x=0: All USB device ports x=1: USB-A device 1 x=2: USB-A device 2 x=3: USB-A device 3 x=4: USB-A device 4 y=0: Disable 5V output y=1: Follow host y=2: Force 5V always output | set output 0 usb5v 1 | Set all USB device output 5V follow host. 1 | |
| get output x usb5v | Get USB device port output (x=0~4) 5V status | get output 0 usb5v | USBA_1 5V: follow host USBA_2 5V: follow host USBA_3 5V: follow host USBA_4 5V: follow host | |
| set cec power on/off | Set CEC power on/off command | set cec power on set cec power off | CEC power on CEC power off | |
| set auto power feature on/off | Set display auto power feature on/off | set auto power feature on | Set auto power on off | |
| get auto power feature | Get display auto power feature on/off status | get auto power feature | Auto power on | |
| set auto power off timer x | Set auto power off command will be sent out after x (x=1~6) x=1: 5 sec x=2: 10 sec x=3: 30 sec x=4: 1 min x=5: 5 min x=6: 10 min | set auto power off timer 1 | Set auto power off timer: 5 sec 5 sec | |
| get auto power off timer | Get auto power off timer | get auto power off timer | 5 sec | |
| set auto power control x | Set auto power feature control via (x=1~3) x=1: CEC x=2: RS-232 x=3: CEC and RS-232 | set auto power control 1 | Set auto power control: CEC CEC | |
| get auto power control | Get auto power feature control type | get auto power control | CEC | |
| set RS-232 setting x | Set RS-232 setting to x x=115200-8n1 Baud rate: 115200/57600/38400/19200/9600/4800/2400 Data bits: 7/8 Parity: n(None)/ o(Odd) / e(Even) Stop bits: 1/2 | set RS-232 setting 115200-8n1 | Set RS-232: 115200-8n1 9600-8n1 | |
| get RS-232 setting | Get RS-232 setting | get RS-232 setting | 115200-8n1 | |
| set RS-232 command on/off | Set RS-232 command on/off Default: off | set RS-232 command on set RS-232 command off | Set RS-232 command on Set RS-232 command off | |
| get RS-232 command | Get RS-232 command on/off status | get RS-232 command | On | |
| set RS-232 HEX/ASCII power on delay1 input delay2 | Set RS-232 HEX/ASCII power on delay1 input delay2 Command format is HEX or ASCII y1= RS-232 power on command y2= 0~1200sec y3= RS-232 input port selection y4= 0~1200sec NOTE: delay1 input delay2 can be NULL | set RS-232 ASCII power on delay1 input delay2 set RS-232 ASCII power on set RS-232 HEX power on delay1 input | Set RS-232 ASCII power on delay1 input delay2 Set RS-232 ASCII power on Set RS-232 HEX power on delay1 input | |
| set preset clear x | Clear a specified preset into unit (x=1~5) All settings except network setting. x=1~5: Preset 1 ~ Preset 5 | set preset clear 1 | Set preset 1 clear | |
| set preset x name y | Set preset (x=1~5) name to y (16 characters max) x=1~5: Preset 1 ~ Preset 5 | set preset 1 name Blueriver | Set preset 1 name Blueriver | |
| get preset x name | Get preset (x=1~5) name x=1~5: Preset 1 ~ Preset 5 | get preset 1 name | Blueriver | |
| get ipconfig | Get the Current IP Configauration Default: default static IP is 192.168.0.178/255.255.0.0/192.168.0.1 | get ipconfig | IP Mode: DHCP IP: 192.168.62.106 Subnet Mask: 255.255.255.0 Gateway: 192.168.62.1 TCP/IP port: 8000 Telnet port: 23 MAC: 6C:DF:FB:0C:B3:8E (Static: 169.254.100.200 255.255.0.0 169.254.100.1) | |
| get mac addr | Get network MAC address | get mac addr | MAC: 6C:DF:FB:0C:B3:8E | |
| set ip mode x | Set network IP mode to static IP or DHCP (x=0~1) x=0: Static x=1: DHCP Default: 1 | set ip mode 0 | Set IP mode static (Please use "set net reboot" command or repower device to apply new config!) | |
| get ip mode | Get network IP mode | get ip mode | DHCP | |
| set ip addr xxx.xxx.xxx.xxx | Set network IP address | set ip addr 192.168.1.100 | Set IP address 192.168.1.100 (Please use "set net reboot" command or repower device to apply new config!) DHCP on, Device can't config static address, set DHCP off first. | |
| get ip addr | Get network IP address | get ip addr | 192.168.62.106 | |
| set subnet xxx.xxx.xxx.xxx | Set network subnet mask | set subnet 255.255.255.0 | Set subnet mask 255.255.255.0 (Please use "set net reboot" command or repower device to apply new config!) DHCP on, Device can't config subnet mask, set DHCP off first. | |
| get subnet | Get network subnet mask | get subnet | 255.255.255.0 | |
| set gateway xxx.xxx.xxx.xxx | Set network gateway | set gateway 192.168.1.1 | Set gateway 192.168.1.1 (Please use "sst net reboot!" command or repower device to apply new config!) DHCP on, Device can't config gateway, set DHCP off first. | |
| get gateway | Get network gateway | get gateway | 192.168.1.1 | |
| set tcp/ip port x | Set network TCP/IP port (x=1~65535) Default: 4001 | set tcp/ip port 8000 | Set TCP/IP port 8000 | |
| get tcp/ip port | Get network TCP/IP port | get tcp/ip port | 8000 | |
| set telnet port x | Set network telnet port(x=1~65535) Default: 23 | set telnet port 23 | Set telnet port 23 | |
| get telnet port | Get network telnet port | get telnet port | 23 | |
| set net reboot | Reboot network modules | set net reboot | Search for IP,Please wait ...! IP Mode: DHCP IP: 192.168.62.106 Subnet Mask: 255.255.255.0 Gateway: 192.168.62.1 TCP/IP port: 8000 Telnet port: 23 MAC: 6C:DF:FB:0C:B3:8E (Static: 169.254.100.200 255.255.0.0 169.254.100.1) | |
| set admin password x | Set admin login password (x=[16 characters max]) Default: admin | set admin password admin | Set admin password admin | |
| get admin password | Get admin login password | get admin password | admin | |
| set user password x | Set user login password (x=[16 characters max]) Default: user | set user password user | Set user password user | |
| get user password | Get user login password | get user password | user |
