beautypg.com

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

Page 31

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:

Example:

alarm

2. Connection

connect -i

-o

Description: Connect a specific input to a specific output

Arguments:

: 1 to 4

: 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

-o all

Description: Connect a specific input to all outputs

Arguments:

: 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

-o

..

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

Arguments:

: 1 to 4

: 1 to 4

: 1 to 4

shall be inferior or equal to

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

“[,,…, ]”

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

Arguments:

: 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)