I'm trying to run the example vi generate sound.vi on a Dell, Windows 7. DirectxV11 is installed. I get Error 4800 occured at Sound Output Configure.vi -> generate sound.vi. Possible reasons: Labview (Hex 0x12C0) Selected device is invalid. I tried selecting devices 0 through 10 but all gave the same error. I can hear sound just fine from uTube videos. I'm at a loss as to what to do next. Suggestions?
Solved! Go to Solution.
Thanks for the suggestion. On more careful examination I discovered I had a bad file name so, per your suggestion, I modified the vi so I had a path: C:\windows\media and a file notiify.wav. Probing the input to the Build Path Function I had a valid path of C:\Windows\media\notify.wav. But still have the same error. Tis a little discouraging. Philosophically speaking, it should be easy.
Did you get the error when you execute "Play sound file.vi" or insdie the loop? I executed the same VI in my code and I don't have any problem. Can you try the same code in any other PC?
The error was generated by the play sound file vi before entering the play sound file loop. I have other pcs though the ones with LabView are all the same model. I will try a different one of them tomorrow. If the problem repeats I'll load LabView on another machine (or two) of different make/model. Having seen other instances in the forum where people had similar difficulties I am also suspecting it is a hardware problem.
For some background, with help from the forum I built a sinewave synthesizer which works reasonably well on my mac (it is my lug around laptop). I wanted to port it to the pc as that is what we use in our labs. I received the same error as the simpler generate sound vi so went to testing the simpler generate sound vi to make sure there wasn't something strange in the synthesis vi. It would be a cruel twist of fate to find the problem is more complicated on a pc. Tomorrow will tell.
It's been a while since I've done any significant coding with LabView. Your assistance is truly appreciated.
I installed LabView and ran the vi on a different machine and it ran like a champ. So all is well. Thank you for pointing me in the hardware direction.