void MoveCamLinear ( long  masterAxisNumber,
RSIAxisMasterType  masterFeedbackSource,
double *  masterDistances,
double *  slavePositions,
long  pointCount 
)

Description:
MoveCamLinear enables this Axis to be linear follower (slave) using an electronic cam.
Parameters:
masterAxisNumber Which Axis is the master? (0 to 31).
masterFeedbackSource A RSIAxisMasterType value.
*masterDistances Relative distance btween points on the master.
*slavePositions Position of the slave at given master distances.
pointCount Number of points in the cam table.
Sample Code:
  double masterDistances[] = { 10, 20, 10 };
  double slavePositions1[] = { 5, 35, 10 };
  
  // configure this Axis to follow Axis 0's Actual Position through a cam
  axis->MoveCamLinear(0, RSIAxisMasterTypeAXIS_ACTUAL_POSITION, masterDistances, slavePositions1, 3);
Notes:
MoveCamLinear is only functional in RapidCode 03.03.XX releases.
See also:
MoveCamCubic, FrameBufferSizeGet and FrameBufferSizeSet