.

Controller.CaptureCount

The MPX attempts to simplify the object model used by MPI-compatible controllers. In doing so, the MPX Axis object actually wraps four MPI objects: MPIAxis, MPIFilter, MPIMotor, and MPICapture. The motion controller can enable different numbers for each of these objects.

This property represents the number of MPICapture objects that the controller is currently controlling.

The motion controller communicates with the capture objects associated with axes zero through (CaptureCount - 1). No communication exists with any other capture objects. The maximum value that this property can take is CaptureCountMax.

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

MpxAxisCount is provided as a way to simultaneously set the enabled count of each of the four objects that comprise the MPX Axis object.

Version History

Introduced in MPX 2.0.

Units

None

Type

UInt32

Visual Basic

Syntax

Property CaptureCount As UInt32

Sample Code

 

x = Controller.CaptureCount

Controller.CaptureCount = 5


Sample Application

 

C#

Syntax

uint CaptureCount;

Sample Code

 

See Also

CaptureCountMax
MpxAxisCount

 

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