From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

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
(2,711 Views)

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

0 Kudos
Message 2 of 6
(2,679 Views)

i have a problem with both.

0 Kudos
Message 3 of 6
(2,674 Views)

What have you tried so far?

0 Kudos
Message 4 of 6
(2,671 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
(2,666 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
(2,655 Views)