LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Create an Array from Formula Node Output Values

Solved!
Go to solution

Yes, it does sound like you'll want a loop.

 

You'll want to store the value of X in a shift register, which passes the values from one iteration of a loop to the next.

 

Loop with Shift Register.png

 

This version will perform all the calculations with the original X values, [1,2,3,4,5,6], and then perform all the calculations again with the new X values. All other input values to the second iteration will be unchanged.

 

I think this is what you described, but I'm getting a bad feeling that I'm drifting farther and farther way from understanding what we're actually trying to do.

 

This will run twice. You can change the N input if you want it to run more, or you can change the For Loop to a While Loop if you want it to run until some logical condition is met.

0 Kudos
Message 31 of 33
(995 Views)

"This version will perform all the calculations with the original X values, [1,2,3,4,5,6], and then perform all the calculations again with the new X values. All other input values to the second iteration will be unchanged."

 

The sentence above is my goal so we understood each other. Can you upload the VI so I can check?

0 Kudos
Message 32 of 33
(993 Views)

I hope this helps.

 

(Sorry, upload the wrong file first time.)

0 Kudos
Message 33 of 33
(991 Views)