#include "rsi.h"
#include "HelperFunctions.h"
#include <string>
using namespace RSI::RapidCode;
{
printf(
"\nThe source of the axis error is: %s ", axis->
SourceNameGet(source));
}
{
printf("\nYour Axis is in state: %i", state);
}
void AxisStatusMain()
{
const int AXIS_NUMBER = 0;
char rmpPath[] = "C:\\RSI\\X.X.X\\";
SampleAppsCPP::HelperFunctions::CheckErrors(controller);
SampleAppsCPP::HelperFunctions::StartTheNetwork(controller);
SampleAppsCPP::HelperFunctions::CheckErrors(axis);
try
{
switch (state)
{
PrintState(state);
break;
PrintState(state);
PrintSource(axis, source);
break;
default:
printf("");
break;
}
}
{
printf(
"\n%s\n", err.
text);
}
system("pause");
}