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");
// -- C# -- //
Console.Writeline("ProcessorTypeGet identifies the controller as a {0}", ((RSIProcessorType)controller.ProcessorTypeGet()).ToString());
See also
RSIProcessorType
RSI::RapidCode::RSIProcessorType
RSIProcessorType
Controller's processor type.
Definition: rsienums.h:301