Hello
I'm writing a program that displays a series of digits one after another,
while playing a wav file of a certain length. The idea is that 9 digits are
displayed for one second each (1), then 5 seconds blank screen (2), then a
keypad appears (3). The wav file should be playing throughout (1) and (2),
but stop when (3) happens. In one frame of a sequence, I play the wav file
(and set it to don't wait til finish), and present the digits in a
subsequence. In the next frame, I present the keypad. The wav file is the
correct length for this timing to work out (14 seconds), but the only way I
can see to execute (3) at the right time, is to use a timer in the first
frame to wait for 14 seconds. This works on a fast computer, but
on slower
computers there is sometimes a delay before the wav file is started. As a
consequence, sometimes the keypad appears (3) before the wav file has
finished. Does anyone have an idea how to ensure that this never happens? I
thought about setting the wav play vi to 'wait-til-finish' but then it won't
be able to display the numbers simultaneously...
Any ideas would be greatly appreciated!
Thanks
-Jody