Counter/Timer

cancel
Showing results for 
Search instead for 
Did you mean: 

how to convert square wave to sawtooth wave

Hi all
i need your help. I have a square wave data in for of an array. Can any one of you suggest me a method to convert this data into saw tooth data. What i mean is that i want to convert a square wave to a saw tooth wave with minimum value 0. Your help is really appriciated. Thanks in advance.
Chauhan.
0 Kudos
Message 1 of 2
(4,689 Views)

Chauhan,

I would like to ask for a bit more information about your project and goal. How are you obtaining this square wave? Are you creating it in LabVIEW and then wanting to change it? Are you bringing in a square wave signal with a DAQ card? (Which one, what is your sample rate, how many samples per acquisition, etc?)

Is there a specific reason why you are looking to change a square wave that you currently have into a saw tooth wave? To do this, we do not have any pre-made VI’s, but you can make your own algorithm to do the conversion.

If you are looking to create another waveform (of type saw tooth) then LabVIEW has a Basic Function Generator.vi which will create a saw tooth wave for you.

David L.
Systems Engineering
National Instruments
0 Kudos
Message 2 of 2
(4,676 Views)