.

Capture.ConfigurationReset

ConfigurationReset resets the capture object’s configuration to a default state. Specifically, it performs the following actions:

 
  • Disarms the capture
  • If enabled, it disables the triggering of the global trigger bit
  • Sets all capture source levels to False
  • Disables all capture sources
  • Sets the capture edge to CaptureEdge.Rising

Version History

Introduced in MPX 2.0.

Result

Void

Arguments

None

Visual Basic

Syntax

Sub ConfigurationReset()

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

void ConfigurationReset();

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

Disarm
Edge
IsGlobalTrigger
SourceLevel
SourceEnable

 

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