LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

LabVIEW hangs searching for text

Hi all, I've stumbled into a weired situation. I've got some large projects, all still in LabVIEW 7.1. When I have both projects open (allmost 1000 VIs), a search for some text start and after some time stops. LV does not react afterwards, does not use signifcant CPU, but does NOT hang according to task manager. Any ideas? Here are some details: PC: Dual-Opteron 246 with 1GB of RAM, running XPSP2 German LabVIEW 7.1 English Project 1 : about 830 VIs Project 2 : about 300 VIs Some VIs are shared, so a search displays 'searching nn of 960 VIs'. I was looking for a call to an external dll. I knew this was used in project2, so I loaded it and tried to search for the function I'd like to call. Some occurences of that function name had been found, when LabVIEW stopped reacting. LabVIEW's windows still react somehow, at least the 'abort'-cross in the upper-right corner are still highlighted. The taskmanager still shows that LabVIEW is running ('wird ausgeführt' in my German XP). The process view of taskmanager, however, shows some heavy used ressources, amoung are 183 MB of used RAm and 12,834 open handles with 30 threads. After >1 hour of non-reacting, LV gained another second of used CPU time. See the attached screenshot. Any ideas on what to do?




 Greetings from Germany! -- Uwe

Message Edited by LuI on 11-08-2006 11:54 AM

Message Edited by LuI on 11-08-2006 11:55 AM

0 Kudos
Message 1 of 5
(3,400 Views)
Just a follow-up.
I suspected the huge amount of handles, but this seems to be intended or at least OK. Loading the whole stuff again resulted in the task manager showing these values: 116.5 MB of RAM, 12,829 handles and up to 35 threads. Looks like LabVIEW has an open handle to each of the loaded modules.
I have started one of these projects in debug mode. The number of handles did not increase much und did not change when memory was initialised/allocated. So nothing file-related?!

If I just remember the old DOS times with Files=16 in the autoexec.bat (or was it config.sys?).  ;-))
Greetings from Germany!
--
Uwe

Message Edited by LuI on 11-08-2006 01:55 PM

0 Kudos
Message 2 of 5
(3,383 Views)

Hi Uwe!

Just a few questions, when does the search of the "text" appear, when you opening the VIs? What "text" is LabVIEW searching for, a textfile, a dll? Can you narrow down the search to specific VI? Did you try to manually search for this text?

Greetings from Munich, Christian

0 Kudos
Message 3 of 5
(3,353 Views)
Christian,

thx for your reply.
I must admit that I expressed the facts not specifically enough. 😞
What I meant was, that I initiated a 'manual' search for a text phrase that occurs in several positions in the project. Than the 'Search Results' window appears and shows some positions where LV found the phrase. And at some point the whole LabVIEW application seem to loose the connection to its user interface, so no screen updates occure and no commands are accepted, while the task manager does not display that LV hangs.

I could reproduce this behaviour, while I have not always  waited for several hours for LV to recover 😉


Greetings from Germany!
--
Uwe
0 Kudos
Message 4 of 5
(3,332 Views)

Hi Uwe!

This could be a problem with a corrupt VI. I'm not able to reproduce this, because I don't have such a large project to test. I only tested with a project of mine, where i also included the vi.lib in the search options dialog and searched for "error", then i becom over 1200 results, without any problems.

 

Christian

0 Kudos
Message 5 of 5
(3,299 Views)