LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FInding the DC offset

I have an incomming signal into labVIEW and I wanted to know how I can determine the DC offset (component ) of the graph. Any suggestions? Thanks
0 Kudos
Message 1 of 5
(6,499 Views)


@bmeperson wrote:
I have an incomming signal into labVIEW and I wanted to know how I can determine the DC offset (component ) of the graph. Any suggestions? Thanks\

Hi bmeperson,

      I've seen people collect an analog data-set, and take the average-value to be the "DC-offset".  If the incoming signal is an analog-acquisition, what kind of "referencing" are you using for the signal (is it a differential input)?

Cheers!

"Inside every large program is a small program struggling to get out." (attributed to Tony Hoare)
0 Kudos
Message 2 of 5
(6,478 Views)

I'm having a similar problem. My waveforms seems to be offset at a particular value (8 different waveforms, all are offset at different values). I want to know how I could obtain the DC part of it?

I'm using NRSE configuration.

 

Thanks.

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


@bmeperson wrote:
I have an incomming signal into labVIEW and I wanted to know how I can determine the DC offset (component ) of the graph. Any suggestions? Thanks


Hi bmeperson,

I think you need to define your situation a bit better.

Talking about a DC offset interpreted from the input suggests a standard waveform, such as sine wave.
If the wave form is NOT standard then what you need to do is capture the data when there is no signal (equivalent to your "0" level)
and that would be your offset.

An offset is always RELATIVE to something, and it is not clear from the question what the situation is.

Eagle Eye


0 Kudos
Message 4 of 5
(6,309 Views)
Once you've addressed the measurement issues, then you need to pay attention to the analysis.  As previous posters have pointed out, a simple average will give you the DC or offset component of your waveform -- provided that you're careful about this.  If you have a periodic waveform, you need to ensure that you are processing a number of samples equal to an integral number of cycles of the waveform in order for the mean calculation to return an accurate value.  On the other hand, if your signal is aperiodic or pseudo-random, then you can use an arbitrary number of samples and still get a reasonable average value.
0 Kudos
Message 5 of 5
(6,297 Views)