The RMP Motion Controller APIs

◆ InterruptEnableSet()

void InterruptEnableSet ( bool enable)
Description:
InterruptEnableSet - If true, this Axis/MultiAxis will configure the controller to generate interrupts specific to this Axis/MultiAxis. If false, the controller is configured to not generate interrupts for this Axis/MultiAxis.
Parameters
enableTrue = interrupts are enabled.
Remarks
This function is also available in RapidSequencer.
Sample Code:
We plan to use interrupts for this Axis/MultiAxis.
// -- C++ -- //
axis->InterruptEnableSet(true);
- or -
multiaxis->InterruptEnableSet(true);
// -- C# -- //
axis.InterruptEnableSet(true);
- or -
multiaxis.InterruptEnableSet(true);
Note
It may appear you have a memory leak if you have this enabled and aren't using InterruptWait sufficiently to empty the growing buffer.
See also
InterruptWait