RSISource SourceGet (  ) 

Description:
SourceGet will return the first status bit which is set on a MultiAxis. The source can be checked when the MultiAxis is in an error state. There may be additional status bits set, use Axis::StatusBitGet to check any other bits.
Returns:
(RSISource) The first status bit found.
Sample Code:
  if (multiAxis->SourceGet() == RSISourceLIMIT_HW_NEG)
   {
    printf("Error source is Negative Hardware Limit Switch\n");
  }
Notes:
Returns RSISourceUNKNOWN if source is not found.
See also:
RSISource, StateGet