I think I have an answer
Each time you want to play a sound you have to write it into the buffer with SOWrite and then output it with SOStart.
I modified the example Wave File Player.vi that comes with LV so that you can play a sound conditionally each time you press a button.
To use this vi:
-load the .wav file
- press play
- each time you press 'play once' the sound is played because new values are placed in the buffer.
Try to change its mechanical action to switch when pressed, the sound is played continously because the output buffer continues to fill with new values (N.B. if you leave it pressed for a long time you run out of memory!!!)
Therefore, if you have two sounds A,B to be played: during A playing you can upload the buffer with B that will be pla
yed when A finishes without interruption.
Let me know if you need more help.
Regards,
Alberto Locatelli