Example #1
0
 /**
  * Helper procedure for testProcessFlipFlop() 
  * @param port
  */
 void runNativeLoop(Port& port) {
   unsigned long timeCodeStart = 0;
   const unsigned long timeCodeDuration = 255;
   while (port.isRunningState()) {
     nativeCyclecount++;
     port.execNativeCycleInit(timeCodeStart, timeCodeDuration);
     port.execNativeProcess(nullptr);
     port.waitForCycleDone();
     timeCodeStart += timeCodeDuration;
   }
 }