Good evening everyone,
For a project, I have to simulate a synthesizer with a MyDAQ card. I want a sound to come out when I plug a digital input into 5V and it will stop when I unplug it.
I realized the attached program. When I plug in the wire, the boolean becomes "'True" and the beep starts. Except that the boolean does not resume the value "False" when I unplug the wire which means that the sound signal continues as long as I do not stop the defined program.
This only makes me for a sound signal, I tested with simple different calculations depending on the value of the boolean and for that, the program works very well! The boolean does indeed change value.
You will also find the joint program of my subVI which I use to generate the sound signal.
Thank you in advance for your answers
Good night