1.345 Matrix-N-Way-Switch

This page describes the device driver and the device window for the Matrix-N-Way-Switch logical device. The device mimics an n-way switch using a switch matrix. With the Matrix-N-Way-Switch this works not only with distributive matrices (which is quite trivial), but also with crosspoint oriented and combining matrices.

Distributive Matrix Types

With this matrix type the bahavior of the device is straight forward: The 'position' variable builds its choices from the input names the matrix driver provides or from synthetic names 'Input-##' in case no such names exist. Switching the 'position' variable means switching the matrix output to the desired input.

Combining Matrix Types

With combining matrices things are a bit more complicated: Switching 'position' means to switch the selected matrix input to the configured common output. This at the same time 'steals' the signal from its original destination. There is no way to come around this, the matrix architecture forces this behavior.

The Matrix-N-Way-Switch device provides two strategies to behave when the n-way switch gets switched away from a position. The behavior depends on the config.restoreInput setting:

Crosspoint Matrix Types

With this matrix type the device always switches a complete row of cross points. For the configured output all crosspoints are switched off except the one which enabled the selected input. For the switch position OFF all cross points are switched off.

When translating the actual cross point settings to the n-way switch position, the lowest numbered input gest signalled.

Device window pages

The following table shows which device window pages are available with this individual device type. Tool-bar functions not mentioned here are described at the general description of device windows .

Configuration parameters

At the maintenance page of the device window there are a couple of configuration parameters which must be set to integrate the device into the VLC/M&C.

parameter description
matrixDevice The name of the matrix device used.
matrixOutput The matrix output used. Must be set like the port number in driver variables, e.g. '05'
restoreInput YES makes the device restore a saves input setting when switching

Fault flags

fault flag fault name description
faults.01 Matrix Fault Resembles the summary fault of the matrix device

Variables defined by this device driver

name type flags range
info.driver TEXT R/O StringRange R/O
info.type TEXT R/O StringRange R/O
info.port TEXT R/O StringRange R/O
info.frame TEXT R/O StringRange R/O
info.matrixType TEXT R/O StringRange R/O
config.matrixDevice TEXT SAVE SETUP StringRange
config.matrixOutput TEXT SAVE SETUP StringRange
config.choiceType CHOICE SAVE SETUP EnumRange (NAME NUMBER)
config.restoreInput CHOICE SAVE SETUP EnumRange (NO YES)
position CHOICE EnumRange (UNKNOWN)
faults.01 ALARM R/O AlarmFlagRange R/O (Matrix Fault)