void SyncInterruptPeriodSet ( long  samples)
Description:
SyncInterruptPeriodSet configures the number of Controller firmware foreground samples between Sync interrupts. Therefore, an interrupt will be generated every [x] samples.
Parameters:
samplesThe number of foreground cycles between successive interrupts from the controller.
Sample Code:
Configure for a Sync interrupt every 10ms (assumes controller running at default 2000Hz sample rate)
   // -- C++ -- //
  controller->SyncInterruptPeriodSet(20);
   // -- C# -- //
  controller.SyncInterruptPeriodSet(20);
Notes:
The Sync Interrupt is only intended for real-time operating systems.
See also:
InterruptWait
Examples:
custom97.cpp, and syncInterrupt.cpp.