.

Capture.Edge

Sets the edge of the capture trigger state on which the capture engine will record the encoder position. See diagram below.

//Needs Edits

Version History

Introduced in MPX 2.0.

Type

Mpx.CaptureEdge

Default

0.0

Common Exceptions

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

Visual Basic

Syntax

Property Edge As Mpx.CaptureEdge

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

Mpx.CaptureEdge Edge;

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

IsGlobalTrigger
SourceLevel
SourceEnable

Enumerations
CaptureEdge

 

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