LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I alternate an output value between 2 settings at a prescribed rate?

I would like to simplify a sine wave into simply a saw tooth with a single point at the top and bottom of the wave. My external system cannot keep up with the rate I need for the sine wave so it is useless feeding it all that extra data. I basically want to set the value at say 50 wait a second then change it to 0 then wait a second then change it to 50... etc.

I don't know how to wire more than one thing to a channel. I assume I need a loop of some sort.

Thanx for the help.
0 Kudos
Message 1 of 2
(2,404 Views)
DO "Serach Examples" for Continuous Analog Output.
One of those examples "Function Generator"? Gives you a triangle wave output.

Crank down on the update rate, Bingo you are done.

If you care to look, you will find a loop on the diagram when you are done.

Ben
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 2 of 2
(2,404 Views)