InoDrive / SysControl / take_control
InoDrive.SysControl.take_control(self, target=None)
Take control of Module to override properties of Module I/O and connected Motor.
Arguments:
• self (Object): Reference to SysControl Instance.
• state (Boolean): Take Module control state, True or False.
Returns: Boolean – True or None on successfully taking control of Module.
import CkInoDriveAPI # Instantiate InoDrive Object and Connect by Name Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True) # Take Control of Module result = Drive.SysControl.take_control(True)