#include "rsi.h"
#include "HelperFunctions.h"
void PTmotionMain()
{
using namespace RSI::RapidCode;
const int AXIS_NUMBER = 0;
const int USER_UNITS = 1048576;
int points = 3;
int emptyCount = -1;
double positions[] = { 2.0, 5.0, 0.0 };
double times[] = { 2.0, 3.0, 1.0 };
char rmpPath[] = "C:\\RSI\\X.X.X\\";
SampleAppsCPP::HelperFunctions::CheckErrors(controller);
try
{
SampleAppsCPP::HelperFunctions::StartTheNetwork(controller);
SampleAppsCPP::HelperFunctions::CheckErrors(axis);
positions,
times,
points,
emptyCount,
false,
true);
}
{
printf(
"%s\n", err.
text);
}
}