long SyncInterruptWait ( )
Description:
SyncInterruptWait suspends the current thread until an interrupt arrives from the controller.
Returns:
(long) Value of controller SampleCounter when interrupt occured.
Sample Code:
   // -- C++ -- //
  printf("A Sync Interrupt recieved at sample %ld.\n", controller->SyncInterruptWait());
   // -- C# -- //
  Console.WriteLine("A Sync Interrupt recieved at sample {0}.", controller.SyncInterruptWait());
See also:
SyncInterruptEnableSet
Examples:
custom97.cpp, and syncInterrupt.cpp.