Hi Dojo,
We have a matrix with 1152x1152 dimensions. This layout is a little bit bigger from the standard 1024x1024 matrix dimension.
The matrix component in a connector shows the inputs and outputs grouped per 16 by default.
→ Would it be possible to group the inputs/outputs by 18 to match the I/O of the device instead?
I noticed there's a Page property for the I/O that can be overridden with the MatrixHelper class but this feature seems to be only available from DM 10.3.1 onwards. Matrix Helper | DataMiner Docs.
Thanks in advance.
Hi Robin,
This can be done by updating the ports.xml settings file via code. To do this, you can use the NotifyDataminer(128) command. You can find more information on this command in NT_UPDATE_PORTS_XML (128) | DataMiner Docs
Note that this command can overwrite the settings stored by a user via the matrix context menu, so be careful when to use this command.
Hi Robin,
I'm not sure if you are using the classic matrix (with discreet parameters) or the table based matrix ?
But since you linked to the documentation of a table based matrix (TableMatrixHelper).
I'll assume you are using a table based matrix.
In this case it's indeed possible to set the page of each individual input / output.
See a mapping example (<Mapping type="pid" name="page">1005</Mapping>)
in order to link the page column to the matrix parameter.
=>https://docs.dataminer.services/develop/devguide/Connector/UIComponentsTableMatrixParameter.html
I also made an example driver to display the table and how it looks in the matrix itself:
If you have more questions, don't hesitate to contact me.
Robin,
Unfortunately, for standard matrix you cannot set the page property.
However, for the table matrix, this was introduced (for Cube & Server) in Main Release Version 10.4.0 or Feature Release Version 10.3.1. This works together with the new version of TableMatrixHelper which is part of ClassLibrary (driver dependency) (released separately, I’m not sure in which version).
So the only way to achieve this for now is to convert the classic matrix to a table matrix and of course update your Dataminer system accordingly.
Thanks!
Hi Robbe,
Thanks for the info. Currently it’s a standard matrix (https://docs.dataminer.services/develop/devguide/Connector/UIComponentsMatrixParameters.html) that in the background also uses the MatrixHelper.
If I understand correctly, the only way to achieve a different page grouping is by adjusting the ‘Page’ property on the Inputs/Outputs and to specify individually on which page they need to be shown?
Or in case of the table based matrix, as shown in your example, add a mapping to a ‘Page’ table column and also individually specify per row on which page they need to be shown?
Only available from 10.4 Main release or 10.3.1 Feature release?