RMP Motion Controller
10.6.0
APIs
, concepts, guides, and more
Community
Support
Contact
◆
SourceNameGet()
const char *const SourceNameGet
(
RSISource
source
)
Description:
SourceNameGet will return the first status bit which is set on an
Axis
or
MultiAxis
. The source can be checked when 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
.
Part of the
State and Status
method group.
Sample Code:
if
(axis->StateGet() ==
RSIStateERROR
)
{
int32_t source = axis->SourceGet();
printf(
"Error source is %s\n"
, axis->SourceNameGet(source));
}
RSI::RapidCode::RSIState::RSIStateERROR
@ RSIStateERROR
Error.
RapidSetup:
Go to
Axis
screen, Status tab.
This displays the various bit that are checked if axis is in error state
Note
See also
RSISource
,
StateGet
Examples
AxisStatus.cs
.
RSI
RapidCode
RapidCodeMotion
Generated by
1.10.0