---
title: "Maevex Series 6100 Decoder"
canonical: "https://docs.cuesystem.com/space/CVCDD/793903131/Maevex%20Series%206100%20Decoder"
format: markdown
---
> Macro (toc)

---

# Description

The driver functions are based on Maevex Series 6100 Web API.  The usage of this driver expects full knowledge of “Matrox PowerStream Plus” software which is used for setting and configuring the Decoder device. 

(Tested on the Maevex 6152 Quad Decoder - Firmware  3.02.00.380)

# Resources

The Maevex Series 6100 Web API is not public (protected by Matrox NDA) and thus the source code of this driver is password protected.

# Properties

|  |  |  |  |
| --- | --- | --- | --- |
| Property name | Data type | Default value | Description |
| Login |
| User name | Text | - - user name - | device User |
| Password | Text | - - password - | User password |
| IP parameters |
| IP address | Text | 192.168.1.100 | IP |
| Port | Long | 443 | Https port number |
| Preset File Prefix |
| Prefix | Text | “” | Prefix of Preset file names valid for this particular device instance |
| Debug |
| Enable | Boolean | No | Yes/No - Enable/Disable debug prints |

# Functions

## Save/RecallPreset

These functions allow to store and recall the device configuration settings including all layout, input params,  and streams settings.

#### Syntax

```
Function SavePreset(presetNumber As Byte ) As Boolean
```

```
Function RecallPreset(presetNumber As Byte ) As Boolean
```

 

#### Parameters

presetNumber** Byte** preset number

 

#### Return value **   Boolean      True ** -Preset Save/Recall OK, **False**  -Preset Save/Recall Failed (Possible reasons:  Decoder unit not responding or User Login data are not valid  or read/write file operation failed.)

#### Example

```
SavePreset (1)
```

```
RecalPreset (37)
```

The SavePreset()/RecallPreset()  functions are providing similar functions as “Manage Configurations” when using “Matrox PowerStream Plus” software:

![image](media://8680953a-7fcc-4291-8a05-2bb6577cb7d2)

 

Both Preset functions are working with files stored in **Filestorage** in subfolder **MaevexDecoderFiles**

 It means path: **/filestorage/MaevexDecoderFiles/**

This subfolder serves for all instances of this driver installed on the same CUEunit!

The file names for particular presets are created by using property “Preset File Prefix” and the number of requested preset like this:

 Prest file name:  **              {Prefix}.preset{n}**

Where

{Prefix} - is the text stored in property “Preset File Prefix”

{n}   is the number specified in parameter (presetNumber As Byte) of Save/RecallPreset function

Note that Prefix property must be used only if there are more instances of this diver installed on the same CUEunit. Otherwise it can be left as empty text - then the preset file names will be like this:

.preset1

.preset22

etc

If the property “Preset File Prefix” would be set for example to value “Dec1”

-then the preset file names will be like this:

Dec1.preset1

Dec1.preset2

etc

To prepare the requested Decoder device setting configurations use the “Matrox PowerStream Plus” software. Then after successfully finishing with Apply in PowerStream Plus - you can use the functions  **SavePreset() **in your project and store the current configuration of the Decoder device.

 

### Storing Presets as part of the project data

If the project needs the Maevex Device preset data to be kept as part of the project data, then it is necessary to copy these files to CVC project into Filestorage of appropriate CUEunit which is owner of this instance of the driver.

In CVC select cue unit instance File storage like this:

If the subfolder **MaevexDecoderFiles **is not existing then create such subfolder

![image](media://cc01b044-8458-4d6f-bba8-95730fc2f507)

 

Open the subfolder and copy there the preset files.

![image](media://b7040312-6f62-47bd-9910-3963b1f7d1d7)

(In the example above the driver instance is using prefix “Dec”  ) 

When storing the preset files in the CVC project in Filestorage - then by every Project “Final” all the files will be uploaded into Filestorage of the CUE unit (– rewriting content of already existing files there in CUE unit Filestorage..)

 

Note that the Filestorage folder here in the CVC project is not affected when using the unit in Simulation. During the Simulation all runtime file changes are done in the “Temporary Filestorage of Simulated Unit” – these temporary data are accessible when “Right-clicking” the Filestorage folder in

the project..)

 

## SetStreamNewUri

selects new input stream source

#### Syntax

```
Function SetStreamNewUri(streamFriendlyName As Text, newUri As Text ) As Boolean
```

 

#### Return Value: **    Boolean               True **– success, **False **- not success

#### Parameters

newUri**                        Text    -**URI of new source stream

streamFriendlyName** ** **Text      -** means the Name (or Friendly name ) which is to be set in “Matrox PowerStream Plus” software In section for setting the Stream

 see the screenshot bellow:  the Stream Name was set to value **“StreamForLeftMonitor”**

and its original URI is set to “**rtsp://192.168.147.155:3049/S1**”

![image](media://5e80e94d-bc29-442e-9e81-fda62488628e)

Then command for setting this stream to newUri :”**rtsp://192.168.147.155:3049/S4**”

#### Example

For Decoder1 device :

```
Decoder1.SetStreamNewUri(“StreamForLeftMonitor”,"rtsp://192.168.147.155:3049/S4")
```


Result in PowerStream Plus:

![image](media://e132b610-dce9-4f2d-b129-e871bca23115)


## DisableStream

The function **SetStreamNewUri() **can be used also for disabling the input stream by setting as newUri value:** "rtsp://"**

Example

Disable the input for stream identified by StreamName: “StreamForLeftMonitor” for Decoder1 device :

```visualbasic
Decoder1.SetStreamNewUri(“StreamForLeftMonitor”,"rtsp://")
```