You could put the calculation in a parellel loop to avoid lockup. Use functions on Synchronization palette to synchronize parellel loops.
You could put the time consuming calculation in a CIN or Dll to improve performence.
George Zou
http://gtoolbox.yeah.net
George Zou