APIs, concepts, guides, and more

◆ GetCreationParameters()

MotionController::CreationParameters GetCreationParameters ( )
#if _WIN32
MotionController::CreationParameters GetCreationParameters()
{
// Create a controller with using defined parameters
MotionController::CreationParameters params;
strncpy(params.RmpPath, RMP_PATH, params.PathLengthMaximum);
strncpy(params.NicPrimary, NIC_PRIMARY, params.PathLengthMaximum);
strncpy(params.NodeName, NODE_NAME, params.PathLengthMaximum);
return params;
}
#elif __linux__
MotionController::CreationParameters GetCreationParameters()
{
MotionController::CreationParameters params;
strncpy(params.RmpPath, RMP_PATH, params.PathLengthMaximum);
strncpy(params.NicPrimary, NIC_PRIMARY, params.PathLengthMaximum);
return params;
}
#endif

[GetCreationParameters]

Examples
axis-configuration.cpp, calculate-acceleration-from-velocity.cpp, config.h, difference-of-position-user-limit.cpp, hello-rttasks.cpp, phantom-axis.cpp, point-to-point.cpp, print-network-topology.cpp, random-walk.cpp, record-performance.cpp, and starter-template.cpp.

Definition at line 68 of file config.h.