Getting Power From Voltage and Current in Measurement Studio

Updated Sep 5, 2018

Reported In

Software

  • Measurement Studio

Driver

  • NI-DAQmx

Programming Language

  • C# .NET
  • Visual Basic .NET

Issue Details

I am using my DAQmx device to measure voltage and current waveforms in my .NET Language with Measurement Studio and I would like to calculate the power. To do this I need to calculate the phase difference between the waveforms in order to use the power factor to calculate power. How do I measure the phase difference?

Solution

The best way is to use the AmplitudePhaseSpectrum method on each of the waveforms and subtract the difference. This will give you an array of phase difference between the waveforms.

Additional Information

For power calculations, NI usually recommends using LabVIEW with the Electrical Power Toolkit. You can use Measurement Studio to take your data and save it to an open file format and then read the file in with LabVIEW and use the power functions provided by the toolkit.

WAS THIS ARTICLE HELPFUL?

Not Helpful