LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Long term experiment application error


@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

 

To err is human, but to really foul it up requires a computer.
The optimist believes we are in the best of all possible worlds - the pessimist fears this is true.
Profanity is the one language all programmers know best.
An expert is someone who has made all the possible mistakes.

To learn something about LabVIEW at no extra cost, work the online LabVIEW tutorial(s):

LabVIEW Unit 1 - Getting Started</ a>
Learn to Use LabVIEW with MyDAQ</ a>
0 Kudos
Message 11 of 12
(221 Views)

@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.

0 Kudos
Message 12 of 12
(216 Views)