Test and Measurement Forum

[PicoScope6403C] Function for getting RMS

Post your C and C++ discussions here

[PicoScope6403C] Function for getting RMS

Postby Gregor » Fri Dec 05, 2014 8:36 am

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
Gregor
Newbie
 
Posts: 0
Joined: Fri Dec 05, 2014 8:26 am

Re: [PicoScope6403C] Function for getting RMS

Postby Hitesh » Mon Dec 08, 2014 11:12 am

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,
Hitesh

Technical Specialist
Pico Technology
Hitesh
Site Admin
Site Admin
 
Posts: 2058
Joined: Tue May 31, 2011 3:43 pm
Location: St. Neots, Cambridgeshire


Return to C and C++

Who is online

Users browsing this forum: No registered users and 1 guest