MSC-CP32X1E Product Manual
Example
>MascotVer
2.3
>
3.22 MtxCfg Command
Routers and MSC-GCP2U32 only - Protocol Version: 2.0
Query matrix configuration. This command replaces the C command and provides the ability to query the
matrix dimensions, labels, current matrix state and preset data. The information to return is specified by the
sum of the flags values listed in the following table:
Flag
Information
Fields in JSON data
1
Return names (Destination, Source and
Preset).
destNames, srcNames and
psetNames
2
Return matrix routing state.
state
4
Return preset routing data.
psetData
The returned data is JSON formatted data (see
for details).
If no arguments are specified then a simple format is returned consisting of an array of arrays (one per level)
with 3 integer numbers specifying the destination count, source count and flags of the level. The flags value is
the sum of one or more values from the Flags table below.
Flags
Name
Value Description
mute
1
Mute support.
lock
2
Video lock status query support
reclk
4
Reclocker disable support.
Example
>MtxCfg
[[8,8,3][4,8,0]]
The example above is simple output (no arguments) for a matrix with 2 levels, the first has 8 destinations, 8
sources and supports mute and lock status query (1 + 2 = 3). The second level has 4 destinations, 8 sources and
does not support mute, lock status query or reclocker disable.
If an argument is specified (0-7), then a more descriptive JSON structure is returned, of the following form
(newlines and spaces added as a visual aid, but are not necessarily part of the response):
{
“version” : 1,
Page 25 of 48
Copyright © 2013-2015 Matrix Switch Corporation