LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Active X Object not creatable in SOME VIs

Hello All,

I wasnt to display an .avi in LV. I have quite a large DAQ-oriented file to work it into, but as always I decided to trouble shoot the script in a prototype VI. It worked perfectly the first run, so made some tweeks to give exactly what I want and inserted it into my main VI. Naturally, it didn't work. The error it was delivering was the classic ActiveX #3005 "Object specified is not creatable in _.vi". After a few hours of research, I've only found this error being specific to a single system and not a VI, ie. The target object does not exist on the system. My system obviously CAN create the object...

 

I tried a few work arounds to get around the prejudice, but couldn't get it to work. I reset the references and rebuilt the code multiple times. Its not only that I can't get the code to work on my main VI, but I also can't get it to not work on the prototype VI. I've also tried all the classic rebooting and whatnot.

 

 

XPpro SP2, LV 9.0

 

Thanks!

0 Kudos
Message 1 of 3
(2,729 Views)

Hi,

 

what ActiveX Object did you use to play the avi file? There are several options you have:

 

- With the windows media player (embedded in the FP):

https://decibel.ni.com/content/docs/DOC-2207

 

- With the Vision Development module

https://decibel.ni.com/content/docs/DOC-8479

 

Let me know if this helpe!

 

Cheggers

 

Sascha
0 Kudos
Message 2 of 3
(2,697 Views)

Ah yes, it was the embedded WMP, the object in question was:

 

WMPLib.IWMPPlayer4

 

EDIT: I had definitely used that same example to build it.

0 Kudos
Message 3 of 3
(2,695 Views)