06-06-2013 10:54 AM
@baseball07 wrote:
Thanks for the suggestions. I am aware of the inner loop and program stopping issue which I am working on. I have posted about this before and got some nice help from other forum members.
Then, as a courtesy to the Forum, please let us know which threads you used, so we will not be stabbing in the dark and repeating suggested solutions.
Cameron
06-06-2013 11:05 AM
@baseball07 wrote:
No I have not tried to run the vi under LabVIEW, I am going to do that today. Here is my code. The program receives in 6 bytes of data every 4 minutes, so I am doubtful that the memory is being consumed. Could the graph only display a certain amount of continuous data?
In additions to what has been said already:
You have a breakpoint on the diagram. Do you really need that?
Building the two arrays in the shift registers should probably occur in the FALSE case of the case structure, and not with every iteration of the loop. You are growing two arrays forever and you are guaranteed to run out of memory at one point. Maybe you should only keep a limited history, e.g. the last 1k points, for example.