title: Passing data between different speed loops in LabVIEW
body: <p>I have a (desktop) LabVIEW program running several large While loops. Each loop corresponds to the functions on an IO card in a myRIO DAQ system. Each card operates at a different speed, therefore each loop and subVIs in my code run at different speeds as well. </p>
  
  <p>However, I'm now finding that I need to pass data from a low speed loop to a high speed loop, and I'm not sure how to best go about it. </p>
  
  <p>The low speed loop actually connects via TCP to a Yokogowa power analyzer, and the loop speed is 50ms (20Hz). The high speed loop runs at 50kHz, and performs math operations using inputs from a high speed ADC to calculate motor torque, and needs the info from the low speed loop (power analyzer) to proceed. There's an 816:1 data flow difference.</p>
  
  <p>At runtime, it appears to work fine, until I spin the motor up, then the overtorque routine kicks in and shuts me down. </p>
  
  <p>So I next tried to queue the data, and that only significantly slowed the high speed loop.</p>
  
  <p>That being said, my thought was to take the incoming data on the low speed loop, and fill an array with that data (816 deep) and queue it up to the high speed loop, but I'm not quite certain how to go about that as well. </p>
  
  <p>How should I accomplish what I'm trying to do in a more efficient and proper manner?</p>