Hi JNR,
the example from NI uses the Active Movie AxtiveX object. Try to use the
Windows Media Player object instead. I have alsready written a program which
has none problems with greater files, like you described.
Henrik
JNR schrieb in im Newsbeitrag:
50650000000800000053210000-991728092000@quiq.com...
> I need to play an AVI movie in Labview (5.1). I downloaded demo
> example code from NI's web site (long URL follows):
>
>
http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&8DDD34657C3D0129
8625683A000B24A2&cat=9C6DF90777E5A78206256874000FA14E
>
> This VI calls Microsoft Movieplayer as an ActiveX control and plays
> the movie.
>
> It works, but I have a strange problem. It will play small movies (1-2
> MB), but when I play a longer movi
e, the movie starts playing, plays
> for a few seconds, then resets itself to the beginning.
>
> Could this be a memory problem in LabView? I have 512 MB of RAM on the
> machine, so certainly I have enough memory to be able to play the
> movie. Additionally, when I play the movie directly through Windows
> Media Player, it plays just fine.
>
> Any suggestions are much appreciated.
>
> Thanks.