Problem While playing .wav File

You can post your problem related to LabView Projects here. We will try our best to help you out.
Post Reply
Helen
Posts: 12
Joined: Sat Feb 18, 2017 8:46 am

Problem While playing .wav File

Post by Helen » Mon Mar 06, 2017 1:40 pm

Hello everyone,
I am having an issue while trying to play a .wav file. I want to do this in order to report an alarm.
I am using LabVIEW 2014 SP1 f3 in a 64 bits Win7 SP1 computer. The strange thing is that the Test1.vi, which is attached to this post, works as expected in every 64 bits Win7 SP1 computers. Nevertheless in a 32 bits Win7 SP1 computer a long time passes till the file can be played (40 seconds approximatelly or even more).

In order to play the file I used the Play Sound File.vi. I have realized that the problem is originated in the Call Library Function Node included in this VI (function int32_t PlaySoundFile(const int32_t devID, const LStrHandle path, const uint32_t waitDuration, uint32_t *task)Smiley Wink. It just take ages to be executed.

All computers were recently updated with the most recent windows updates. Nevertheless the problem persists. The final .exe application will be executed in the 32 bits PC. But under the current circumstamces it will not be possible to play any sounds.

Has anyone experienced such a problem? Some advice to solve this predicament?
Any piece of information to solve this issue is highly appreciated.

Post Reply