LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Memory Leak in PDA Example App.

I am running the Read Dig Port.VI example that is located: C:\Program Files\National Instruments\LabVIEW 8.2\examples\daqmxbase\PDA\Dio on my PDA (HP iPAQ 2790b) with NI CF 6004 DAQ card. When I check the program memory on my PDA, I see a leak of .01MB about every 5 seconds. Anyone else notice this?
 
Using:
LabVIEW 8.2
PDA Module 8.2
DAQmx Base 2.10
 
(I was seeing a .01MB leak every second when I was running my own application, so I switched to the example given by NI to see if that was causing the same issue)
 
Thanks,
Vickie
0 Kudos
Message 1 of 12
(14,934 Views)

I've narrowed my program down and have found that the leak happens during the DAQmxBase Read.vi.

Is there a work around? Anyone else experience this? I need my application to run all day and currently, I have to reboot my PDA every few hours because of this memory leak.

Thanks for any help.

vickie

0 Kudos
Message 2 of 12
(14,871 Views)
This problem turned out to be a bug in the LabVIEW PDA software.  The bug will be fixed in the LabVIEW PDA 8.2.1 release.

Please post to this forum if you also experience this memory leak.

Regards,
Erik J.
0 Kudos
Message 3 of 12
(14,460 Views)
Hi,
 
I have been using
Labview 8.2,
Labview PDA module 8.2 and
NIDAQmxbase 2.1  on a
HP iPAQ hx4700 with a
CF-6004 DAq card
,and I think I have similar problems.
 
I made a PDA application that aquire continiously 200 samples/second on 4 channels. The DAQ task is configured to get 400 samples (2 seconds of data) each itteration. That should be 3.2KBytes every 2 seconds, but I'm loosing about 18KB every second untill my application crashes.
 
I tried new DAQmx versions, but that only made things worse.
 
I would be very interested in discussing the PDA module with anybody who's got some experince. You can allways email me: tschrama-at-fsw.leidenuniv.nl
 
Regards,
Thijs Schrama
 
 
 
0 Kudos
Message 4 of 12
(14,220 Views)
Hi Thijs,

This does not sound like a memory leak problem with LabVIEW PDA.   Are you also plotting the data?  Or better yet, could you post a picture of your block diagram?

Thanks,
Erik J.
0 Kudos
Message 5 of 12
(14,181 Views)

Hi,

 

Yes I was plotting the data, per tab I was plotting 1 channel. But even if I remove the graphs and only display the size of the matrix , I keep loosing memory.

I will try the newest version of labview and the PDA module with NIDAQmx base 2.2 today.

grz, Thijs

0 Kudos
Message 6 of 12
(14,165 Views)

grz:

Please let us know if you are still experiencing the leaks after upgrading to DAQmx Base 2.2.

Thanks,

Rudi N.

0 Kudos
Message 7 of 12
(14,141 Views)
Hi,
 
courtesy of Nat Instr Netherlands I was able to install the LV 8.2.1, LV PDA 8.2.1 and nidaqmx base 2.2 versions. Indeed the memory leak seems be solved.
 
I tested with the example multiple voltages cont&displ.vi and let it run for 70 minutes. The availeble free memory did not change during those 70 minutes.
 
Now I'm only left with error-200474 ..somehow my hx4700 is not capable of aquiring 4 channels of data continiously. Does anybody have soime tips for that?
 
Regards,
Thijs
Message 8 of 12
(14,035 Views)
I was face the same problem.  installed the LV 8.2.1, LV PDA 8.2.1 and nidaqmx base 2.2 versions,the problem was solved!


TTech| ATS | NVH | SCADA |
0 Kudos
Message 9 of 12
(9,338 Views)
Did you find any drop in DAQ performance with the new NIDAQmsbase 2.2 driver....?
 
Ik have done extensive tests on two different PDA models, and found that DAQ speed performance has droppped dramaticly. The advertised DAq performance of the CF-6004 can never be reached, not even close.
 
I had to switch back to PDA7.1 and NIDAQmxbase 1.1, which seems to best driver so far, concerning stability and speed.
 
 
Anyone got simmilar experimence?
 
regards,
Thijs
0 Kudos
Message 10 of 12
(9,333 Views)