char * SourceNameGet ( RSISource  source  ) 

Description:
SourceNameGet will return the first status bit which is set on an axis. The source can be checked when the axis is in an error state. There may be additional status bits set, use StatusBitGet to check any other bits.
Parameters:
source (RSISource)
Returns:
(char*) The name of the RSISource.
Sample Code:
  if (axis->StateGet() == RSIStateERROR)
   {
    long source = axis->SourceGet();
    printf("Error source is %s\n", axis->SourceNameGet(source));
  }
Notes:
See also:
RSISource, StateGet