APIs, concepts, guides, and more

◆ SetupControllerForPhantoms()

static void SetupControllerForPhantoms ( MotionController * controller,
int axisCount,
std::vector< int > axisNums )
static
Parameters
controllerPointer to the MotionController to set up.
axisCountNumber of axes to configure as phantom.
axisNumsVector of integers specifying the axis numbers to configure as phantom.
static void SetupControllerForPhantoms(MotionController *controller, int axisCount, std::vector<int> axisNums)
{
ShutdownTheNetwork(controller);
ClearControllerCounts(controller);
controller->AxisCountSet(axisCount);
for (auto axisNum : axisNums)
{
ConfigurePhantomAxis(controller, axisNum);
}
}
Examples
HardwareLimits.cpp, Memory.cpp, MotionHoldReleasedBySoftwareAddress.cpp, MultiaxisMotion.cpp, PVTmotionMultiAxis.cpp, PathMotion.cpp, SampleAppsHelper.h, SingleAxisSyncOutputs.cpp, SyncOutputWithMotion.cpp, and UpdateBufferPoints.cpp.

Definition at line 442 of file SampleAppsHelper.h.