matia.mazzocco Posted December 12, 2022 Share Posted December 12, 2022 Dear all, I would like to create like a stopwatch which is able to estimate the time for the current batch in production. i.e., batch 1 ends, batch 2 starts: stopwatch switches to ON and starts giving as output the duration of the last batch (batch 2). Many thanks! Matia Link to comment Share on other sites More sharing options...
Seeq Team Joe Reckamp Posted December 12, 2022 Seeq Team Share Posted December 12, 2022 Hi Matia, Can you clarify a bit as to exactly what you are looking for? For example, when Batch 2 is running, are you wanting to see the remaining time for Batch 2 assuming it would operate at the same duration as Batch 1 (e.g. (batch 1 duration) - (running time of batch 2))? Or are you just wanting to see the previous batch's duration? Or something else? Link to comment Share on other sites More sharing options...
matia.mazzocco Posted December 12, 2022 Author Share Posted December 12, 2022 Hi Joe, Yes sure! I would like to estimate the duration of the current batch in production in hour (see picture attached below), so the batch we are still running. Thanks Matia Link to comment Share on other sites More sharing options...
Seeq Team Joe Reckamp Posted December 12, 2022 Seeq Team Share Posted December 12, 2022 Hi Matia, If you have already made a capsule for the batch, you can simply use the timesince function in Formula to make a counter for the current batch duration: timeSince($condition, 1h) Link to comment Share on other sites More sharing options...
matia.mazzocco Posted December 12, 2022 Author Share Posted December 12, 2022 Hello Joe, I`m not able to build the capsule for the current batch Link to comment Share on other sites More sharing options...
Seeq Team Joe Reckamp Posted December 12, 2022 Seeq Team Share Posted December 12, 2022 What does your Batch Data look like? Do you have a Batch ID that tells you what batch is currently running? Link to comment Share on other sites More sharing options...
matia.mazzocco Posted December 12, 2022 Author Share Posted December 12, 2022 I have a string made by a letter plus numbers, i.e. X1000010 and SEEQ displays them in that way. Link to comment Share on other sites More sharing options...
Seeq Team Joe Reckamp Posted December 12, 2022 Seeq Team Share Posted December 12, 2022 You should be able to do a Formula using toCondition to turn that into capsules: $signal.toCondition('Batch ID') Link to comment Share on other sites More sharing options...
matia.mazzocco Posted December 12, 2022 Author Share Posted December 12, 2022 It works perfectly. Thanks Joe 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