MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

#include "rsi.h" // Import our RapidCode Library.
using namespace RSI::RapidCode;
void PrintErrors(RapidCodeObject *rsiClass) //Helper Function to print all errors of a given RapidCodeObject
RsiError *err;
while (rsiClass->ErrorLogCountGet() > 0)
err = rsiClass->ErrorLogGet();
printf("%s\n", err->text);
void ErrorLogMain()
Axis *axisX;
const int AXIS_X = (2);
// Insert the path location of the RMP.rta (usually the RapidSetup folder)
char rmpPath[] = "C:\\RSI\\X.X.X\\";
// Initialize MotionController class.
// initialize Axis X
axisX = controller->AxisGet(AXIS_X);
controller->Delete(); // Delete the controller as the program exits to ensure memory is deallocated in the correct order.