Hello everyone,
I am working on function for a generic MediaKind RX1 driver. In that function, we need to export table Services which had one column we want to do sets on with our PLS script.
Tables are exported and can be seen on DVE elements of our resource, but rows from that table aren't being shown. In picture below you can see that main element has rows, but on decoding DVE element and demodulating DVE element, we can't see any rows.
But, whenever we set any value in main table, our DVEs get that modified row, e.g. if I edit row RX2, that row will be showin in our DVE elements...
After which we can do sets from any element and they would be in sync as expected.
Did anyone encounter the same issue? If so, please let me know.
We can do manual changes on this rows but if the customer adds any more services, we would be in trouble.
Thanks in advance
Don’t know I couldn’t copy them directly to the post…
Picture 1 (after export and before any set)
https://ibb.co/jRwYyF9
Picture 2(after set on one row in main element)
https://ibb.co/c1yQGFN
I managed to see your screenshots via the links but you should be able to edit your question and use the upload button to add the images (not direct paste) and those should then appear
Hi,
From your description and images, it looks like some columns are not populated with data even after the set, which makes me think something is not being linked correctly.
Could you elaborate on how you are doing the function for the MediaKind RX1?
Is the primary key of that table linked in any way to the table that generates the function DVEs or is it a different key and is filtered based on a different condition?
Also, after being populated, I noticed that each table only contains 1 entry. Is this always the case or just in this specific example? If you are always going to have a single entry and the key corresponds to the identifier of the resource it could be that you could export those as standalone parameters instead of a table.
I was thinking about that either. In protocol we don’t have any connections when it comes to keys, and it is regarding pretty much all tables in the function. Also, all tables mentioned in both functions are exported in same way (code wise), and all of them are showing rows (empty rows showing just primary key value, but that is also fine), and only table that is empty is this one.
But on the other hand, all tables have some similarity in primary key (Ce1-X-1/output_x/input_X…) but this table is filled with random characters(Other tables: https://ibb.co/vQbJzq6 | My table: https://ibb.co/Rb4VvK6 ), don’t know if that can be connected to the problem… possible.
Also, it isn’t exported by that table, so I can’t set it as stand alone param. If I try to export 1006 (table id is 1000), and position only that 1006 param, it will again export entire table.
It seems to me that it could be due to the linking between the main element’s tables and the key of the DVE for filtering.
DVEs (function or ‘regular’) are designed to show filtered data based on an index and when that index is missing or DataMiner is unable to determine it, it becomes difficult to display things correctly.
Hi Rijad,
Could you check your images as I can’t seem to see them?