LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create different types of signals ?

Hello every one,

 

I try to create different types of signals like PWM with specific Ton and Toff,

sine wave, sawtooth and triangle wave, so if any one can help me or give me a blog to read.

 

Thanks in advance.

0 Kudos
Message 1 of 6
(3,199 Views)

Hi Mohammed,

 

have you had a look into the signal generation function palette?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 6
(3,178 Views)

Hello GerdW,

 

Yes i look at it at first of all and the following video "https://www.youtube.com/watch?v=56OgsDL4INc&t=491s" is wonderful, but i don't need to make it with function generator

 

i want to build it with loop iteration and some logic function.

0 Kudos
Message 3 of 6
(3,168 Views)

Your question is way too generic to provide an answer. Do you just want to simulate a few waveforms and display the new result when the parameters have changed or generate them continuously? Is this just a simulation or do you want to create an analog output? Whats your hardware? What's the rate and frequency? What's the purpose?

0 Kudos
Message 4 of 6
(3,143 Views)

hello altenbach,

 

I think it's not our first communication, i will answer your question i hope you then help me.

 

Do you just want to simulate a few waveforms and display the new result when the parameters have changed or generate them continuously?

 

I want both, like i want to generate square wave and manipulating the ton and to off of the wave.

 

Is this just a simulation or do you want to create an analog output?
it just for simulation.

 

What's the purpose?

it's about earning skills make things with different ways, like if i don't have function generator what will be the solution then ?.

0 Kudos
Message 5 of 6
(3,136 Views)

Yes, we communicated. So, what are you having problems with? Writing the program or figuring out the math to make the signal shape. Both are quite easy, so I would recommend to just try a few simple things and combine them into a bigger program later. (E.g. try a simple square wave in a while loop,) Also do some tutorials and look at the examples that come with labview. (Help...find examples).

 

If you get stuck, ask specific questions and show us what you tried.

0 Kudos
Message 6 of 6
(3,132 Views)