ErrorLog.cs

Read RSIError objects from the error log. Required during object creation and if ThrowExceptions(false) is set.

Warning
This is a sample program to assist in the integration of the RMP motion controller with your application. It may not contain all of the logic and safety features that your application requires.

ErrorLog
Visit ourTopic Page for more information.
This sample application demonstrates how to check errors on creation of RapidCode Objects and catch/throw exceptions througout a program.

// 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);
}