[PicoScope6403C] Function for getting RMS

Post your C and C++ discussions here
Post Reply
Gregor
Newbie
Posts: 0
Joined: Fri Dec 05, 2014 8:26 am

[PicoScope6403C] Function for getting RMS

Post by Gregor »

Hi,

as i need to measure the RMS i wanted to know if there is a function to get the RMS?
Or do i have to use the function GetValue(...) to get the values of the waveform and then calculate the RMS from those values?

How does the PicoScope 6 software calculate the RMS?

I am using the PicoScope 6403C with the PS6000.dll

BR
Gregor

Hitesh

Re: [PicoScope6403C] Function for getting RMS

Post by Hitesh »

Hello Gregor,

Unfortunately, there isn't an API function in the driver to calculate the RMS value.

You will need to use the p6000GetValues function in order to retrieve data from the device (assuming you are using a block mode capture) and then calculate the RMS value. Please note that the data returned is in ADC counts so you would need to convert it to volts or millivolts.

The PicoScope 6 software most likely uses the same approach as it will process data returned from the driver.

Regards,

Post Reply