10-13-2009 03:07 PM
Hello all,
I am working with a timed structure because I want to create a waveform that has the 1st half of a gaussian window used as a ramp, at which point it settles out into a steady sine wave. I have set the length of the 1st timed structure frame to be the offset time of the gaussian (which is when it is maximum) and at that point I want to stop that function and begin the 2nd frame of the structure. I cannot get the 1st frame to stop half way through its execution regardless of my time and priority settings. Does anyone have a clue how to get through this?
Thanks so much,
Tom
10-13-2009 03:52 PM
On the timed structures palette is a function called Stop Time Structure. You could try that. I haven't used it before with a timed sequence, but I suspect it would cause the entire sequence to stop as opposed to just the first frame as you are asking. In which case you might need to break that up into two timed sequences.
10-13-2009 03:57 PM
10-13-2009 09:23 PM
Mark,
The play waveform express VI defaults to your computer's internal sound card. The previously attached program does indeed play the sounds I am looking for; however, instead of playing half of the gaussian modulated sine and moving to the next frame, it plays the whole gaussian pattern, then plays an unmodulated sine. For some reason, the structure only serves to send an error to the next frame saying it took longer than the specified timeframe.
I also tried running just a timed loop for the half-gauss, but got the same results.
I really appreciate the help here gentlemen!
Sincerely,
Tom