Stop the service thread before starting to use the controller's Sync interrupt.
// -- C++ -- //
controller->ServiceThreadEnableSet(false);
// -- C# -- //
controller.ServiceThreadEnableSet(false);
Note
The service thread is started automatically by default when the controller is initialized. It should only be disabled if using the periodic Sync interrupt from the controller.