04-20-2025 02:03 PM
Look at the learning resources listed at the top of this forum.
04-20-2025 05:05 PM
@altenbach wrote:
Look at the learning resources listed at the top of this forum.
You might also read my earlier message (#3 in this chain).
Bob Schor
04-20-2025 05:09 PM
I have reviewed the topics you mentioned, thank you. I was wondering if you could recommend anything regarding elapsed time calculation? Kind regards.
04-21-2025 09:11 AM
There is a build in function for that:
04-21-2025 10:25 AM
Since I mostly stay away from express VIs, I typically prefer to do my own timing, e.g. as described here.
04-21-2025 11:51 AM
Hello again,
Yesterday, I tried to understand the structure you shared with me and modified it to better fit my homework. I’m currently working on completing the required timing functionality. For that, I used the Elapsed Time block, but after making such a change, I started getting some errors. I’m trying to complete my assignment quickly, but I’m having a hard time fully understanding and resolving the structures I see online. However, with the feedback I receive from this forum, I’ve been able to make progress. Thank you all for your help.
In this step, I’m trying to make the program automatically stop if it runs continuously for 60 seconds.
04-21-2025 02:37 PM - edited 04-21-2025 03:43 PM
Never ever modify a VI and attach it with the same name as a VI that I attached earlier. You need to give it a different name!
You also forgot to "save for previous". I cannot open 2025 VIs.
04-22-2025 04:03 AM
The changes of the time being exactly 60 secs is miniscule. Change to Equal or greater comparison. You can't wire 2 booleans directly to the Stop button, they need to go through a logical gate, i assume an OR.
04-23-2025 07:04 AM
Hello again,
I have carefully reviewed the guidance you previously provided. I’ve also explored relevant forum topics, studied various resources, and watched several YouTube videos to better understand the subject. I’ve now reached the final step of my assignment.
In this step, I’m trying to implement a system where, once the Start button is pressed, the program counts 60 seconds. If the program runs continuously for 60 seconds without pressing the Stop button, it should automatically terminate. I tried designing a system that measures the elapsed time accordingly, but I encountered issues such as missing tunnel errors and red "X" indicators.
If possible, could you please make this final adjustment directly on the RunStopEvent.vi file you previously shared and send it back to me?
Thank you very much in advance for your help.
Best regards.
04-23-2025 07:15 AM - edited 04-23-2025 07:15 AM
Hi dogukan,
@dogukan12324 wrote:
If possible, could you please make this final adjustment directly on the RunStopEvent.vi file you previously shared and send it back to me?
Did you even care to read the previous messages in this thread?
(They contain a possible solution to your problem and the suggestion to downconvert your code to help us to help you…)
As you don't seem to follow our advice why should we solve your homework for you?
@dogukan12324 wrote:
If the program runs continuously for 60 seconds without pressing the Stop button, it should automatically terminate.
Yamaeda gave you the solution, you just need to read it!