I don't say this often, but your VI is a perfect example of when you need to start over. Your VI is a complete mess. I thought the first VI was bad. This one called wednesday1 is worse. Definitely
Rube Goldberg. You've got hidden controls all over the place, local variables all over the place, constants that seem arbitrary, and you're comparing boolean controls against a True/False constant, and feeding the result into a Boolean function, which is redundant! I have no idea why you thought that you needed the contraption that you built in order to just toggle the amplitude of a sine wave based on a duty cycle specified by two numeric controls, but my suggestion is to seriously reconsider your approach. Trying to debug the VI you wrote or even modify it is an exercise in futility.
It is not my intention to hurt your feelings on this, and I suspect the problem with your VI is the way you have the DAQmx stuff set up. Unfortunately, I don't have DAQmx installed so I can't check what you did with that, but sometimes the best help you can give someone is to tell them to start over.