08-27-2008 11:11 AM
gchristi1 wrote:I use comparisons, then convert boolean to integers and add creating three cases, 0, 1, 2
I'm still learning, so there may be a better solution.
I tried
..0.0
0.0
0.0..
and crashed LabVIEW 8.5 both times I tried it.
OK, LabVIEW should never crash, no matter what you do.
Can you reproduce exactly what you did to crash labview reproducibly? NI should be made aware of it so it can be fixed.
Easiest would be if you could save the VI right before the crash, attach it here, and then tell us what to do to crash it. Thanks!
08-27-2008 11:27 AM
Hi Tim,
I've modified that example VI slightly to count the number of iterations for each case. Then the code subtracts the start time from the end time and divides it by total number of iterations to give you the time per iteration.
You could go on to multiply that time by each iteration counter to find the number of time spent in each case.
Hope this is of use
Regards
Steve
08-27-2008 11:40 AM