LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

No Sound in 5.1.1

Since "upgrading" to LabVIEW 5.1.1 the Snd Play Wave File.vi does not work.
The other Snd Write Waveform.vi works OK but does not appear to have the
feature to not wait for the sound to finish before continuing that the
original vi had.

What do I need to do to get the 5.1f1 functionality back in 5.1.1?
0 Kudos
Message 1 of 3
(2,835 Views)
This problem has now been resolved:
The Snd Play Wave File.vi does a test of the operating system (OS) and does
one thing for Mac, and another for Win 95 and NT. I am running Win 98 (I
failed to mention this). Modifing the vi case statement to include Win 98
has solved the problem and I now have sound playing that doesn't wait! Why
the vi has changed from earlier versions I don't know.
Message 2 of 3
(2,835 Views)
In order to improve the chances of compatibility with additional versions of Windows, I chose to extract a 7-character string subset from the operating system name and wire that to the case selector. The [Windows 95, Windows NT] case was relabeled [Windows] which should cover all old and new versions until lvsound.dll becomes obsolete. The modified version of Snd Play Wave File.vi can be found in the attached lvsound.llb file.
0 Kudos
Message 3 of 3
(2,835 Views)