APIs, concepts, guides, and more

◆ SetupControllerForHardware()

static void SetupControllerForHardware ( MotionController * controller)
static
Parameters
controllerPointer to the MotionController to set up.
{
ShutdownTheNetwork(controller);
controller->Reset(); // Reset the controller to ensure it is in a known state.
StartTheNetwork(controller);
}
Examples
HardwareLimits.cpp, Memory.cpp, MotionHoldReleasedBySoftwareAddress.cpp, MultiaxisMotion.cpp, PVTmotionMultiAxis.cpp, PathMotion.cpp, SampleAppsHelper.h, SingleAxisSyncOutputs.cpp, SyncOutputWithMotion.cpp, UpdateBufferPoints.cpp, and UserLimitDigitalInputAction.cpp.

Definition at line 397 of file SampleAppsHelper.h.