LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

problem with big application in LV 5.1.1

hi

we have a very big application in LV 5.1.1 (more than 400 sub-vi's).
The application can start a continous data aquisition with the vi-server, which runs simultaneous with the rest of the program.
Until now the application has been working without problems.
Today we added a new sub-program (consists of approx. 50 sub-vi`s) to the main program. Now the whole application has become very slow when we start the data aquisition, even when the new part of the program
is only loaded and not running. We tried removing the
new part of the program again and it worked well, but when we opened the new part of the program while the main application was running, the main application became very slow again.

the whole applicati
on needs about 55mB RAM, but our system has 256mB so this should be no problem.

Does anybody know if there is something like a maximal
Nr. of sub-vi's or nodes that can be loaded in labview???

thanks
0 Kudos
Message 1 of 4
(2,620 Views)
Hi Martin,

I have never heard of any limitiation on the number of sub-VI's.

The symptoms you relayed sound like you are running into a memory limitation.

The profiler will help check this out.
Other system tools like "Task Manager >>> performance" (under NT) or system monitor under other WinXXX will also help.

Check all of your controls and indicators (in the new VI) to make sure there are not any large arrays shown or storede as part of the defaults.

If this does not help, let us know a bit more about what the "new VI" is doing, i.e. activeX windows etc.

Trying to help,

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 4
(2,620 Views)
I guess is that at least one of your 50 sub vis clogged up your CPU. Try to monitor your CPU usage and see if my guess was right.

tc phan
0 Kudos
Message 3 of 4
(2,620 Views)
Problem "solved"

.. of course we have tried everything, from the task
manager to the profile window, but the computer was
so slow that it was nearly impossible to run these applications..
After we removed our sub-vi from the program it worked
fine again, then we added the sub-vi again to the main program and it still worked fine!!!

..NI telephone support said it could be possible that LV corrupted the vi the first time we added it to the application.. hope something like that will never happen to me again!

cheers
Message 4 of 4
(2,620 Views)