Documentation
ConnectParent
Require: IP-Symcon >= 4.0
void ConnectParent (string $ParentGUID)
Parameters
ParentGUID |
Returns
No Return
Description
The function connects the instance with an existing compatible parent instance. If this is not available, one will be created and subsequently connected.
A list of the available moduleIDs (GUID) can be found HERE .
The norm for this function is a device module which wants to attach itself to a splitter. A new one is only created if there is no splitter.
Example
public function Create() {
// Never remove the line!
parent::Create();
// Connect to an existing splitter or create a new one if necessary
$this->ConnectParent("{46C969BF-3465-4E3E-B2A5-E404FB969735}");
}