LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

update 2 local variables in 2 for loops!

Hi,
in the following I have a problem rather large for me simple for you and therefore probably I think I certainly you can help me. There is 2 simple For loops simply from 0-10 counts up and those is inserted into each other. I would like to have with Luftfeuchtigkeit_3 and with Helligkeit_3 the current values which I also with luftfeuchtigkeit_2 and helligkeit_2 have thus the computed values in the loop. I need these values for a subsequent treatment of the data and I had up to now no success. For other solution methods I�m also open and thank you. I try it with variables, but in the program you can see that, the 2 variables Luftfeuchtigkeit_3 and Helligkeit_3 read it only the first value and then any longer one doe
s not update. I send the program as attached file, and I have only LabVIEW 5,1 please stores the programs under 5.1 off otherwise I cannot open.

Thanks for yours answers in advance.

Chers,
Ender
0 Kudos
Message 1 of 4
(2,671 Views)
You can not update Luftfeuchtigkeit_3 and Helligkeit_3 until the For loops complete running (I modified your vi). If you want to perform update during loop execution, you may have to use While loop with Notification, this may be a little complicated for your need.
0 Kudos
Message 2 of 4
(2,671 Views)
The attachment is actually saved as ver 5.0 not 6i
0 Kudos
Message 3 of 4
(2,671 Views)
Hi,
i don't try it with while loops, how can i do that? any example?
tanks
0 Kudos
Message 4 of 4
(2,671 Views)