MotionController Axis MultiAxis IO IOPoint NetworkNode RsiError
Sample Apps Changelog

RapidCode API

◆ InterruptEnableSet()

void InterruptEnableSet ( bool  enable)
pure virtual

Control interrupts for this class.

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

Implements RapidCodeInterrupt.