Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202407

Re: displaying a signal in a waveform chart in "slow-motion"

$
0
0

I'm attaching a second Down-Sampling Demo that I think does a more useful job of illustrating the point.  This is the "Driver", which generates a 10Hz Sinusoid with amplitude 1 + Gaussian Noise with Amplitude 1, 1000 points sampled at 1KHz.  It feeds this into a DownSample Utility with a Decimation Factor (e.g. 20 means "combine 20 points into a new point, either by taking the Mean of the 20 points or simply choosing the first one"), returning two Down-Sampled Waveforms, plotting everything.

DEMO DownSample.png  Here's a Result:DEMO DownSample FP.png

Note that the Meaned Waveform has less "noise" (the Mean acts as a Low-Pass Filter), while the Decimated version "preserves the Noise".

 

The process of the Down-Sample Utility is straight-forward:

UTIL DownSample.png

The attached VIs are in LabVIEW 2015 (though the Snippets are LabVIEW 2016).

 

Bob Schor


Viewing all articles
Browse latest Browse all 202407

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>