Felix Jing Posted July 8, 2020 Share Posted July 8, 2020 Good morning, From this link https://support.seeq.com/space/KB/112780067/Data%20in%20Seeq, I saw the objects of marker, but it didnt tell me how to generate a marker. I would like to generate a marker when equipment failed and then calculate the time between the failures, how can i do this? Thank you Link to comment Share on other sites More sharing options...
Thorsten Vogt Posted July 8, 2020 Share Posted July 8, 2020 Hi Felix, markers can be created with the function markersThreshold(). In the following example I am creating markers for the points in time, when the value becomes greater than 78. The markers are just capsules with no duration: Adding growEnd() to the function will create capsules spanning from marker to marker: When working with markers ypu should also know capsulesFromMarkers(), which you can use to create capsules between different markers. Let suppose you want to create a capsule starting each time the temperature rises above 80 and ending when the temperature falls below 90: $start = $t.markersThreshold(isgreaterthan(80)) $end = $t.markersThreshold(islessthan(90)) capsulesFromMarkers($start, $end, 2wk) The markers can be created on two different signals as well: Hope this helps. Regards, Thorsten 1 Link to comment Share on other sites More sharing options...
Felix Jing Posted July 8, 2020 Author Share Posted July 8, 2020 Hey Thorsten, Thanks for your reply. Is there a way to make a marker based on date? I saw the example in the formula are based on signal values. For my case,when there are failures occurred and we know the date and time from another source. we would like to pin it on the seeq visuals. regards, Felix Link to comment Share on other sites More sharing options...
Seeq Team Chris Orr Posted July 8, 2020 Seeq Team Share Posted July 8, 2020 Hello Felix, Thorsten, If you know the start and end date of a particular event/failure, you can simply create a Custom Condition or accomplish the same result through Formula. Alternatively, you can use the CSV Import Tool to import multiple capsules if you have the start/end dates listed in a CSV file. Does this address your question, Felix? Chris O 2 Link to comment Share on other sites More sharing options...
Seeq Team Chris Orr Posted July 8, 2020 Seeq Team Share Posted July 8, 2020 Felix, To address the 2nd part of your question, once you have created capsules for all your known failures. You can use Seeq Formula to create a condition of "non-failures" with the Formula: $failure.growEnd(2yr) From there, you can use the TimeSince function in Formula to create a time counter between failures. TimeSince($nonfailures, 1d) Hope that completes the picture for you! -Chris O 2 Link to comment Share on other sites More sharing options...
Felix Jing Posted July 8, 2020 Author Share Posted July 8, 2020 thank you so much. You are always so helpful. XD 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