MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ ProcessorTypeGet()

RSIProcessorType ProcessorTypeGet ( )
pure virtual

Get the processor type.

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.
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