In my setup I have an entry point to table 13000 (the Data table of a DVE element).
This table has a 1:1 Foreign Key relation to the DVE table of this element, a relation is defined in the protocol.
Now I want to also display data within the same function from another table (table 31000) as stand-alone parameters.
This table already contains a 1:1 Foreign Key relation to the DVE table (PK = FK), and it has a relation to the DVE table.
I have added another column with the Foreign Key, that links to table 13000 (the one with the entry point) so that I can include parameters of this table in the function definition.
I want to export them as stan-alone parameters.
I have tested this, and it seems to work.
However, as regular DVEs and functions are separate code paths, I would like to know if this is supported.
I know that there would always be 1 line in table 13000 and in tabel 31000 for this DVE.
Is this a supported configuration, or does it accidentally work, but might get broken in the future?
Hi Filiep,
I'd just like to add that function DVEs and regular DVEs actually largely have the same code path, but need different "flags" to be checked. There are some exceptions though, like the way DCF interfaces and alarms are exported.
For example, alarms are only exported for regular DVEs and not function DVEs. This also means that a stand-alone parameter can be exported to a function DVE, while a regular DVE is only capable of exporting columns with a relation to the DVE row as a stand-alone parameter.
Hi Filiep,
As far as I know it's supported as long as
- Both tables have a 1:1 relation
- The primary key of the data table is exact the same as the primary key of the linked DVE row