07-25-2005 04:16 AM
07-27-2005 03:47 AM
07-27-2005 06:38 AM
Hallo Norbert,
ich habe leider vergessen zu sagen, dass ich LabWindow/CVI 6.0 verwende. Leider habe ich den Transfair nicht alleine geschafft, so dass es auch bei LabWindow/CVI 6.0 läuft. Wenn Du mir nochmals helfen könntest wäre das echt super danke.
Gruß Paco
07-28-2005 02:45 PM
Hello Paco,
Unfortunately I do not speak German, however I gather that you are using CVI
6.0 but could not get the button to work. The Windows media player
ActiveX control that is used allows events like the endofstream to be a registered
event and will allow you a callback to handle that event. In that event, you
will want to call to an ActiveX method to change the state of the player.
I assume that when you reach the end of the stream you want a button to change
to play so that when the user presses that button the video feed will start
over. To do this, use the IMediaPlayerPause / IMediaPlayerPlay /
IMediaPlayerStop with manipulations of the marker times to set where you would
like playback to begin.
Hope that helps, and let me know if I can help you with anything else.
Regards,
Travis M
NI
08-01-2005 06:15 AM