Click or drag to resize

RapidExecutionStatus Property

Gets current execution status of the Rapid domain. Execution status is running if any normal task is executing. Corresponds to system output CycleOn.

Namespace:  ABB.Robotics.Controllers.RapidDomain
Assembly:  ABB.Robotics.Controllers (in ABB.Robotics.Controllers.dll) Version: 6.5.129.0
Syntax
C#
public ExecutionStatus ExecutionStatus { get; }

Property Value

Type: ExecutionStatus
The value of current execution status, ExecutionStatus.
Exceptions
ExceptionCondition
GeneralExceptionA General Exception has occurred.
Examples
This example gets the ExecutionStatus and disables the GUI if execution status is Running.
public bool ITpsViewSetup.Install(object sender,object data)
{
    bool result = false;
    try
    {
        // Create Controller
        ctrl = new Controller();

        // Get execution status
        ExecutionStatus exeStatus = ctrl.Rapid.ExecutionStatus;

        if (exeStatus == ExecutionStatus.Running)
            this.DisableUI();
    }
    catch (GeneralException ee)
    {
        // TODO: Add error handling
    }
    catch (System.Exception ee)
    {
        // TODO: Add error handling
    }

    return result;
}
See Also