void CaptureConfigSet ( RSICaptureType  type,
RSICaptureSource  source,
RSICaptureEdge  edge,
long  feedbackAxisNumber,
RSIMotorEncoder  encoder,
bool  global 
)

Description:
CaptureConfigSet sets the configuration required to capture Axis positions.
Parameters:
type A RSICaptureType value.
source A RSICaptureSource value.
edge A RSICaptureEdge value.
feedbackAxisNumber Which Axis position to capture? 0 to 31.
encoder A RSIMotorEncoder value.
global True = capture multiple positions per SqNode, false = default.
Sample Code:
  // configure to capture either edge of Home switch
  axis->CaptureConfigSet(RSICaptureTypePOSITION, RSICaptureSourceHOME, RSICaptureEdgeEITHER, this->NumberGet(), RSIMotorEncoderPRIMARY, false);
See also:
CaptureArm, CapturePositionGet
Examples:
Capture.cpp, and customHome.cpp.