Integratec API Platform
opPyApi.opControlConnection Class Reference

This class provides an interface for controlling the modules. More...

Public Member Functions

def isOpen (self)
 Indicates whether or not a control connection is open. More...
 
def open (self, ip, port)
 Opens a control connection to a control hub. More...
 
def close (self)
 Closes the control connection. More...
 
def start (self)
 Sends a signal to the control hub to start registered processes on each control node. More...
 
def stop (self)
 Sends a signal to the control hub to stop registered processes on each control node. More...
 

Detailed Description

This class provides an interface for controlling the modules.

Attention
An opControlConnection object is NOT thread-safe, meaning that while you are allowed to use the object in multiple threads, you must ensure that you are not calling its methods simultaneously in multiple threads.