InoDrive / SysControl / console_enable


InoDrive.SysControl.console_enable(self, state=False)

Allows printing of messages from Programmed Print Blocks to InoWorx Watch Window Console.

Arguments:

self (Object): Reference to SysControl Instance.
state (Boolean): Allow Printing Programmed Print Block messages to Watch Window Console, True or False.

Returns: Boolean – True or None on successful enable.

import CkInoDriveAPI

# Instantiate InoDrive Object and Connect by Name
Drive = CkInoDriveAPI.InoDrive(target='Name', autoConnect=True)

# Allow Printing of Programmed Messages to InoWorx Watch Window Console
result = Drive.SysControl.console_enable(True)