LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Creating a customised triangle wave

Hello,
 
We are using Labview to create a signal to control the motion of a scanning galvo.  We would like to create a triangle wave so that the galvo scans back-and-forth uniformly, but to ensure smooth changes in momentum, we need the "corners" of the triangle wave to be slightly rounded.  What would be the best function to use to accomplish this?
 
I am using LabView 8.
 
Thank you,
Moor
0 Kudos
Message 1 of 2
(4,408 Views)
Hi Moor,

You can create a triangle wave by use the triangle waveform.vi. LabVIEW has a lot of options to create triangle waves. Searching LabVIEW for triangle wave will give you all your options for it. Smoothing out the corners can be done by using a waveform graph property node and selecting the smooth update. Here is a link to a kb that contains information to waveform property nodes. Here is also a link to another discussion forum who discusses on how to smooth waveforms.

I hope this helps!


Warm regards,
Karunya R
National Instruments
Applications Engineer
0 Kudos
Message 2 of 2
(4,390 Views)