MarkCov Posted December 2, 2024 Posted December 2, 2024 (edited) Hello, I've generated a signal from condition to calculate the total duration of one set of capsules, bounded by a second set. See the pictures below. I'm adding up the total duration of the blue capsules that occur within each green capsule. I'm then looking to put this data in a Table. The trouble is that SEEQ won't display the calculated values for capsules that are still in progress. Since the green capsule is unbounded, it won't show the partial result for all of the blue capsules during that period that are bounded. Likewise the table only shows the result of 24days for the first period but not the 3days (so far) for the 2nd period. The graph seems to show a non-zero value for the 2nd period. I'd expect it to be a bit higher as the value should be about 3. I'm assuming I'll need to take the equation into a formula and do some trickery. Like perhaps some formula to create a false ending for the last capsule that ends at "now() minus 1 minute" so the capsule becomes bounded. Do you have any suggestions on how to get SEEQ to do calculations on capsules that are still in progress? Thanks! Edited December 2, 2024 by MarkCov
Thorsten Vogt Posted December 2, 2024 Posted December 2, 2024 Hi MarkCov, I think in the trend the value is around 3 for your second period, Seeq is not setting the minimum y-axis value to zero when in preview mode. Also it looks like Seeq is not displaying the value in the table as the capsule you created ends outside of your display range. Seeq should display the value if you modify the timestamp for the end time of your display range so that the capsule is included. On my end it worked when extending the timestamp 1 minute into the future. Regards, Thorsten
MarkCov Posted December 2, 2024 Author Posted December 2, 2024 (edited) I didn't catch the y-axis trickery, that was sneaky. It remains the same even after saving the function, so it's not limited to just the Preview. What an interesting workaround shifting the display window into the future. However, I've got my WorkBench and Organizer set to auto-update this calculation. So, it'll work as a temporary solution until real-time catches up with whatever window I set for the future. I guess I could set a crazy date like 1/1/2100 or something similar beyond the lifetime of our facility (or maybe beyond SEEQ's lifetime? 😃). It breaks again if anyone hits the "step to current time" button. I'll add notes in the Journal, maybe someone will even read it! Thanks! Edited December 2, 2024 by MarkCov
Solution Thorsten Vogt Posted December 3, 2024 Solution Posted December 3, 2024 Hi, regarding your first point: Yes, but you can adjust the min value of the y-axis using the "Customize" button in the details pane once the item is created. However opening the preview will not take care of the setting. Regarding your second point: the auto-update function will shift the start and end time of your display range. Meaning if you set the end date to be in the future it will stay in the future whith automatic updates enabled: One minute later: But you are right, if someone clicks "step to current time" it can become a problem, as the capsule may end outside your display range then. Regards, Thorsten
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