.

Controller.MotionCount

The number of motion objects currently being controlled.

The motion controller uses motion objects zero through (MotionCount - 1). All the other motion objects are not controlled. The maximum value that this property can take is MotionCountMax.

This property is commonly used to reduce the number of motion objects being controlled, in order to allow the controller's sample rate to be increased.

Version History

Introduced in MPX 2.0.

Units

None

Type

UInt32

Visual Basic

Syntax

Property MotionCount As UInt32

Sample Code

 

x = Controller.MotionCount

Controller.MotionCount = 5


Sample Application

 

C#

Syntax

uint MotionCount;

Sample Code

 

See Also

MotionCountMax

 

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