10-04-2009 09:45 PM
Hey,
well I wrote this program and I feel that it may be having a memory leak can any of you guys/gals help me find out why?
the reason I am having these feelings is because every day or so my computer loses a gig of memory or so...
Thanks
10-04-2009 11:11 PM
I would suggest that instead of using the Snd Write Waveform VI you use its subVIs instead, and set up your VI so that the configuration is done before the loop starts, and you clear the sound configuration after the loop ends. You should also use the sound VIs from the palette. Look at the examples thatship with LabVIEW.
I can't figure out what you're doing with your front panel and your code. You appear to have a transparent tab control. Why? You also appear ready to to use a decoration as a button (based on the text "Click this to start a new Tempo". Again, why? What is the purpose of an LED to tell you the state of the switch? Can you not see the switch? Is the BPM control supposed to affect the sound? Are you simply trying to play a "beep"-like sound at a specific rate?
Other comments:
10-04-2009 11:37 PM
well as this is an example of the actual program I slapped together I will look to see if any of these things are causing my problem
thanks