#include "rsi.h"
#include "HelperFunctions.h"
void SetUserUnitsMain()
{
using namespace RSI::RapidCode;
const int AXIS_NUMBER = 0;
const int USER_UNITS = 1048576;
char rmpPath[] = "C:\\RSI\\X.X.X\\";
SampleAppsCPP::HelperFunctions::CheckErrors(controller);
try
{
SampleAppsCPP::HelperFunctions::StartTheNetwork(controller);
SampleAppsCPP::HelperFunctions::CheckErrors(axis);
printf("The axis current user unit is: %f\n", currentUserUnits);
printf("The axis current user unit is: %f\n", currentUserUnits);
}
{
printf(
"%s\n", err.
text);
}
system("pause");
}