title: Delay function in CAPL apart from testwaitfortimeout()
body: <p>I have a CAPL test node that controls a GPIB power supply. This CAPL generates a signal that is modified each 3 ms. My CAPL looks like this:</p>
  
  <pre><code>...
  testcase wavGenerator()
  {
     GPIBWrite(myDevice, "VOLT", voltValue);
     testwaitfortimeout(3);
     ...
  }
  </code></pre>
  
  <p>The problem is that this testwaitfortimeout() function generates a comment in the test report, and since i use this function 2000/3000 times for each testcase, I end with a enormous test report. </p>
  
  <p>I have tried implementing a function to generate a "delay" like waitfortimeout() does, like this:</p>
  
  <pre><code>void delay(int ms)
  {
     float refTime;
     refTime = timeNowFloat();
     while(timeNowFloat() &lt; (refTime + ms*100))
     {
        /* Wait to reach expected time*/
     }
  }
  </code></pre>
  
  <p>but this crashes CANoe. I have tried something like this with setTimer() functions but the problem is the same. How can I generate this delay?</p>