.

Motion.EventEnable

Enables or disables any of the events that are generated by the Can object from being reported to the host. Refer to the Events Overview section for a list of events generated by the Motion object.

Version History

Introduced in MPX 2.0.

Type

Boolean (read only)

 
  •   True - The event is generated on the host
  •   False - The event is not generated on the host

Index

 
Index Type Description
Mpx.EventType The type of event that is being enabled or disabled.

Visual Basic

Syntax

Property EventEnable As Boolean(index As Mpx.EventType)

Sample Code

 

Controller.Motion(3).EventEnable(EventTypeAtVelocity) = True

x = Controller.Motion(3).EventEnable(EventTypeAtVelocity)


Sample Application

 

C#

Syntax

bool[Mpx.EventType] EventEnable;

Sample Code

 

See Also

EventEnableAll
EventEnableNone

Status

EventType

 

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