04-01-2008 03:50 PM
04-02-2008 12:41 PM
Hi caseGrad,
Welcome to the NI discussion forums. Thanks for attaching screenshots of your code. I was curious if I could replicate the behavior you were seeing so I built a VI following based on your block diagram and the front panel screenshots.
At a sampling rate of 500 Hz I was able to clearly see the same “warbling” effect. I increased the sampling rate to 1000, 2000, 5000, and 10,000Hz, but I did not get the LabVIEW warning saying that LabVIEW had “run out of memory.” As you suspected, at the higher sampling rates the “warbling” effect was greatly reduced.
I was able to get the memory error, but only if I selected a really high sampling frequency such as 1,000,000 Hz. I believe the PCI-6036e has a max update rate of 10,000 Samples/second, so sampling rates above 10,000 Hz don’t make too much sense anyway.
The memory error is likely related to the type of computer you are using. What operating system are you using? What version of LabVIEW are you using? What kind of computer do you have and how much memory does it have? Are you running other programs at the same time you are running LabVIEW?
I tested your application using the following:
If available memory really is the problem and you are restricted to running the application on this computer, there may be things we can do to reduce the memory “footprint” of your application.