RMP Motion Controller
10.4.4
The RMP Motion Controller APIs
MotionController
Axis
MultiAxis
IO
IOPoint
NetworkNode
RsiError
Contact
Support
RMP
◆
ErrorLogCountGet()
int32_t ErrorLogCountGet
(
)
inherited
Description:
ErrorLogCountGet returns the number of software errors in the error log.
Returns
(int32_t) Number of software errors in the error log.
Remarks
This function is also available in
RapidSequencer
.
Sample Code:
// Turn off exceptions.
axis->ThrowExcetpions(
false
)
// Do something that will cause an error (zero acceleration).
axis->MoveVelocity(0.0, 0.0);
while
( axis->ErrorLogCountGet() > 0 )
{
error = axis->ErrorLogGet();
printf(
"Error is %s\n"
,error->text);
printf(
"ErrorLogCount is %ld\n"
, axis->ErrorLogCountGet());
}
See also
ErrorLogGet
Examples
HelperFunctions.h
,
StreamingMotionBufferManagement.cpp
,
SyncOutputWithMotion.cpp
, and
UpdateBufferPoints.cpp
.
RSI
RapidCode
Cartesian
Robot
Generated on Thu Sep 28 2023 12:52:44 for RMP Motion Controller by
1.8.20