Hi,
I updated the matrix size of an existing driver to 4002x4000. The Matrix labels of a newly created element couldn’t be updated. The labels are supposed to be updated from the data that comes from the device (in a QAction). The element logging shows a lot of the following error:
2023/01/13 10:55:09.419|SLDataMiner.exe - Pro-Bel SW-P-08 Test element - New - copy|22808|CElement::UpdateMatrixDiscreets|ERR|0|Failed to execute query on file matrixconfigV2.xml, error: 0x80040254: Unknown query.
The label xml file is defined on the protocol as:
What could be the reason for the above error and hence the labels not being updated?
Hi Michiel,
The xml file is the one created originally with the default labels (like Input 1, Input 2, ….). I compared it with previous xml files and I didn’t see any difference. The code that writes changes to the file is from the Class Library which we don’t change it in the protocol.
In that case I recommend you create a task in our collaboration platform, provide information on the used DataMiner versions and attach your connector so that our engineers can take a more in-depth look.
Hi Fenta,
Is the "matrixconfigV2.xml" in your case a new file? Changing the size of a matrix has impact as the saved labels will shift.
Also note that having a matrix of that size can have a big impact on performance and it might be better to only work with dedicated Input/Output tables instead.
Hi Joey,
Yes, the matrixConfigV2.xml file is new to that element (it is also in a major range and new xml file name). There are dedicated input/output tables. The labels are correctly updated on the tables but has issues updating the matrixConfigV2.xml file and hence the labels on the matrix UI.
Hi Fenta, as the query on the matrixconfigV2.xml file fails, I suspect it may be an issue with the config xml file or the code that writes changes to that file. Have you checked if the xml file is still valid after it was edited?