LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Alarm & Event (AlertView.dll) control report Control could not be loaded error on LV Runtime

Hello, when I try to execute my application that use Alarm & Event control, the window show in red color the text: Control could not be loaded.
I have tried to manually copy the AlertView.dll on C:\Program Files\National Instruments\Shared and then register the control with:
 
regsvr32 C:\Program Files\National Instruments\Shared\AlertView.dll
 
but still the control is never on the screen.
 
When the window is invoked and the ActiveX is loading the system show several error message (unable to initialize ComponetWorks control ...) and then exit the the red color error message Control could not be loaded.
 
If I install the DSC everything works fine ...
 
Any idea?
 
Regards.
 
Marco Savegnago
 
 
 
 
 
Message 1 of 3
(5,133 Views)

Hi msave,

I'm not sure I've understood correctly your problem, but reading your post it seems that you want to execute your application that loads an ActiveX control without installing the DSC module.

I did some researches for you and what I found is that copying the alertview.dll (in your case) into the path: <drive:>\Program Files\National Instruments\Shared  and register it into regsrv32, may not be sufficient.

National Instruments, suggests to install the DSC (and from your post it seems you can do it) in order to have correctly installed all the parts you need effectively (in fact, in your case when you install the DSC all seems to work properly).

I hope I've been of some help

carlo> 

Message 2 of 3
(5,124 Views)
Ok, What if you use Shared Variables without use DSC module. Is there any other control similar to "Alarm and Event Display" that you can use ?
0 Kudos
Message 3 of 3
(2,787 Views)