05-25-2017 06:40 AM
I am building a simple project using a combination of Color Boxes and Random Number generators and trying to play a sound file simultaneously. I generate three random numbers in the "colour_wheel" sub VI and call it in "disco_lights". The idea is to change the colors randomly. I am able to achieve this, but the wav file doesn't play. I get an error - "Error 4810 occurred at Play Sound File.vi".
I attempted the steps mentioned on the forum, added the Sound Output clear as well but it doesn't seem to work. I also tried replacing the wav file, still it didn't work for me.
06-30-2017 01:33 PM
I am having the same problem. Have you found a solution? Mine worked prior to upgrading to 2017.
08-18-2017 10:10 PM
Hi, I have no problem with your audio file in this simple VI, I can't open your VI because is later than mine. Could you please post it in a previous version?
10-12-2017 01:09 PM
I have the same problem. It worked with 2016, but I upgraded to 2017 and now I get an error. Was there a solution to this issue?
10-12-2017 01:17 PM
If ther was some code, we could test it and try to reproduce it
Do a save for Previous on an example (to 2016) and some of us with multiple versions can play with it to help you out
10-12-2017 02:56 PM
I'm trying to use the Play Sound File.vi that came with LabVIEW. I was using LV 2016 32-bit and now I'm using LV 2017 64-bit. I thought it might be a 2016/2017 issue, but I pulled the latest "The Play Sound File.vi" from LabVIEW 2017/vi.lib/sound2/lvsound2.llb.
For some reason I can't attach the .wav file. Just change the wave file name in the block diagram, I don't think the problem is specific to the wave file.
Thanks,
Nathan
10-12-2017 03:36 PM
They changed the path from relative to absolute
C:\Users\Jeff\Downloads\Sound Error.vi (Sound Error.vi)
- The VI expected to be at "..\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\sound2\lvsound2.llb\Play Sound File.vi"
was loaded from "C:\Program Files (x86)\National Instruments\LabVIEW 2017\vi.lib\sound2\lvsound2.llb\Play Sound File.vi".
Looks like either a bug or a feature update to the llb
OH NI /\//\/\/ (Waves hand) Could you comment?
10-12-2017 04:42 PM
Sorry for my ignorance, but is there a easy fix to redirect the vi or do I need to wait for NI to comment?
10-12-2017 04:46 PM - edited 10-12-2017 04:47 PM
So what's the fix then? I'm having the same error and I have LabVIEW 2016
10-12-2017 04:58 PM
Yes, ignore the missing vi and replace with Play Sound File.vi from the 2017 palette (Programming>>Graphics and sound>> Sound>>Output>> For all y'all non- quickdroppers)