ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Logarithmic graph

Hi all. 

I want to generate this type of signal but i don't have any idea how to do this. Can you help me, please?

Thanks !

0 Kudos
Message 1 of 6
(4,341 Views)

Do have a problem with programming or with the math to generate the data?

0 Kudos
Message 2 of 6
(4,309 Views)

i have a problem with both.

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

What have you tried so far?

0 Kudos
Message 4 of 6
(4,301 Views)

Hi Claudinho,

 

i have a problem with both.

Then maybe you should start with learning the math first?

Are you looking for something like this?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 5 of 6
(4,296 Views)

@Claudinho18 wrote:

i have a problem with both.


You also have a third problem: asking questions. 😄 Is this for continuous generation or a single-shot? What's the purpose? What's the desired datatype? Is this going to an analog output? What is the amplitude, frequency, sampling rate, and time constant?

 

A simple square wave with an exponential filter would probably do the trick. Here's a very simple example to get you started. (Probably needs a few tweaks for initial values, offset, amplitude, a, etc.))

 

ExpFilter.png

 

 

 

0 Kudos
Message 6 of 6
(4,285 Views)