APIs, concepts, guides, and more
See the following Concept pages for a detailed explanation of this sample: Error Logging.
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. We recommend that you wire an external hardware emergency stop (e-stop) button for safety when using our code sample apps. Doing so will help ensure the safety of you and those around you and will prevent potential injury or damage.

The sample apps assume that the system (network, axes, I/O) are configured prior to running the code featured in the sample app. See the Configuration page for more information.
using RSI.RapidCode.dotNET; // Import our RapidCode Library.
using NUnit.Framework;
using System;
class Log : SampleAppTestBase
public void ErrorLog()
// Turn off exceptions. Exceptions will be logged as RsiError objects.
// Do something that will cause an error (zero acceleration).
axis.MoveVelocity(0.0, 0.0);
while (axis.ErrorLogCountGet() > 0)
RsiError error = axis.ErrorLogGet();
void MoveVelocity(double velocity)
void ThrowExceptions(bool state)
Configure a class to throw exceptions.
const RsiError *const ErrorLogGet()
Get the next RsiError in the log.
int32_t ErrorLogCountGet()
Get the number of software errors in the error log.