title: Loop a command in VxWorks at a certain frequency
body: <p>I am attempting to loop a command in VxWorks around 6Hz, I cannot compile code for the target in question so I have to use existing VxWorks shell commands</p>
  
  <p>I have tried:</p>
  
  <pre><code>repeat(1000,functionX,param1,param2,param3)
  </code></pre>
  
  <p>This works well at repeating the command 1000 times but wont give me the frequency I require</p>
  
  <p>As a comprimise I looked at:</p>
  
  <pre><code>period() 
  </code></pre>
  
  <p>as this is capable of giving me 1hz calls on the function (which might be acceptable) however I cannot work out how to enter the required parameters into the FunctionX
  I have tried both:</p>
  
  <pre><code>period(1,functionX,param1,param2,param3)
  </code></pre>
  
  <p>and </p>
  
  <pre><code>period(1,functionX(param1,param2,param3))
  </code></pre>
  
  <p>with no luck</p>
  
  <p>Any Ideas on how to acheive the 6Hz rate for FunctionX would be great but if that is not possible without compiling some code then I will settle for a way of getting the period command to work with parameters in the function I am calling</p>