# LabVIEW

cancel
Showing results for
Did you mean:

## how to create a noisy signal in Labview with a given average amplitude and visualize it?

My question is very basic. I want to create an artificial noisy signal that for example looks like this link

This signal should simulate noise due to temperature and due to the environment such as a light source etc.

Now let's say I want the average of this signal to be 20 uV (or 200 nA). I want to give the maximum random amplitude to be no more than 200 uV ( or 2000 nA).

For the time (or sampling) I do not know but I like it to look like the link above and preferably I can change it as a user.

Would you please give me some suggestions how to do this? (or if this is super easy to do, do it for me in Labview)

I have 2015 version.

Message 1 of 13
(3,950 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

Simulate your theoretical signal and add Gaussian noise of the same size. (Signal generation palette). If clipping can occur, follow up with "in range and coerce".

Message 2 of 13
(3,937 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

And if you want to generate one point at a time, generate Gaussian noise using the box-muller transform from two random numbers 0...1 (the dice) and scale as needed.

Message 3 of 13
(3,931 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

... and to "visualize" it (whatever that means), use a graph (or chart as appropriate). Do you know the difference?

Message 4 of 13
(3,929 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

Thank you. Would you explain more especially about he clipping? I do not have Electrical Eng background.

Let's say my theoretical signal is a constant dc analog voltage and the value is 20uV. How should I represent it in Labview and how to add the Gaussian of the same size noise to it?

Message 5 of 13
(3,928 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

Yes, I have used graph and chart. It has been a long time I have not used labview. I just do simple things like connecting it to DAQ system and get the signal from a  sensor.

Message 6 of 13
(3,927 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

Is there any similar example or tutorial for this that I can follow it?

Message 7 of 13
(3,925 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

Gaussian noise has an infinite range and can go from ~-inf to ~+inf (with infinitely low probability). So if you simulate a signal from an a/d converter, all incoming signals outside the configured range will stick to the max or min of the range.

Message 8 of 13
(3,921 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

It is still not clear what you mean by "simulate". Do you just want to generate N points for further processing or do you want to simulate a continuous generation, one point at a time?

Message 9 of 13
(3,882 Views)

## Re: how to create a noisy signal in Labview with a given average amplitude and visualize it?

I want both. I want to get a continuous generation to show it in a graph in LabVIEW until I press stop. Then I want to be able to get a part (or the whole) of that generated data points or at least the last view of the graph preferably exported to excel file.

Message 10 of 13
(3,879 Views)