The RMP Motion Controller APIs

◆ ProcessorTypeGet()

RSIProcessorType ProcessorTypeGet ( )
Description:
This returns the type of the controller's processor, XMP or ZMP.
Returns
(RSIProcessorType) A value to represent a XMP or ZMP controller type.
Remarks
This function is also available in RapidSequencer.
Sample Code:
Get the processor type and report its Type.
// -- C++ -- //
RSIProcessorType processorType = controller->ProcessorTypeGet();
printf("ProcessorTypeGet identifies the controller as a %s.\n", processorType == RSIProcessorType::RSIProcessorTypeXMP ? "RSIProcessorType::RSIProcessorTypeXMP" : "RSIProcessorType::RSIProcessorTypeZMP");
RSIProcessorType ProcessorTypeGet()
Get the processor type.
RSIProcessorType
Controller's processor type.
Definition rsienums.h:294
// -- C# -- //
Console.Writeline("ProcessorTypeGet identifies the controller as a {0}", ((RSIProcessorType)controller.ProcessorTypeGet()).ToString());
See also
RSIProcessorType