02-08-2016 03:52 PM
How would you allow the user to select the time delay in seconds (.25 seconds to 2 seconds) between each decision cycle (implemented by using the real time clock, and not the Millisecond delay function)?
*New Labview User*
02-08-2016 04:09 PM
What do you mean by "real time clock"? Where are you running this VI?
Can you attach a VI so we can see what you are trying to do?
02-08-2016 08:33 PM
I am away from my computer all day today and tomorrow, but here is the requirement:
We also need an indicator that displays the time until the next cycle (like a countdown).
02-08-2016 08:52 PM
Sounds like a homework assignment.
Look at the timing palette and you'll see there are other functions on there to get the current time.
The rest involves the control where the user enters the time to wait. It sounds like the homework is to not just wait X amount of time, but wait a much shorter time and keep looping back to check the current time vs the previous time + the user defined "wait" time.
Look at the Elaspsed Time express VI. You might be able to use that with your homework, but that might be the easy way out. If you right click on it and pick Open Front Panel, it turns it into a regular subVI. Look into that and see how that does the job.
02-09-2016 01:06 AM
Before start you have to clear some questions
1) what is your clock source for timing
2) amount of precision that you want to get that
3) amount of wait that user can exert into system
4) amount of time refresh indicator to show remain time operators
after that you can start to think about the method and appropriate algorithm to solve your problem