Jump to content

FOR (loop) Statements in Seeq

Ted Williams

Recommended Posts

  • Seeq Team

Hi Ted,

In the Seeq Formula editor, the transform() and filter() functions provide ways to loop over all the samples in a signal as well as all the capsules in a condition.

For example, a 2 sample running average of a signal can be calculated as shown here, by looping over each sample in the Temperature signal:



Giving this result:



As an example of looping over all the capsules in a condition, high temperature capsules lasting longer than 4 hours can be identified with this formula:



As shown in the trend view, only the temperature excursions longer than 4 hours are included in the “Extended High T Periods” condition:



I hope these examples are helpful! Please let me know if you have further questions.




Link to comment
Share on other sites


This topic is now archived and is closed to further replies.

  • Create New...