[r891]: / branches / develop / mqttsparkplug / mqttsparkplug / Sparkplug™ MQTT edge and host / Function Blocks / FB_PrimaryHost / FB_PrimaryHost / PoolManager / allocDevicetoEdge / svnobj  Maximize  Restore  History

Download this file

5 lines (4 with data), 4.3 kB

1
2
3
4
    itfElement := THIS^._DevicePool.HeadElem.RemoveElem(); //Remove it, but now it is not part of a group anymore
    IF __QUERYPOINTER( itfElement,  pfb_RemoteDevice ) THEN
	pfb_RemoteDevice := _DevicesFactory.Create(itfData := initData, eError => FBFError);
	IF pfb_RemoteDevice <> 0 THEN