LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

storing array elements

I'm running quite a big application. I'm storing data in an array what I find that that while the application is running the value of the elements inside the array is not releasing even though the idex of the element is already passed to the next one. Hoever the values of the elements inside the array will be showed after the application is complete. This is not what I want I want to show that index array is the application taking the data from at the moment and what value of the data. How can I see those current values instead of seeing them after the application is completed?
0 Kudos
Message 1 of 3
(2,638 Views)
There's probably probably something in your code that prevents the array from being updated straight away.. My guess is that it's a data flow problem. Let's say e.g. that the array you are looking at is wired to the output of a VI, a shift register, or through the side of a loop, case or sequence...then the array does not really receive the new data until everything inside that structure (VI/loop etc...) is finished running. LabVIEW does not release the data coming out of such structures until all outputs of that structure is ready...so you need to put the indicator inside that "border" or use a local/global (functional) to see the data on the fly...

If you could take a picture of the code; showing the array terminal /wires and the data source ...or a copy of the VI(s
) that would help pin-point the problem.
0 Kudos
Message 2 of 3
(2,638 Views)
if I understand ur problem...
Ian F
Since LabVIEW 5.1... 7.1.1... 2009, 2010, 2014
依恩与LabVIEW
LVVILIB.blogspot.com
0 Kudos
Message 3 of 3
(2,638 Views)