RMP Motion Controller
10.6.6
APIs
, concepts, guides, and more
Community
Support
Contact
◆
ErrorLogGet()
const
RsiError
*const ErrorLogGet
(
)
inherited
Description:
ErrorLogGet returns the next
RsiError
in the log.
Returns
(RsiError*) An error.
Sample Code:
Error Logging
// Turn off exceptions. Exceptions will be logged as RsiError objects.
axis.
ThrowExceptions
(
false
);
// Do something that will cause an error (zero acceleration).
axis.
MoveVelocity
(0.0, 0.0);
while
(axis.
ErrorLogCountGet
() > 0)
{
RsiError error = axis.
ErrorLogGet
();
Console.WriteLine(error.Message);
}
See also
ErrorLogCountGet
Examples
GcodeMotion.cs
,
HelperFunctions.cs
,
Log.cs
,
SampleAppsHelper.h
, and
StreamingMotionBufferManagement.cpp
.
RSI
RapidCode
Cartesian
Robot
Generated by
1.10.0