07-15-2011 11:33 AM
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!
07-20-2011 09:26 AM
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
07-20-2011 09:32 AM - edited 07-20-2011 09:34 AM
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.