![Matrix Switch Corporation MSC-HD88L Скачать руководство пользователя страница 33](http://html1.mh-extra.com/html/matrix-switch-corporation/msc-hd88l/msc-hd88l_product-manual_1741318033.webp)
Example
>MascotVer
2.3
>
3.23 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
www.json.org
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.
Page 33 of 56
©
2013 Matrix Switch Corporation
www.matrix-switch.tv