AC RMS measurement using custom software

Post any questions you may have about our current range of oscilloscopes
Post Reply
praetorian20
Newbie
Posts: 0
Joined: Fri Oct 22, 2010 4:14 pm

AC RMS measurement using custom software

Post by praetorian20 »

I'm using a 3206 USB scope to capture AC waveforms and need to calculate RMS values of these waveforms. I'm writing my own C++ software to do the data logging since the test is automated. I was wondering whether any software is available from Pico Technology that will allow me to do DSP analysis on the collected samples. It is quite possible that we many also want to run an FFT on the waveform data. From the looks of it, PS3000.dll only has functions that can sample and return data buffers, but it cannot do any math on the data.

Thanks in advance for your help,
Ashish.

gruntman
Advanced User
Advanced User
Posts: 109
Joined: Thu Sep 28, 2006 3:50 pm

Re: AC RMS measurement using custom software

Post by gruntman »

Ashish,

You are correct in your observation - the ps3000.dll only returns the raw data samples and there are no mathematical functions are built in. Do to the wide application use, it would be impractical for the software developers to include all functions into the .dll. However, with a bit of Googling you can easily find multiple forums with example source code that you can use to build your FFT. http://fftw.org/benchfft/ffts.html is a good starting location.

Regards,

Richard Boyd
Crag Technologies, Inc
http://www.pc-oscilloscopes.com

praetorian20
Newbie
Posts: 0
Joined: Fri Oct 22, 2010 4:14 pm

Re: AC RMS measurement using custom software

Post by praetorian20 »

gruntman wrote:Ashish,

You are correct in your observation - the ps3000.dll only returns the raw data samples and there are no mathematical functions are built in. Do to the wide application use, it would be impractical for the software developers to include all functions into the .dll. However, with a bit of Googling you can easily find multiple forums with example source code that you can use to build your FFT. http://fftw.org/benchfft/ffts.html is a good starting location.

Regards,

Richard Boyd
Crag Technologies, Inc
http://www.pc-oscilloscopes.com
Hi Richard,
Thanks for replying. I understand the impracticality of including math functionality into the driver DLL, what I was hoping for was that PicoTech would have a separate download that contained a library tailored to working with PicoScope captures and make my life easier. Oh well, FFTW it is I guess.

- Ashish

Post Reply