NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

memory leak

What version of TestStand are you using?
Mark
NI App Software R&D
Message 11 of 20
(3,089 Views)

look like I found it...

I think it was the pressure sensor that was leaking the whole time..

THANK YOU EVERYONE FOR ALL YOUR HELP!!!

 

Best regards,
Krispiekream
0 Kudos
Message 12 of 20
(3,085 Views)

looks like i am wrong...NOOOOOOOOOOOOOOOO....

so yeah..my probllem still exist..i dont know what is going on..

my version of test stand is labview 7.0

i have MAX 3.1

i have IDaQmx 7.4

i was thinking to upgrade it to 8.6 but i think it will not work with my system because of the serial port..

i am using a ubs to serial adapter as well.

 

Best regards,
Krispiekream
0 Kudos
Message 13 of 20
(3,079 Views)
I understand you are using LabVIEW 7.0, but what version of NI TestStand are you using. 

Upgrading NI-DAQmx will not affect serial or USB communication.  Those are supported by our NI-VISA and NI-Serial drivers. 

Mark
NI App Software R&D
Message 14 of 20
(3,052 Views)
we don't use NI Teststand.

i'll attach our test system in the picture?
Best regards,
Krispiekream
0 Kudos
Message 15 of 20
(3,049 Views)
sorry, that i might have confused you..but yeah..
i post this message in the wrong place...
i don't have a NI Teststand

Best regards,
Krispiekream
0 Kudos
Message 16 of 20
(3,032 Views)
Thanks for the clarification. 

The memory leak could be occuring for any number of reasons.  It is strange that of three identical test systems running the same VI only one is experiencing the leak.  I would like you to look over the following Developer's Zone article and KB on possible reasons you might be leaking memory.  I also recommend looking through your code to see if anything stands out as a possible cause (arrays growing in a loop, etc). 

How large is your VI?  Could you post a screenshot of your code?
Mark
NI App Software R&D
Message 17 of 20
(3,025 Views)
I have some images of the block diagrams here...

Best regards,
Krispiekream
Download All
0 Kudos
Message 18 of 20
(3,021 Views)
Best regards,
Krispiekream
0 Kudos
Message 19 of 20
(3,020 Views)

FINALLLY!!!!!!!!!!!! i found the problem..

in all my systems, the only system that don't have the pxi-4060 cards is the system with the memory leak.

my co-worker said that because we are not using a thermistor in this system, so therefore we don't have to have the PXI-4060 in the chassis pxi-1042. I guess what was causing the leak was data being poured into the array where the data of the thermistor is holding and it takes up memory. I replaced the chassis with the pxi-4060 in with the other chassis and there are no leak in memory..i guess that did the job..

THANK YOU EVERYONE FOR YOUR HELP!!! especially BlacQmx. i think without advices from the experts, i would never discover it.

THANK YOU ONCE AGAIN!!!!

 

Best regards,
Krispiekream
0 Kudos
Message 20 of 20
(3,000 Views)