Sanjhosh Posted November 12, 2019 Share Posted November 12, 2019 Hi, I am a new Seeq user. I am struggling with creating new signals from existing signals. Would appreciate your help! 1. Is there a formula which compares 6 signals at an instant and gives the maximum of the 6 signals at that instant in the form of a new signal? (Context: The 6 signals are temperature values) 2. Is there a way to create a new signal which contains only those values from a existing signal which are greater than let's say 900? Link to comment Share on other sites More sharing options...
Seeq Team Joanna Zinsli Posted November 12, 2019 Seeq Team Share Posted November 12, 2019 Welcome to Seeq! For your first question regarding creating a signal that is the max of several signals, check out the max() function in Formula and see this other seeq.org post linked below. As far as removing values that are above or below a threshold (like 900), search for the remove() function in Formula, and find the Signal variant. You can write a nested function as shown in the Formula help to remove values less than a threshold per below. $signal.remove(isLessThan(900)) For more information about how to search through Seeq's Formula documentation, see this KB article on Seeq Formula https://support.seeq.com/space/KB/143884328/Formula. Happy Seeqing! 1 1 Link to comment Share on other sites More sharing options...
Sanjhosh Posted November 12, 2019 Author Share Posted November 12, 2019 Thanks a lot! Link to comment Share on other sites More sharing options...
Guest Jon Peterson Posted November 12, 2019 Share Posted November 12, 2019 Hi Sanjhosh, Could you share with us what you need to do with the signal >= 900? That would give some insight on how best to help. For example, you can also use the Seeq Value Search (the first tool panel item) to create a condition >=900. This condition would result in a capsule everywhere the signal is >= 900. We have lots of analyses we can then do with those capsules. Regards, Jon Peterson Link to comment Share on other sites More sharing options...
Sanjhosh Posted November 12, 2019 Author Share Posted November 12, 2019 9 hours ago, Jon Peterson said: Hi Sanjhosh, Could you share with us what you need to do with the signal >= 900? That would give some insight on how best to help. For example, you can also use the Seeq Value Search (the first tool panel item) to create a condition >=900. This condition would result in a capsule everywhere the signal is >= 900. We have lots of analyses we can then do with those capsules. Regards, Jon Peterson Hi Jon, I actually wanted a signal to show values only when another signal is >=900. Could you help me with that? Thank you. Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted November 12, 2019 Share Posted November 12, 2019 Hi Sanjhosh, you can try to remove the values from the signal as @Joanna Zinsli described above. Another way would be using within(). In this example I display only values from the "Temperature" signal, when the signal "Relative Humidity" is above 75 %. I used remove() and within() in the following formulas: The condition is determined by a simple "Value Search": Regards, Thorsten Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now