04-20-2014 11:17 AM
Hi,
Begineer here.
I'm using the tone block, and I can generate a tone signal, and my buzzer buzzes. However, it won't stop unless I stop the vi. I can't get the duration input to change anything. I might be missunderstanding its purpose, but I from what I understood, duration would be how long the tone would "play". Thanks, I have included a screenshot of my vi.
-Brian
04-20-2014 12:14 PM
If you remove the while loop, does it play for the specified amount of time?
Also, the millisecond time VI does not necessarily start when you start your VI and therefore, you can't reliably compare that to a fixed value like you do there.
My last bit of advice is to consider using LINX instead of LIFA. LIFA is no longer officially supported and LINX is its replacement and is in active development.