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: 

Elapsed Time in Inner While Loop

Dear all,

 

I have been struggling with this Elapsed Timing problem for a while. Basically, either a True Boolean value (in my VI, if the net rotation matches the position of the butterfly) or a true Time has Elapsed value would exit the inner loop (from comparing the the net rotation and position of butterfly) to execute the code in the outer loop (generate another random position of the butterfly). 

 

Thank you in advance for your help!

 

0 Kudos
Message 1 of 2
(732 Views)

Nobody here will be willing to look at a diagram that covers 10 monitors and is full of race conditions and unnecessary value property nodes. What is the point of shift registers if you never look at the value later? Why would you need to build the same paths and read all these same images over and over. Wouldn't once before the loop be sufficient? Why do you have so many "flatten pixmap" VIs, but never actually use any of the outputs? Rounding an integer to nearest seems absolutely pointless.

 

Can you reduce the specific problem to a small and simple VI? Too much noise!

0 Kudos
Message 2 of 2
(722 Views)