LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Generating A Sine Wave If True

Solved!
Go to solution

For this program, I need to generate a sine wave if some variable was true onto the analog output.  This is what this part of the program looks like http://i.imgur.com/JrZFOZY.png

 

Sine Wave: http://i.imgur.com/dfYtoL6.png

 

DAQ: http://i.imgur.com/66YLwbH.png

 

It'll work for a bit but then I get this error: http://i.imgur.com/uL1Fm5M.png


Anyone have a suggestion as to what the issue might be?  Specifically this is triggering whenever TRUE is passed in a second time - it'll work fine for the first TRUE input but then when we get TRUE being input again it doesn't work.  

0 Kudos
Message 1 of 3
(2,603 Views)
Solution
Accepted by topic author mwalk99

In the DAQ, try changing the Generation Mode to Finite Samples.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 2 of 3
(2,583 Views)

That worked perfectly.  Thank you so much! 

0 Kudos
Message 3 of 3
(2,566 Views)