Re: i am having a problem with while loops, i have two while...

2004-03-08 Thread Chris_de
1) A while loop will always be executed once. No matter if the terinating condition is true or false. If you want a while loop that is not executed at all put it in a case structure. 2) A boolean case structure should always consit of a true and false case. 3) The auto indexing in the outer while

Re: i am having a problem with while loops, i have two while...

2004-03-08 Thread gauravmcgill
Hi everybody thanks but i got over the problem, since i found out that as soon as it comes out of the first while loop the counnter of that while loop becomes zero when it is not iterating. So i have put up a case that if the counter becomes zero then only take the value otherwise dont.

Re: i am having a problem with while loops, i have two while...

2004-03-06 Thread Mads
Could you please define exactly what it is you want to get as an output and where you are to use that output? If you just terminate the inner loop the outer loop will iterate and thus restart the inner loop. The inner loop has it's conditions set to stop but that just means that it will run just

Re: i am having a problem with while loops, i have two while...

2004-03-06 Thread gauravmcgill
plus is there an easier way to pause the execution becuase if there is only one loop and swith it off it terminates the program which i definately dont want. As this is to be used by people who have no idea abt labview.

Re: i am having a problem with while loops, i have two while...

2004-03-06 Thread gauravmcgill
first thanks for replying. But i will be more specific this time. Since i have already posted the vi i will try n explain based on that. What primarily i want is that when i doing data acquisition i change the weight parameter every time i think my voltage reading(which in this case is simulated