© Copyright 2018 WyreStorm Technologies |
WyreStorm.com
SW-0401-HDBT API | 180321-1319
4 of 12
North America: 844.280.WYRE (9973) | UK/EMEA: +44 (0) 1793 230 343
Email:
4.
Switcher Control Configuration
The ability to send and receive API commands on the switcher can be enabled or disabled. Before attempting to send any
commands ensure that the ability to send API is enabled.
4.1
Enable/Disable API Control
Action
Command
Parameters
Enable/Disable API
Control
SET API_ONOFF prm<CR><LF>
Return: API Mode: prm<CR><LF>
Example: Enable API Control
SET API_ONOFF on<CR><LF>
Returns: API Mode: on<CR><LF>
prm = {on, off}
Query API Control
Status
GET API_STATUS<CR><LF>
Return: API Mode: prm<CR><LF>
Example: Query API Control Status
GET API_STATUS<CR><LF>
Retrins: API Mode: on<CR><LF>
prm = {on, off}
5.
Switcher Control
5.1
Input Selection and Switching Configuration
Action
Command
Parameters
Select Input
(Direct)
SET SW prm<CR><LF>
Returns: SW prm<CR><LF>
Example: Select HDMI 1 input.
SET SW hdmi1<CR><LF>
Returns: SW hdmi1<CR><LF>
prm={vga, dp, hdmi1, hdmi2}
Select Next Input
SET SW_NEXT<CR><LF>
Returns: prm<CR><LF>
Example: Select Next Input from VGA.
SET SW_NEXT <CR><LF>
Returns: DP<CR><LF>
prm={vga, dp, hdmi1, hdmi2}
Turn Auto Switch
Mode On/Off
SET AUTOSW_ONOFF prm<CR><LF>
Returns: prm<CR><LF>
Example: Set auto switch mode to On.
SET AUTOSW_ONOFF on<CR><LF>
Returns: on<CR><LF>
prm={on, off}
Configure Auto
Switch Mode
SET AUTOSW_MODE<CR><LF>
Returns: prm<CR><LF>
Example: Configure auto switching to the last input
connected.
SET AUTOSW_MODE last_connected<CR><LF>
Prm={priority, last_connected}
// Priority follows predefined connection order:
VGA>DP>HDMI1>HDMI2
Last Connected selects the last connected device
based on default priority order.
Query Source
Selection and
Switch Mode
Status
GET SW_STATUS<CR><LF>
Returns:
Source Select: prm1<CR><LF>
Switch Mode: prm2<CR><LF>
Example: Query source selection and switch mode status.
GET SW_STATUS<CR><LF>
Returns:
Source Select: hdmi1<CR><LF>
Switch Mode: Automatic(Last Connected) mode<CR><LF>
Prm1={vga, dp, hdmi1, hdmi2}
Prm2={Manual Mode, Automatic(Last Connected)
Mode, Automatic(priority) Mode}
// Manual Mode indicates that auto switching is
turned off.