LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Help with shift register or other solution



Knoebel wrote:
Thanks for helping me out with this. It seems my solution is a combination of both your solutions. I'm building an array by running this vi multiple times. Each time a concentration is entered I leave this vi and start a calibration. Joel gives me the option to stop, but in my case that is accomplished by just entering the concentration and pressing enter or done. Altenbach's solution does this, but appending to the array isn't working. The data is overwritten and sometimes not written until the next time I run the vi. Probably a simple fix. I would not have come up with either of these solutions on my own so thank-you.
It is all in the dataflow. In my case, the array output is only updated once the VI finishes, because that's all that's needed if you use it as a subVI. I assumed you did not really want to look at the array inside the subVI. If you really want to see the updated array on the subVI FP, you need to place it inside the loop. This causes some other problems, because you only want to add the element once per call, even if you would change it multiple times while the subVI is open. Nothing a little extra code cannot fix.
 
Tell us exactly want you want and we will be better able to help.
Message 11 of 12
(386 Views)
That's when partnering with Altenbach is good!  😄 
 
Glad we could help!
 
RayR


Message Edited by JoeLabView on 06-24-2008 02:50 PM
0 Kudos
Message 12 of 12
(380 Views)