Math channel loop rate - is there a limit? My math channels are skipping calculations.

  • Software
  • Math channel loop rate - is there a limit? My math channels are skipping calculations.
Nick Rawson

Posted on 16.07.2018 18:00

Hello,


I have a Sirius slice and the DAQ rate is set to 20,000S/s.


I have math channel (lets call it MATH1) that relies on the PREV function and is set to SYNC with an SRDiv of 2000 (so that it executes at a rate of 10Hz).


I have added another quite complicated math channel (MATH2) related to fluid computation, and set to ASYNC. It appears when MATH2 is in use it causes MATH1's PREV function to mess up. I think it is reading the PREV value as 0 - maybe because it skips calculations. When I set MATH2 to 'Unused' the problem goes away for MATH1.

I have tried setting MATH2 to SYNC with an SRDiv of 5000 (the maximum) - this doesn't solve the problem and actually causes the whole Dewesoft software to stutter every couple of seconds.


Is there a limit on how many math channels can be successfully executed? Is there a way to view this limit? Is there a better way to execute my math channels?


I can send you the setup file but I do not want to post it on a public forum.


Thanks.

Login to reply to this topic. If you don't have account yet, you can signup for free account .