.

Capture.SourceLevel

Sets the level that a particular capture source contributes to the capture trigger state. See diagram below.

//Needs Edits

Version History

Introduced in MPX 2.0.

Type

Boolean (read only)

Index

 
Index Type Description
Mpx.CaptureSource The capture source that is to be accessed. See CaptureSource.

Common Exceptions

 
Error Occurs when...
CaptureArmed The capture object is currently armed and cannot be configured.

Visual Basic

Syntax

Property SourceLevel As Boolean(index As Mpx.CaptureSource)

Sample Code

 
Dim capture As Mpx.Capture = controller.Axis(3).Capture(0)
capture.ConfigurationReset()
capture.SourceEnable(Mpx.CaptureSource.Index) = True
capture.SourceLevel(Mpx.CaptureSource.Index) = True
capture.Edge = Mpx.CaptureEdge.Rising
capture.Arm()


Sample Application

Home1

C#

Syntax

bool[Mpx.CaptureSource] SourceLevel;

Sample Code

 
Mpx.Capture capture = controller.Axis(3).Capture(0);
capture.ConfigurationReset();
capture.SourceEnable[Mpx.CaptureSource.Index] = true;
capture.SourceLevel[Mpx.CaptureSource.Index] = true;
capture.Edge = Mpx.CaptureEdge.Rising;
capture.Arm();

Sample Application

Home1

See Also

Edge

Enumerations
CaptureSource

 

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