From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Reinitialize certain values periodically

Hi, there.

I have a while loop that gets executed for like 30 seconds and then restarts automatically. However i would like to reinitialize all values of said while loop between each of the execution cycles. Does anyone here have an idea on how to do that?

0 Kudos
Message 1 of 3
(577 Views)

Yes. It starts by you showing what you already have, by attaching a VI.

 

"reinitialize all values of said while loop"

-What are values of a loop? Could mean anything and we can only guess without seeing the code.

Certified LabVIEW Architect
0 Kudos
Message 2 of 3
(570 Views)

A loop is a structure and does not have any "values". It matters what's inside and you have not told us. What does the code inside loop do? What determines it's values?

 

LabVIEW is a rich programming language and you have full control over any an all values occurring in your code. Attach your VI and we can help...

0 Kudos
Message 3 of 3
(557 Views)