ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Single loop iteration to store data

Solved!
Go to solution

Hi,

 

would it be a good practice to use a while loop with:

  • its condition terminal forced to TRUE,
  • uninitialized shift register

The idea is to store information useful to a VI only, and avoid adding a shift register to the while inside main vi.

 

I have attached two VIs as example.

 

Thanks

 

Download All
Message 1 of 5
(3,445 Views)
Solution
Accepted by nstjean

What you are trying to do was already done years back and it became a standard practice. Check about the Action Engine

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 5
(3,432 Views)

P@Anand wrote:

What you are trying to do was already done years back and it became a standard practice. Check about the Action Engine


It's rather ironic that your suggestion is actually the opposite of what your sig states.  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 3 of 5
(3,415 Views)

thank you for the Action Engine link.

 

I now know that using "USR" is a good and standard practice.

0 Kudos
Message 4 of 5
(3,382 Views)

In the spirit of 's sig, I gave you a kudo for your original post because I thought it was pretty awesome that you thought it out by yourself.  😄

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 5 of 5
(3,344 Views)