Multifunction DAQ

cancel
Showing results for 
Search instead for 
Did you mean: 

How to get power readings such as Power & Displacement Power Factors, Active/Reactive/Apparent Power values using CompactDAQ?

Ok, I've been digging around a bit and found some VI's that I can probably dissect enough to get what I want, but thought I'd ask if there are some VI's out there that I'm missing that'll give me what I want... Just not wanting to reinvent the wheel if I don't have to.

 

I'm running LV2009 and have a CompactDAQ with a 9225 to measure high voltage and a 9239 that I have my amp clamps (Fluke i400s's) tied into.  I have a test stand that will automatically switch between 120, 208-240, 277VAC.  Currently I have a simple setup that's giving me RMS voltage and current.  I'm needing to add the other readings and found a VI ( Phase Power and Power Factor Correction.vi) that, once again, I can probably dissect but if I don't need to...  Can anyone point me to some VI's that'll do the job?  Any points in the right direction would be much appreciated!

Thanks!

Chad

0 Kudos
Message 1 of 14
(3,810 Views)

EPM addon for LabVIEW:

 

https://lumen.ni.com/nicif/us/codelvelectpwr/content.xhtml

 

-AK2DM

~~~~~~~~~~~~~~~~~~~~~~~~~~
"It’s the questions that drive us.”
~~~~~~~~~~~~~~~~~~~~~~~~~~
Message 2 of 14
(3,801 Views)

Thanks for the reply AnalogKid!  I've already downloaded that, but in reviewing it I did notice that there is a missing VI that's mentioned here... http://zone.ni.com/devzone/cda/tut/p/id/8198   That is not in my download... at least not that I can find.  Almost at the bottom they mention "Power Data.vi" that isn't there.  Looks like from the description that's what I need.  I'll have to drop them a note and see what's what.

Thanks!

Chad

0 Kudos
Message 3 of 14
(3,794 Views)

Hello chuggins143,

 

Power Data.vi is actually just Power.vi. There must have been a name change when upgrading this resource from other versions of LabVIEW. If you open this VI, you will notice that it has all the outputs mentioned on:

 

http://zone.ni.com/devzone/cda/tut/p/id/8198

 

Power.vi will output Real, Apparent and Reactive Power as well as the Power Factor.

 

It looks like this VI will do what you need. I hope this works for you. If not let us know.

 

 

 

 

Untitled.png

 

 

Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 4 of 14
(3,767 Views)

Hey Efrain G.

 

Thanks for the response!   Yep, I'd sent a message to my local guy and he pointed that out... What I'm running into now is what am I supposed to hook to it?  I currently have a DAQ Assistant module hooked to it with the data output just split and sent to each of the inputs on the Power.VI and it's giving me numbers, but the numbers are off... For example I'm showing a power value of like 15k when I'm only pulling about 380 watts.  I'm assuming the power output is in watts?  I'm gonna do a search for an example of the power VI being used and make sure I'm hooked up right... I'm currently on a different computer than the one I program on, but I'll see about getting my VI posted up here later.

Thanks,

Chad

0 Kudos
Message 5 of 14
(3,751 Views)

Ok, I've searched the website with no luck... How is one supposed to hook the DAQ Assistant VI to the EPM_Power VI???  The data comes out of the DAQA as a Dynamic Data type which if I just hook it into the voltage and amp inputs on the power VI then it gives me numbers that I know are wrong.  I've attached a sample of what I'm doing that is attached.  If someone would take a look and tell me where to look so I can learn to do this properly I'd really appreciate it!

Thanks!

Chad

0 Kudos
Message 6 of 14
(3,740 Views)
No problem, just use a "Convert from Dynamic Data VI". Use it to convert your data from Dynamic to Waveform data.
Regards,
Efrain G.
National Instruments
Visit http://www.ni.com/gettingstarted/ for step-by-step help in setting up your system.
0 Kudos
Message 7 of 14
(3,717 Views)

Ok, I must be smoking the cheap crack because any option I use to convert from dynamic data to waveform data still only gives me a single output, and no matter how I hook it up it still gives me several thousand watts.   I've tried every conversion option with unacceptable results... Anyone have an example of how this thing is supposed to be hooked up???  I'm sure it's something simple, but I'm just not seeing it.

Thanks!

Chad

0 Kudos
Message 8 of 14
(3,654 Views)
Ok, I'm trying to take this one step at a time... so I took the data feed directly from the DAQ Assistant and created a graphical display, and it is clearly showing two distinct signals... one for the voltage and another for the current draw.  Question is how do I separate them so I can feed the signals into the power data VI?  I know this has to be pretty simple, but I'm just not seeing it..
0 Kudos
Message 9 of 14
(3,648 Views)

Ok, It looks like I figured it out.... if someone knows a better way to do this or sees an issue with what I've done here please let me know!

Thanks!

Chad

0 Kudos
Message 10 of 14
(3,638 Views)