Test and Measurement Forum

AC RMS measurement using custom software

Post any questions you may have about our current range of oscilloscopes

AC RMS measurement using custom software

Postby praetorian20 » Fri Oct 22, 2010 4:41 pm

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.
praetorian20
Newbie
 
Posts: 0
Joined: Fri Oct 22, 2010 4:14 pm

Re: AC RMS measurement using custom software

Postby gruntman » Fri Oct 22, 2010 6:51 pm

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
gruntman
Guru
Guru
 
Posts: 109
Joined: Thu Sep 28, 2006 3:50 pm

Re: AC RMS measurement using custom software

Postby praetorian20 » Fri Oct 22, 2010 7:56 pm

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
praetorian20
Newbie
 
Posts: 0
Joined: Fri Oct 22, 2010 4:14 pm


Return to USB PC Oscilloscopes

Who is online

Users browsing this forum: No registered users and 0 guests