11-24-2010 09:53 AM
are there any ways you can change the time loop from 5ms to 250 ms ? while test is running ?
example code in labview version 8 are welcome .. 🙂
Solved! Go to Solution.
11-24-2010 09:56 AM
i want the last loop to be 250 ms..........
11-24-2010 10:00 AM
Are you referring to a timed loop? You can simply change the dt value using the right-hand parameters.
11-24-2010 10:28 AM
or should i exit loop then read again ???
11-24-2010 10:48 AM
That's a little different than what you asked initially. It now sounds like you are trying to do a one-time reading, but simply keep the loop at 5 msec. In that case, just put a delay inside the case structure to cause a 250 msec delay. Use a different button than the Stop button so you don't play games with Boolean functions.
11-24-2010 10:54 AM
yeah it is. sorry about that.
i want it to stop at it does the 250 ms reading.
11-24-2010 10:55 AM
yeah it is. sorry about that.
i want it to stop after it take the reading after 250 ms.
11-24-2010 11:01 AM
Then you still don't need to change the loop's time. Just feed out a Boolean constant out of the case structure and OR it with the Stop button.