08-25-2010 11:52 AM
Hello All,
I am very new to labview and its components. I want to program a loop which would run for one hour.
Actually, I would like to make it more user friendly, by asking the operator to enter how long he would like to run the code.
Can anyone please suggest me how to do this?
Please excuse me if I entered into wrong forum ...
Solved! Go to Solution.
08-25-2010 12:02 PM
Something like this
08-25-2010 12:03 PM - edited 08-25-2010 12:05 PM
Use a while loop. Use the Elapsed Time function to determine when to stop the loop. You can create a control to have the user enter the amount of time, then wire this into the Elapsed TIme function.
08-25-2010 12:05 PM
Answering a question in G is also faster then writing it. Just like coding.
08-25-2010 12:09 PM
Many ways to skin that cat! But here is a pretty simple example -
Darn snippet tool>
08-25-2010 12:14 PM
08-25-2010 12:14 PM - edited 08-25-2010 12:15 PM
thanks a lot guys.... this is like awesome help from you all...
kudos to all... thanks a lot 🙂
08-25-2010 12:21 PM
@CrackJack wrote:
thanks a lot guys.... this is like awesome help from you all...
kudos to all... thanks a lot 🙂
to give kudos, click on the kudos box by each post you want to give a kudo to.
08-25-2010 12:25 PM
You should also look at the solution that best solved your answer and mark that one so everyone knows that you question has been answered. This allows the volenteers to move on to questions that have not been answered yet.