.

Controller.State

State represents the operational state of the motion controller.

If State is not ControllerState.OK, then the controller is not in a fully functional state and some MPX methods and properties will fail if accessed.

Version History

Introduced in MPX 2.0.

Type

Mpx.ControllerState (read only)

Visual Basic

Syntax

Property State As Mpx.ControllerState

Sample Code

 
If controller.State = Mpx.ControllerState.FirmwareInvalid Then
controller.FirmwareLoadFromFile("zmp632A3.bin")
End If


Sample Application

 

C#

Syntax

Mpx.ControllerState State;

Sample Code

 
if(controller.State == Mpx.ControllerState.FirmwareInvalid)
{
controller.FirmwareLoadFromFile("zmp632A3.bin");
}

 

 

See Also

Enumerations
ControllerState

 

       Legal Notice  |  Tech Email  |  Feedback
      
Copyright ©
2001-2021 Motion Engineering