cancel
Showing results for 
Search instead for 
Did you mean: 

While loop iterations

SOLVED
jvh75021
Active Participant
Solved!

While loop iterations

Message contains an attachment

I have copied Fig 4-11 from the labView core 1 manual and attached it. The text states it will stop when enabled and the value exceeds 10. It stops on numbers greater and less than 10. 

 

Also if I run it with the switch disabled the iterations indicated are not integer. Why is that? I thought the while looper counter would always be integer.

 

 

thanx,

 

jh 

2 REPLIES 2
Darin.K
Trusted Enthusiast
Solution

Re: While loop iterations

Switch enabled: only chance of stopping is when the random value is exactly, and I mean exactly equal to 1.  If I remember correctly, this is not possible 0 <= rand < 1.

 

The iterations are integer values, if you expand your indicator you will find the exponent since the display is in scientific notation.

Message Edited by Darin.K on 01-15-2010 12:20 PM
jvh75021
Active Participant

Re: While loop iterations

Boy howdy, DUH on me for sure.