Serial/usb port commands, Page 31 – Muxlab 8 x 8 Cat 5e/6 Line Level Audio Matrix Switch User Manual

Page 31

Advertising
background image

© MuxLab Inc.

Audio 8x8 Matrix Switch Installation Guide

Page 31

Serial/USB Port Commands

1. Alarm

alarm

Description: Display all the alarm settings

Arguments:

<none>

Example:

alarm

2. Connection

connect -i

<input port #>

-o

<output port #>

Description: Connect a specific input to a specific output

Arguments:

<input port #>: 1 to 4

<output port #>: 1 to 4

Example:

Connect input 2 to output 4

connect -i 2 -o 4

Response:

[0,0,0,2]

(or an error message if the command failed)

connect -i

<input port #>

-o all

Description: Connect a specific input to all outputs

Arguments:

<input port #>: 1 to 4

Example:

Connect input 2 to all outputs

connect -i 2 -o all

Response:

[2,2,2,2]

(or an error message if the command failed)

connect -i

<input port #>

-o

<from output port #>

..

<to output port #>

Description: Connect a specific input to a consecutive range of outputs

Arguments:

<input port #>: 1 to 4

<from output port #>: 1 to 4

<to output port #>: 1 to 4

<from output port #> shall be inferior or equal to <to output port #>

Example:

Connect input 2 to outputs 1, 2, and 3

connect -i 2 -o 1..3

Response:

[2,2,2,0]

(or an error message if the command failed)

connect -json

“[<input port #1>,<input port #2>,…, <output port #4>]”

Description: Make 4 connections/disconnections in one command using json format

Arguments:

<input port #>: 1 to 4 to specify the input port to connect to, or 0 to disconnect it

Example:

Connect input 2 to outputs 1, 2, and connect input 3 to outputs 4 , and disconnect all other
outputs.

connect -json “[2,2,0,3]”

Response:

[2,2,0,3]

(or an error message if the command failed)

Advertising