From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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,598 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,578 Views)

That worked perfectly.  Thank you so much! 

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