"play sound.vi" delay on first use

Could someone try the following
On my laptop there is a 3s delay when this is first run. If the vi is re-run the sound plays back instantly.
Close the vi and open it again and the 3s delay is back the first time it is run. 
(The timeout connection defaults to 0 this is defined as an instant return - see the help)
Is this a LabVIEW problem or my system? My workaround is to play a sound at the startup of my application so that all future sounds are instant.
I'm using LabVIEW version 8.5 on Vista.
Any ideas?
Al
Solved!
Go to Solution.

I leave an example that can provide, use it in your program
Atom
Certified LabVIEW Associate Developer
Attachments:
playsound.zip ‏58 KB

Similar Messages

  • How to play sound file in Forms 9i  using  PJC.

    Hi ,
    I want to play a sound file in Forms 9i over the web using "Pluggable Java Component". Any pointers / help in this regard will be highly appreciated.
    Thanks in Advance,
    Vinod.

    Vinod,
    just do a search on the Internet for a Java Bean and add this to Forms. However, if you don't necessarily require the sound to be played from within Forms, you could use web.show_document() to call it in a URL displayed in a hidden frame on the Forms HTML page. This way it would be the browser playing the sound (assuming a proper Plugin)
    web.show_document('http://server:port/myDir/mysound.wav','myHidden_frame')
    Frank

  • Some apps won't play sound through iPad2 speakers

    I've noticed since updating to iOS 5 and 5.0.1, I've got more apps that won't play sound through ipad2 speakers, but will play sound through earphones though.  Using the same app on the iphone plays sound through the iphone speakers as normal. 
    It seems to be picky with which apps it does this to as Sky News/BBCiplayer/YouTube/Video/ IMDb all play sound through ipad speakers. Apps like FilmOn plus/ FreeAppMagic/ Falling Gems/ Bejeweled2/ FNS Shift2 will only play sound through earphones.  These Apps updating to the new iOS doesn't fix the sound issue either.
    I can use an app that plays sound through iPad speakers, then use an app that doesn't play sound through the speakers, then use another app that does play sound through speakers, so the earphone connection actuator doesn't look like the problem to me.  Maybe some sound drivers may have been lost or deleted with new iOS updates over wifi...?
    Any help would be appreciated.

    See if perhaps this is the reason why some apps aren't playing sound.
    If you lose sounds for keyboard clicks, games or other apps, email notifications and other notifications, system sounds may have been muted.
    System sounds can be muted and controlled two different ways. The screen lock rotation can be controlled in the same manner as well.
    Settings>General>Use Side Switch to: Mute System sounds. If this option is selected, the switch on the side of the iPad above the volume rocker will mute system sounds.
    If you choose Lock Screen Rotation, then the switch locks the screen. If the screen is locked, you will see a lock icon in the upper right corner next to the battery indicator gauge.
    If you have the side switch set to lock screen rotation then the system sound control is in the task bar. Double tap the home button and in the task bar at the bottom, swipe all the way to the right. The speaker icon is all the way to the left. Tap on it and system sounds will return.
    If you have the side switch set to mute system sounds, then the screen lock rotation can be accessed via the task bar in the same manner as described above.
    This support article from Apple explains how the side switch works.
    http://support.apple.com/kb/HT4085

  • HT201335 What causes the TV screen to freeze but sound continue on TV when using Air Play from I Phone?

    What causes TV screen to freeze but sound continue on TV when using Air Play from I Phone 4?

    First try rebooting ATV and router. Beyond that, it's probably something within the network, typically interference.
    To get a report of the network go to istumbler (Mac) or netstumbler (PC). Look for signal strength and noise.
    If on wifi try ethernet.

  • Mba sound: just bought my first mba and I have been using it in my house no problem...took it to my empty office today and I can hear a small vibration/sound coming from the upper left part of the keyboard...constant and rhythmical...ideas?

    mba sound: just bought my first mba and I have been using it in my house no problem...took it to my empty office today and I can hear a small vibration/sound coming from the upper left part of the keyboard...constant and rhythmical...ideas?

    Hi
    It's likely your fan,  It always runs on a MBA.  Mine is very quiet, others report some noise - here is one link.  There are lots of others.
    Hope this helps
    Cheers
    https://discussions.apple.com/thread/4381367?start=0&tstart=0

  • So my I phone 4s volume has decided to pack  allowing only my phone to make sounds when I have an incoming call, I can also here fine using facetime and receiving calls. YouTube, soundcloud, any of I players will no longer play sound. I've restored the ph

    So my I phone 4s volume has decided to pack  allowing only my phone to make sounds when I have an incoming call, I can also here fine using facetime and receiving calls. YouTube, soundcloud, any of I players will no longer play sound. I've restored the phone using iTunes on my laptop and checked all the volumes are turned up and the button at the left hand Side of the phone is in the correct position.

    Try inserting and re-inserting your headphones 7 or 8 times. Also try cleaning out the headphone jack in case of debris that might be interfering with the connection/disconnection.

  • Delays on first daily use after opening an application

    For the past month or so there's a longish delay the first time I use an application. For example, I have no problem opening Mail and getting messages, but the first time I want to send a message there's exactly a 28 seconds delay before it lets me type anything, and no delay for any further messages (until I close Mail and reopen it, where the delay reappears). There's a 23 seconds delay the first time I send something to be printed, 20 seconds the first time I save a file in Illustrator or Photoshop (both CS4), etc., but again, no delay afterward. It feels like the action is being checked once and then okayed; the length of the delay is always the same for a particular action.
    Any idea what could be doing this? I've added a few things lately on my G5: Growl, 1Password, Fiwi, Sneak Peek Pro, Delicious Library, Default Folder X, and Drop Box. I've removed them all and put them back one by one with no change.
    It almost feel like a virus of some kind...

    Carolyn,
    Thanks for your reply. I have over 20 years experience using a Mac for publishing, and the last time a slowdown similar to this one happened was due to a virus (yeah, rare; I think it had something to do with Quicktime and some automatic action). Hence, my wondering about some benign virus slowing down specific actions.
    The HD I work from (different from the HD with the OS) has a capacity of 75G, with only 13G being used. All my HDs (or partitions, 6 of them in total) have between 35G and 90G of free space.
    As mentioned before, the slowdowns are very specific, and happen one time only until I close the application and open it again. I can't pinpoint exactly when it started: right after a system update, after installing a shareware...
    Has anybody else experienced something similar? I'd like to try different solutions before reinstalling the OS in the hope that it cures the problem.

  • What's the best solution for audio out of sound files from a MacBook Air to both an amplifier and to a subwoofer amplifier? I'm using the MBA to play sound files for worship services at our church.

    I have a MacBook Air (13", 1.7GHz, 8GB RAM, 500GB SSD) that I'll be using to play sound files (primarily organ and piano) for worship services at my church. We'll be using a QSC RMX2450 650 Watts/Channel amplifier with Community CPL-27 speakers and also a JBL SUB 250P powered subwoofer with its own amplifier. What's the best option for getting sound out from the Mac to both of these amplifiers? 

    if you work with own recorded sounds you might wanna have a music program where you want to work with samples, steinberg has got very good ones (so they say)... but their really really ( ²) expensive(that's why almost no one haves them), magix haves good ones too bu their more for 'unprofessional' use, ableton haves really good ones too and they're not to difficult to use (if you know a bit of those programs you learn very quickly) and if you don't get them, there is a sort of manual built in it which explains and lets you do things to start (basics)
    i hope this helped, btw stereo speakers are always better if you buy good ones (no pc speakers), but if you don't think you need them, don't buy them...
    so again, i hope you have some ideas now

  • HT201335 apple tv mirroring using mac book pro 2012 with mavrick no TV sound only laptop speaker plays sound...

    I am using apple tv with macbook pro 2012 with os mavrick ...when I play video, my laptop speaker plays sound for that video instead of my TV where apple tv is connected ...why it is like that ?

    Just upgraded Mountain Lion ($20 from app store) then it works perfect!!!
    Thanks for your help!

  • Playing sound/beep on the handheld device using WebDynpro for Java (NW7.01)

    Does anybody know if we could play sounds or beeps on the handheld device using WebDynpro for Java (NW7.01)? We have a client requirement to have the handheld device beeps/makes different kind of sounds after the goods receipt is posted. We are looking for a way to play the sounds thatu2019s saved on the deviceu2019s directory. Appreciate any suggestions or input.
    Thank you!
    Teeracha

    Hi Terracha,
    you can use bellow mentioned methods for playing a sound using javascript :
    function playSound( url ){  
      document.getElementById("sound").innerHTML="<embed src='"+url+"' hidden=true autostart=true loop=false>";
    or
    https://github.com/admsev/jquery-play-sound
    $.playSound('http://example.org/sound.mp3');
    Hope that helps you as a workaround way.
    Regards,
    Srinivas Divakarla

  • So far I've been using Flash Player 11.2 which is the only normal playing sound newer versions are stereo sound streamed normal once the second is the center sp

    so far I've been using Flash Player 11.2 which is the only normal playing sound newer versions are stereo sound streamed normal once the second is the center speaker started to play

    Flash Player 11.2 is horribly insecure and no longer supported. Please update to Flash 11.6

  • When I play itunes from my laptop which uses a Y-cord plugged into a sound board, the songs fade in and out, softer/louder ...anyone know what would cause this? I have bought new cords, speaker cords, speakers...and the laptop is only 1 year old...

    when I play itunes from my laptop which uses a Y-cord plugged into a sound board, the songs fade in and out, softer/louder ...anyone know what would cause this? I have bought new cords, speaker cords, speakers...and the laptop is only 1 year old...

    when I play itunes from my laptop which uses a Y-cord plugged into a sound board, the songs fade in and out, softer/louder ...anyone know what would cause this? I have bought new cords, speaker cords, speakers...and the laptop is only 1 year old...

  • Unable to load/play sound files using SoundEngine_LoadEffect

    Hi All,
    I am able to load/play sound files using SoundEngine_LoadBackgroundMusicTrack but unable to load/play sound files using SoundEngine_LoadEffect on iPhone Simulator. I am using the SoundEngine.h/cpp from Crash Landing. Oddly enough sound effects load and play succesffully when i start the app with 'Start with Performance Tool'. Does anyone know what is actually going on.
    Also i would like to know what is the difference between playing sound files using these two methods. What are the restrictions on individual sound file types for each method.
    Thanks

    I was able to load/run the sound effects after using Simulator - iPhoneOS 2.1 in the Active Target/Build drop down on Xcode toolbar. Both Active SDK, and Active Executable should be 2.1 in order to play the sound effects.

  • JMStudio locks up playing sound file - using java 1.5.0_02 - HELP!

    I'm using the jmf 2.1.1e cross platform version on Windows XP SP2. I have java 1.5.0_02 installed.
    When I open the sound file using JMStudio it locks up. It plays videos that don't have sound fine, so it's not the video. It's the sound that is killing it.
    Does anyone have any suggestions?

    Hi,
    yeah it's possible to play sound on Windows but you have to use the Windows Performance Pack instead of the crossplatform-version of JMF.
    This has to do with the JavaSound Architecture of Java 5.0. They made changes and now the JavaSound Renderer didn't work under Windows but the DircetSound Renderer works fine.
    So be sure that your application uses the DirectSound Renderer!
    This is one of the main problems of JMF but now Sun gets interested in JMF and they would build a new version of JMF. If this is true they have to fix this problem!
    Best regards, thomas

  • My iphone 4s just randomly stopped playing sounds or any audio without the use of headphone

    Phone will just not play sounds not matter what quick fix i try unless i am using siri which seems to work

    Thanks, I tried that. However, this is what I did and what worked!! I saw this technique on a previous message on this site.
    I blew air into the headphone output with a camera cleaning blowy bulb, and put in my headphones, turned them around, and pulled them out  several times.
    My headphone output my have been compromised with dust or dirt !
    Thank you again for your reply.
    PS I called Apple support and the fellow had no idea how to fix this.

Maybe you are looking for