ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem: Select ActiveX Class > Browse... hangs LabVIEW (not responding)

Can anybody help with this problem...
 
When I right click either an "Automation Refnum" (front panel) or an "Automation Open" and click "Select ActiveX Class > Browse..." LabVIEW just hangs and becomes "(not responding)".
 
Strangely - if I drop an ActiveX container onto the front panel and right click this selecting "Insert ActiveX Object..." then LabVIEW lists a healthy selection of objects - which indicates that not everything about ActiveX is broke.
 
The crash/hang when trying to browse for ActiveX Classes occurs with all three versions of LV I have installed 7.0, 7.1 & 8.0.
 
Can anyone help - please.
 
Mark.
 
 
0 Kudos
Message 1 of 11
(4,381 Views)

I see the same thing with LV8.2. 

Don't click browse a second time...  It is actually populating a list of ActiveX classes, so you have to wait a bit (quite a bit) longer for the brosw to become populated...  It took the time that I wrote the 1st two sentences (approx 1 minute - I type slow this early in the morning).

Yes, I see this too.  If you click twice on the browse and get the LV Not Responsive, just wait "quite a bit", it should recover..  That's what happened to me.  🙂

RayR

0 Kudos
Message 2 of 11
(4,383 Views)

I tried it again after to get two screen captures (one with the LabVIEW Not Responsive message), unfortunately it is much faster when browsing after the initial search.  Probably because a list was populated somewhere.  So it's slow the first time...   😉

Message Edited by JoeLabView on 11-01-2007 07:23 AM

0 Kudos
Message 3 of 11
(4,380 Views)

Hi Joe,

Unfortunately this isn't the problem on my system - I could wait hours and nothing will happen, and there is no hard drive activity which indicates there is no searching/populating going on at all - just left hanging.

Mark.

0 Kudos
Message 4 of 11
(4,376 Views)
You mean you've tried it more than once and it stays frozen?
If so, that IS strange...
 
Have you tried it within a blank VI?
 
RayR
0 Kudos
Message 5 of 11
(4,372 Views)

Ray,

Yes I've tried it several times for each of my 3 versions of LV, and right-clicking the "Refnum" control/constants and the "Automation Open" function - they all hang LV after clicking "Browse..." - not even a civilised timeout.

It does the same, whether it is existing code or a blank VI.

With existing code like the Examples: Write Table to XL.vi - right clicking shows two classes above the "Browse" (like MRUs), but if the existing tick-selected class is changed, the diagram shows broken-wires, even when re-ticking the original selected class - which seems to suggest that LV is still unable to look-up the properties and methods of the classes.

Mark.

0 Kudos
Message 6 of 11
(4,368 Views)

Update:

I resorted to uninstalling all three vesions of LabVIEW, and everything else from NI.

I then reinstalled LV 7.0 only, and proceeded to "Browse..." to select an ActiveX class/object from right-clicking an "Automation Refnum".

Ostensibly, I don't think that uninstalling-re-installing made any difference.

However - I inadvertantly left LV alone after right-clicking "Browse..." whilst I did some lunch time web-browsing, and low and behold the "Select Object from Type Library" dialog had eventually appeared.

I've retested the function and it seems to take about 9 minutes between clicking "Browse..." and the "Select..." dialog appearing - during which time the PC's processor and HDD show almost no real activity, and LV appears, and is reported as "(not responding)".

Any ideas, or similar experiences - anyone?

0 Kudos
Message 7 of 11
(4,346 Views)
Hi Mark,

Do you have any other application on that machine which can access the ActiveX servers (not the objects)? For example, in LabWindows/CVI, you can try Tools -> Create ActiveX Controller and see if you get the ActiveX servers over there.
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 8 of 11
(4,346 Views)
Hi Adnan,
 
Thanks for taking an interest.
 
I'm not aware if I've "any other applications which can access the ActiveX servers.." - but to be honest I wouldn't really know where to look. I'm quite profficient in my knowledge of PCs and straight-forward programming, but my knowledge of software technologies like ActiveX is quite limited.
 
Unfortunately I do not have LabWindows/CVI so I cannot look into the tools you mention.
 
Mark.
 
 
P.S. Different subject - I'm about to post a message regarding another issue regarding a big problem with the 3D effect graphics in LabVIEW (I would appreciate it if your or other NI support/applications engineers could look at this when I've finished posting it).
0 Kudos
Message 9 of 11
(4,341 Views)

Hi Mark,

At this point, I would recommend you get a rep from Microsoft involved. Another option which you could try is to reinstall the operating system.

If you need direct support from National Instruments, then visit http://www.ni.com/ask/.

 
Adnan Zafar
Certified LabVIEW Architect
Coleman Technologies
Message 10 of 11
(4,335 Views)