I have a dummy matrix driver with no data source connected. There is no matrix component used in the protocol, only source and destination tables. The crosspoints aren't saved, so after a restart a need to remove all my internal DCF connections.
The problem is that in below code the interfaces doesn't get loaded in the after startup QAction although the startupCheck boolean is set to true. Can someone explain me why?
Hi Jens,
As I understand this is for simulation / demo purpose.
In that case I understand you want to delete all the Connections at startup.
Would it be possible to test by retrieving all of the interfaces instead of already filtering on ParameterGroup
For example:
using (dcfhelper dcf = new dcfhelper(protocol, true, new dcfmappingoptions { pidcurrentconnections = parameter.map_connections, pidcurrentconnectionproperties = parameter.map_connectionproperties, helpertype = syncoption.custom }))
{
foreach (connectivityinterface itf in dcf.getinterfaces(new dcfdynamiclink(string.format("{0}/{1}", protocol.dataminerid, protocol.elementid), null))[0].allinterfaces)
{
protocol.log("interface name: " + itf.interfacename + " | " + itf.dynamiclink);
}
}