How to play Windows AVI file using Teststand

Hi,
I'm trying to play a Windows AVI (*.avi) file using the Windows Media Player, launched by
a Teststand CallExecutable type step.
When the step executes, the Windows Media Player app. starts o.k., but the file to be played
causes an error which states the file type is not recognised.
Yet if the AVI file is selected in Windows Explorer, it runs fine, i.e. the file type is associated with
Windows Media Player.
If the 1st error is ignored, a 2nd is displayed. This states the file cannot be played, and suggests that
the path may be incorrect or the server is unavailable.
When configuring the Teststand CallExecutable step, the Argument Expression field contains the full
absolute address of the AVI (*.avi) file to load and play.
I have also tried using an expression and also placing the AVI file in the same directory as the
Windows Media Player .exe, but the file will still not play.
If I use the Run utility from the Windows Start menu, I can enter the same details on a single command
line, and the AVI (*.avi) loads and plays just fine.
What should I do to get Windows Media Player to run the AVI (*.avi) file using the Teststand CallExecutable step ?
thanks,
Gary.

Gary -
FYI, with TS 3.5, the MessagePopup step can also display html files. The html file can reference the player control and tell it to run immediately. The html code looks like this:
<HTML>
<HEAD>
<TITLE>Multimedia Control Page</TITLE>
</HEAD>
<BODY LANGUAGE = VBScript>
<p>
My header text
<p>
<object classid="clsid:6BF52A52-394A-11D3-B153-00C04F79FAA​6" id="WindowsMediaPlayer1" width="300" height="200">
 <param name="URL" value="c:\windows\clock.avi">
 <param name="rate" value="1">
 <param name="balance" value="0">
 <param name="currentPosition" value="0">
 <param name="defaultFrame" value>
 <param name="playCount" value="1">
 <param name="autoStart" value="-1">
 <param name="currentMarker" value="0">
 <param name="invokeURLs" value="-1">
 <param name="baseURL" value>
 <param name="volume" value="50">
 <param name="mute" value="0">
 <param name="uiMode" value="full">
 <param name="stretchToFit" value="-1">
 <param name="windowlessVideo" value="0">
 <param name="enabled" value="-1">
 <param name="enableContextMenu" value="-1">
 <param name="fullScreen" value="0">
 <param name="SAMIStyle" value>
 <param name="SAMILang" value>
 <param name="SAMIFilename" value>
 <param name="captioningID" value>
 <param name="enableErrorDialogs" value="0">
</object>
</p>
My footer text
</BODY>
</HTML>
Scott Richardson
National Instruments

Similar Messages

  • JMF: How to play an  avi file NOT in a Frame...is this possible?

    -----Primary Task------
    Using JMF, I want to play an avi video file NOT in a Frame
    ---------Why?----------
    I want to play this avi file in a "non-decoration" container (ie. no Windows GUI, eg. Window/JWindow, Panel/JPanel)
    -------Problem---------
    The MediaPlayer method in JMF 2.2.1e requires a Frame container, according to JMFUtil.java (eg. mediaplayer = jmapps.util.JMFUtils.createMediaPlayer)
    ------Questions--------
    1. Is there any way to change the method of JMFUtil.java to enable video files to play NOT in a Frame, like a Window or Panel?
    2. If not, do you know of any "tricks" to get rid of the Frame decorations?
    3. If not, any other solutions?

    sigh... first read the API, then ask.
    Frame.setUndecorated(boolean) might help. http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Frame.html#setUndecorated(boolean)

  • How to export/watch .avi files using Quicktime Pro

    Hi there.
    I've got Quicktime Pro and I'm trying to convert .avi files so I can play them on my iPhone. I open up the .avi file in Quicktime and then slect the Movie to iPhone option.
    It will take about 20 mins or so, but when I open the file all I get is a white screen even though the timer is showing that the movie is playing.
    I can't even watch .avi files using Quicktime as all I get is a black screen.
    Could someone please help?
    Thanks

    Thanks, but unfortuntately that didnt work. MPEG Streamclip couldn't play any of the .avi files, it still came up with a white screen while playing.
    I tried this with a number of .avi files but I had the same problem.

  • How to view an AVI file using labVIEW

    hi
    I m working on LAbVIEW 5.1. I want to know how to view an AVI video file in LabVIEW. The image should be displayed on an intensity graph.

    Use Windows media player via ActiveX. Find attached example (it plays an AVI on top of graph area and hides at the end).I attached a screen capture in case you have problems with the converted version of my 6.0 VI. Let me know if it's working.
    Good Luck
    Attachments:
    play_AVI.vi ‏30 KB
    Count16.avi ‏343 KB
    play_AVI.gif ‏15 KB

  • How to play an audio file using applicationMusicPlayer ?

    It's easy to play a file using AVAudioPlayer
    NSBundle *mainBundle = [NSBundle mainBundle];
    NSError *error;
    NSURL *tickURL = [NSURL fileURLWithPath:[mainBundle pathForResource:@"tmp" ofType:@"amr"]];
    tickPlayer = [[AVAudioPlayer alloc] initWithContentsOfURL:tickURL error:&error];
    [tickPlayer play];
    But how to play a file using applicationMusicPlayer?
    I know setQueueWithItems, but how to prepare the items for it?

    seems not a good question

  • How to play .flv, .avi files in Media element c# 2012

    I want to play .flv and .avi extention files in my video player . But it doesnt work. I installed K-lite Codec also. But i am not sure user will installed codecs or not . so i dont want to take risk. So plz help. I know that there is no default plug ins
    for playing .flv or .avi files in c# 2012 .But still i want a helpful reply.
    Thanx in Advance
    Nitikesh Pattnaik

    Nitikesh,
    Sorry but you have posted to a forum that deals exclusively with question/issues about Microsoft Project, a Project management application. I suggest you delete this post and find a more appropriate forum.
    John

  • How to play an AVI file in Java

    Hi,
    Its very URGENT,
    please help me in playing AVI(*.avi )files on JWindow or JFrame.
    Thanks in Advance

    The Player creation
              try {
                  File soundFile = new File("sav/audio/B.wav");
                   Player player = Manager.createRealizedPlayer(soundFile.toURL());
                   player.start();
                   player.close();
              } catch (Exception e) {
                   e.printStackTrace();
              }After the Player is created you get the Component like so
    JFrame frame = new JFrame();
    frame.getContentPane().add(player.getVisualComponent());You, of course, have to size the JFrame accordingly, and set it up as you normally would. The "Visual Component" is just like any other component, as it can be added to a panel, etc.

  • How to play MPEG4 music files using Creative Media Source

    I use iTunes store for buying music pretty much and receive files in MPEG4 format.
    Instead of converting to MP3 I would prefer that my Creative Media Source player/organiser could handle the MPEG4 format. I'm using the Media Source player with an Audigy2ZS and sometimed the older Soundblaster-USB for notebooks.
    Is there an upgrade that I have overlooked or ...
    Or shall I buy a more professional player, like BMP studio?
    I don't like the iTunes player very well!
    /Peter

    I use iTunes store for buying music pretty much and receive files in MPEG4 format.
    Instead of converting to MP3 I would prefer that my Creative Media Source player/organiser could handle the MPEG4 format. I'm using the Media Source player with an Audigy2ZS and sometimed the older Soundblaster-USB for notebooks.
    Is there an upgrade that I have overlooked or ...
    Or shall I buy a more professional player, like BMP studio?
    I don't like the iTunes player very well!
    /Peter

  • How to play a AVI video file in Nokia 5230

    Hi, Can anybody please tell me the procedure how to play a avi file in Nokia 5230.Thx in advance.

    5230 can't play .avi files out of the box you need to install application like smartmovie player or core player to play it. These two, unfortunately, aren't free. A work around is to convert .avi files to .mp4 format using a video converter like Super by erightsoft(google for it).
    If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks.

  • Read an avi file using "Read from binary file" vi

    My question is how to read an avi file using "Read from binary file" vi .
    My objective is to create a series of small avi files by using IMAQ AVI write frame with mpeg-4 codec of 2 second long (so 40 frames in each file with 20 fps ) and then send them one by one so as to create a stream of video. The image are grabbed from USB camera. If I read those frames using IMAQ AVI read frame then compression advantage would be lost so I want to read the whole file itself.
    I read the avi file using "Read from binary file" with unsigned 8 bit data format and then sent to remote end and save it and then display it, however it didnt work. I later found that if I read an image file using "Read from binary file" with unsigned 8 bit data format and save it in local computer itself , the format would be changed and it would be unrecognizable. Am I doing wrong by reading the file in unsined 8 bit integer format or should I have used any other data types.
    I am using Labview 8.5 and Labview vision development module and vision acquisition module 8.5
    Your help would be highly appreciated.
    Thank you.
    Solved!
    Go to Solution.
    Attachments:
    read avi file in other data format.JPG ‏26 KB

    Hello,
    Check out the (full) help message for "write to binary file"
    The "prepend array or string size" input defaults to true, so in your example the data written to the file will have array size information added at the beginning and your output file will be (four bytes) longer than your input file. Wire a False constant to "prepend array or string size" to prevent this happening.
    Rod.
    Message Edited by Rod on 10-14-2008 02:43 PM

  • How can the Windows Media Player 12 be made to play WVC210 .avi files?

    I just built a new computer and it won't play the motion captured videos of the WVC210. It has Windows 7 Home Premium as the operating system. My machines running XP play the WVC210 files GREAT. Is there a codec I can add to the WMP12 so that it will play the .avi files. I have 3 cameras around the property, 2 WVC210 and 1 WVC200. 1 camera has the audio turned off so switching to MP4 (no audio) made that work OK. But the camera in the office I need to have audio and would rather stick to WMP over something like VLC. VLC plays the files fine but I much prefer WMP. I'm hopeing to find out how to have Windows Media Player 12 play the .AVI files from the WVC210 cameras. Any Help??

    There appears to be issues with codecs on WMP 12 and Windows 7
    AND\OR your WMP is missing the necessary codecs.
    Google the Net and you should find different things to try
    for the WMP 12.
    Troubleshoot problems in Windows Media Player
    http://windows.microsoft.com/en-US/windows-vista/Troubleshoot-problems-in-Windows-Media-Player
    It looks like additional codecs may needed to download with WMP12 and windows 7
    http://www.tech-exclusive.com/2009/01/22/download-windows-7-codec-pack-for-windows-media-player-12/
    Media Feature Pack for Windows 7 N and Windows 7 KN (KB968211)
    http://www.microsoft.com/downloads/details.aspx?FamilyID=31017ed3-166a-4c75-b90c-a6cef9b414c4&displaylang=en
    Information about the Multimedia file types that Windows Media Player supports
    http://support.microsoft.com/kb/316992
    Another possible solution:
    K-Lite Codec Pack 5.9.0 Full, Standard and Basic
    http://www.free-codecs.com/download/K_Lite_Codec_Pack.htm
    I hope this helps let us know how it goes!
    T.

  • How to increase the speed of video (avi file) using labview

    How to increase the speed of video (.avi file) using labview? I have  tried this by skiping alternate frames. also I have used  minimum time delay.Is there  any other option for which i can go?
    please suggest me........... 

    Are you using NI Vision IMAQ AVI Read Frame or anther method to read the AVI file?
    Matthew Fitzsimons
    Certified LabVIEW Architect
    LabVIEW 6.1 ... 2013, LVOOP, GOOP, TestStand, DAQ, and Vison

  • My QuickTime player us not playing .avi files and says I need a codec I can't play no .avi files on QuickTime. How could I fix this because I want to play these files with QuickTime.

    My QuickTime player us not playing .avi files and says I need a codec I can't play no .avi files on QuickTime. How could I fix this because I want to play these files with QuickTime.

    Hmm . . . comes with a Utility MPEG2 Component ML app with no explanation of what it's for?
    The utility app is an "assistant PKG installer." It allows Lion and Mountain Lion users to install the older QT MPEG-2 Playback Component installer PKG file which is not allowed to run on its own under Lion or Mountain Lion since these operating systems already have a QT X only MPEG-2 component embedded in the QT embedded structure. Without this utility you would have to either copy the component from an older system to your Lion or Mountain Lion system, use Pacifist for installation, or manually open the PKG contents and transfer the component to the appropriate component folder.
    As to your "discussion" regarding the playback of AVI file types, there are really only two strategies here:
    1) You can add component support so that QT can play the files natively or
    2) You can convert the file contents to compression formats that are natively compatible with the unmodified QT component configuration.
    Each user should decide for his or her own self which approach best suits their needs for a particular source file. In most cases, conforming the system's codec component configuration to play the source file directly results in higher video quality since no transcoding takes place but this strategy will not work if a codec which is required is not available for the user's operating system. On the other hand, converter utilities tend to support more built-in codecs and are easier to use since the user does not have to concern him or herself with the nature of the particular source compression formats but at the risk of some potential loss in visual quality. As to what converter to use, once again this is a matter of personal choice. In the case of commercial converters like iSkysoft, the codecs are built in while MPEG Streamclip accesses the host operating system's QT codec component configuration. I personally prefer the free HandBrake app for AVI, MKV, TS, MTS, and M2TS conversions since it has an exceptionally full-featured X.264 GUI with some user options that 97% of users are likely to never use.

  • How to execute a exe file using javascript on app window.load.

    How to execute a exe file using javascript on app window.load.

    Hi sb00349044,
    As I have already mentioned in multiple replies to your previous questions, the SUMO forums focuses on providing help to end users with usage-questions and issues.
    For developer-related questions, please refer to one of the many resources readily available that I have linked to in the past:
    * [https://developer.mozilla.org/en-US/Firefox_OS MDN]
    * [http://stackoverflow.com/questions/tagged/firefox-os StackOverflow]
    * [https://lists.mozilla.org/listinfo Mozilla Mailing Lists]
    - Ralph

  • How to play mkv,avi,mov format files on ipad

    How to play mkv,avi,mov format files on ipad

    Install free OPlayer Lite and try.
    https://itunes.apple.com/sg/app/oplayerhd-lite-best-free-video/id385896088?mt=8

Maybe you are looking for

  • How to find the table name on which integrity constraint not found

    Hi All How to acheive this I have a lot of tables with lot of primary key - foreign key relationship. In plsql when any inserts happen in the child table & the corresponding row is not present in the parent table, we get an exception ORA-02291: integ

  • Bypass an Open Item from being selected

    Hi there, I have a "Z" FBL5N t-code to selection of Customer Open Items. The Open Items that were selected must be blocked to avoid selection (and editing) by another user and besides that, cannot appear in any search until being unblocked in future

  • Loop/Repeat on continuous

    hey all, I want to Loop/Repeat a audio track on continuous play. I've tried something like Audacity which would create the track 200 times and it would be 13hrs long (which would be generally how long I'd want the track to last in a loop) but this wa

  • I have about 10 computer that will not show they have Windows 7 SP1

    I have been upgrading all the Window 7 computers to SP1.  I have been running reports and they are saying that some of the computers are not SP1.  I looked on the computers and they are showing SP1 but, then I would look in AD at the properties of th

  • R.I.P Ipod mini!!!

    Hello everyone, I purchase an Ipod about 4 month ago in New York City, it worked completelly fine until 2 days ago where it frozen completelly, once it lost all its battery i tried to switch it on again but all i had was the apple logo and then a sad