Hello, I would like to create a timer that will begin counting down automatically when a unique bit goes high. I have a derived parameter that will output either 0-3 depending on which condition is true.
When the value is 0, countdown from 30 seconds.
When the value is 1, countdown from 2 minutes.
When the value is 2, countdown from 30 minutes.
When the value is 3, count UP from zero to show time elapsed.
How do I create a derived parameter that will encompass the above conditions and incorporate into a timer display? I am envisioning a display that will be a simple box in HH:MM:SS format and will begin counting down automatically when one of the aforementioned conditions is true. The box will require attributes to allow it to change colors. How do I create this display?
I have read the “Creating a Countdown Timer” in the IADS help but it requires manual input from the user. I would like my display to be automatic.
I am using IADS v6.6.
Thanks in advance!
Thanks, Jim! I will give this a try at my next opportunity and let you know if I encounter any issues.
Hi Jim,
We will have to look into if it’s possible for version 6.6. I will do my best to test out a possible solution and get back to you.
Adam Chant
Symvionics, Inc.
IADS Application Engineer
(661) 273-7003 x 210
From: ia...@googlegroups.com [mailto:ia...@googlegroups.com] On Behalf Of aviation76
Sent: Wednesday, September 25, 2013 7:34 AM
To: ia...@googlegroups.com
--
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.
To post to this group, send email to ia...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iads/d1ff7e65-35bf-4fbf-8e5c-2c0a86d5018e%40googlegroups.com.
Thanks, Adam!
Hi,
The Mode property of the IadsStopWatch has only 2 values (Stop Watch and Countdown Timer)
The Stop Watch mode counts up from 0 to n and the Countdown Timer mode counts up from the property value of StartTime to the property value of StopTime.
The counter is active when the property TimerIsRunning is True or 1.
If you wanted to have the counter start at the IRIG time that the timer is started then you would have to add the value into the StartTime property when the TimerIsRunning value goes True. This would require a derived equation that latches the IRIG time value when the TimerIsRunning is true and dropped to the StartTime property. DO NOT DROP IRIG TIME directly to the StartTime property as it will override all functions of the timer and the stop watch will become an IRIG clock display.
Let me know if you want additional details on the Latch parameter Arguments details.
Thanks,
Adam Chant
Symvionics, Inc.
IADS Application Engineer
(661) 273-7003 x 210
From: ia...@googlegroups.com [mailto:ia...@googlegroups.com] On Behalf Of aviation76
Sent: Monday, April 21, 2014 7:38 AM
To: ia...@googlegroups.com
Subject: [IADS] Re: Countdown Timer
Hi,
Since we now have IADS 7.3.3 installed, I have an opportunity to create the timer. I was able to add the stopwatch display and modify the attributes. However, I am not able to see the countdown and stopwatch modes work properly. When the value indicating the mode (0, 1, 2, or 3) is toggled, I only see the milliseconds cycling but not the hour, minutes, or seconds values. I wonder if it has something to do with my “trigger parameter”. How should the “trigger parameter” be configured? I was using the control parameter as the “trigger parameter” and setting it to be true when the value is >0. Not sure if this is causing the issue or if another property is causing the time to not work properly. Any assistance to troubleshoot this issue would be greatly appreciated.
Thanks!
--
You received this message because you are subscribed to the Google Groups "IADS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iads+uns...@googlegroups.com.
To post to this group, send email to ia...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iads/f57c2e06-6f96-41b9-8a61-28470492a061%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Thanks, Adam, for your response.
I am still not having any success. It appears that timers resets within milliseconds after activation in a never ending loop.
Here is how I have it setup:
The control parameter, which drives whether or not to display countdown or stopwatch, was attached to the “Mode” property and setup with the respective dynamics. The control parameter was also attached to the “StartTime” property with its dynamics setup per the fifth step in Jim’s instructions. The “StopTime” property was set to “0”.
For my trigger parameter, I selected a parameter that is always nonzero. I attached this to the “TimerIsRunning” property and set the dynamics to be true when value > 0.
Do you see anything I am doing wrong?
Thanks, Adam, for your response.
Thanks, Jim. That updated DLL did the trick!
A couple of new issues have crept up.
The timer does not reset to the specified start time when the next condition is true. The TimerReset property is set to TRUE. Do I need to add a control parameter to this setting?
It also appears that when the timer stops, a delta time is being added to it. Is an elapsed time being added? I have this field set to “0”.
Thanks, Jim. That updated DLL did the trick!
I played around a little bit more with this trying to duplicate your observation also If you could export the analysis window and email it to us iadssupport (at) symvionics (dot) com that may help.
What I found with my control was that if the Execute Action fired off too fast it left a delta in the timer. When I updated the MaxExecutionFrequency from 1 to 5 it no longer did this. While this is not the intended action for this, it may be a work around while we look into it further and untimely resolve it.
Try that and see if it works.
From: ia...@googlegroups.com [mailto:ia...@googlegroups.com] On Behalf Of aviation76
Sent: Wednesday, April 23, 2014 7:11 AM
To: ia...@googlegroups.com
Subject: [IADS] Re: Countdown Timer
Thanks, Jim. That updated DLL did the trick!
--