RMP Motion Controller
10.6.4
APIs
, concepts, guides, and more
Community
Support
Contact
◆
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.
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
GcodeMotion.cs
,
HelperFunctions.cs
,
Log.cs
,
SampleAppsHelper.h
, and
StreamingMotionBufferManagement.cpp
.
RSI
RapidCode
Cartesian
Robot
Generated by
1.10.0